Direct activate XRv9k Smart License
Config call-home that active smart license
xrv9k should have some default call-home, in some scenario, need to add some extra configuration, as follow:
domain name cisco.com domain name-server x.x.x.x >>> dns server call-home service active contact smart-licensing http-proxy y.y.y.y port 80 >>> proxy server profile CiscoTAC-1 active destination transport-method http ! !
Add crypto config
conf crypto ca trustpool policy crl optional commit
Manage License and Smart account
Login to Cisco Software Central
If need to manage license, you can check License part; If need to manage Smart account and virtual account, check Administration part.
Create Token in License part
After book license by smart license, you will found have licese info in your smart account, then create the token in “Inventory”:
Activate license at XRv9k
Activate by “license smart register idtoken”
RP/0/RP0/CPU0:ios#license smart register idtoken OGViMTRiNWUtO... Fri Jun 21 12:08:50.243 UTC License command "license smart register idtoken " completed successfully. Registration process is in progress. Use the 'show license status' command to check the progress and result
Checked information
RP/0/RP0/CPU0:ios#show license all Fri Jun 21 12:16:55.077 UTC Smart Licensing Status ====================== Smart Licensing is ENABLED Registration: Status: REGISTERED Smart Account: <xxx> Virtual Account: GC SPR Initial Registration: SUCCEEDED on Fri Jun 21 2019 12:14:11 UTC <<< Last Renewal Attempt: None Next Renewal Attempt: Wed Dec 18 2019 12:14:14 UTC Registration Expires: Sat Jun 20 2020 12:09:07 UTC License Authorization: Status: AUTHORIZED on Fri Jun 21 2019 12:16:08 UTC Last Communication Attempt: SUCCEEDED on Fri Jun 21 2019 12:16:08 UTC Next Communication Attempt: Sun Jul 21 2019 12:16:07 UTC Communication Deadline: Thu Sep 19 2019 12:11:08 UTC License Usage ============== IOS XRv 9000 License for 1 vRouter Instantiation (IOS-XRv-9000-vRouter-VM): Description: IOS XRv 9000 License for 1 vRouter Instantiation Count: 1 Version: 1.0 Status: AUTHORIZED Product Information =================== UDI: PID:R-IOSXRV9000-IMG,SN:5532C297A71,SUVI:R-IOSXRV9000-IMG5532C297A71,UUID:xxx Agent Version ============= Smart Agent for Licensing: 2.2.0_rel/48 RP/0/RP0/CPU0:ios# RP/0/RP0/CPU0:ios#show license platform summary Fri Jun 21 12:21:17.271 UTC Current state: REGISTERED Collection: LAST: Fri Jun 21 2019 12:20:31 UTC NEXT: Fri Jun 21 2019 13:20:31 UTC Reporting: LAST: Fri Jun 21 2019 12:20:31 UTC NEXT: Sat Jun 22 2019 12:20:31 UTC Count Feature/Area Entitlement Last Next ================ =============================================== ==== ==== System Product: Right to Use 1 0 RP/0/RP0/CPU0:ios#sh license platform detail Fri Jun 21 12:23:37.197 UTC Current state: REGISTERED Collection: LAST: Fri Jun 21 2019 12:20:31 UTC NEXT: Fri Jun 21 2019 13:20:31 UTC Reporting: LAST: Fri Jun 21 2019 12:20:31 UTC NEXT: Sat Jun 22 2019 12:20:31 UTC Parameters: Collection interval: 60 minute(s) Reporting interval: 1440 minute(s) Throughput gauge: 1000000 Kbps <<< ================================================= Feature/Area 'system' Name: System Status: ACTIVE Flags: CONFIG THROUGHPUT [ 1] Name: Product: Right to Use Entitlement Tag: regid.2015-04.com.cisco.IOS-XRv-9000-vRouter-VM,1.0_fac302ad-69a9-40f3-90e3-8a9cd4092852 Count: Last reported: 1 Next report: 0 [ 2] Name: Foundation: IP/MPLS Basic (per 1 Gbps) Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-IPMPLS-Base-1G,1.0_15eacc5f-5e75-47e5-bc3d-283f95cc90bb Count: Last reported: 0 Next report: 0 [ 3] Name: Foundation: IP/MPLS Premium (per 1 Gbps) Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-IPMPLS-Premium-1G,1.0_1c90de6f-40fa-4191-9478-c004444888c6 Count: Last reported: 0 Next report: 0 [ 4] Name: Foundation: IP/MPLS/L3VPN Basic (per 1 Gbps) Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-IPMPLSL3VPN-Base-1G,1.0_93be46c0-06ec-429b-8792-07cca91719f2 Count: Last reported: 0 Next report: 0 [ 5] Name: Foundation: IP/MPLS/L3VPN Premium (per 1 Gbps) Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-IPMPLSL3VPN-Premium-1G,1.0_30e1d81d-ebbb-4acd-aad2-4369dd177293 Count: Last reported: 0 Next report: 0 [ 6] Name: Feature: BGP Scale up to 4M Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-Route-Scale-T1,1.0_a17c279a-555f-4f91-9894-c260415aa45c Count: Last reported: 0 Next report: 0 [ 7] Name: Feature: BGP Scale up to 10M Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-Route-Scale-T2,1.0_b99ecdc3-7ec8-475d-a273-05085c2ce753 Count: Last reported: 0 Next report: 0 [ 8] Name: Feature: BGP Scale unlimited Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-Route-Scale-T3,1.0_7d8c817f-39ca-4f11-855e-0aa43f1d6634 Count: Last reported: 0 Next report: 0 [ 9] Name: Feature: Lawful Intercept Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-LI-RTU,1.0_883adb83-423d-4f57-a3f2-8709e73c7b40 Count: Last reported: 0 Next report: 0 [10] Name: Feature: QoS (per 1Gbps) Entitlement Tag: regid.2015-05.com.cisco.IOS-XRv-9000-vRouter-QoS-1G,1.0_5c2c4fa7-f61c-420e-9cfb-d556adaf90fd Count: Last reported: 0 Next report: 0 [11] Name: Feature: LMA (8K bindings) Entitlement Tag: regid.2017-06.com.cisco.S-XR-SESSION-8K,1.0_f45c5ad8-5341-4d8b-ad28-fcc1ef0f548d Count: Last reported: 0 Next report: 0 [12] Name: Feature: BNG (8000 Subscriber Sessions) Entitlement Tag: regid.2014-06.com.cisco.A9K-BNG-LIC-8K,1.0_6af262eb-cbb6-4bf6-8581-5a4164d99661 Count: Last reported: 0 Next report: 0 [13] Name: Feature: BNG Advanced (8000 Subscriber Sessions) Entitlement Tag: regid.2015-03.com.cisco.A9K-BNG-ADV-8K,1.0_653b7032-1b8b-4371-a097-893cf2e42302 Count: Last reported: 0 Next report: 0
Token Expired no any business effective
For the token only be used during registration, in order word, combin smart license and platform. It is not required to maintain registration. An expired token will have no effect on your registration. As follow example that token expired, license is ok. So license expired notification only for license, not for token.
RP/0/RP0/CPU0:iosxrv-2#sh int gi0/0/0/2 | i 30 s Tue Jun 25 12:53:38.896 UTC 30 second input rate 3000 bits/sec, 3 packets/sec 30 second output rate 683000 bits/sec, 90 packets/sec. <<< if license not activate, 200k RP/0/RP0/CPU0:iosxrv-2# RP/0/RP0/CPU0:iosxrv-2#show license summar Tue Jun 25 12:53:50.668 UTC Smart Licensing is ENABLED Registration: Status: REGISTERED Smart Account: InternalTestDemoAccount16.cisco.com Virtual Account: GC SPR Last Renewal Attempt: None Next Renewal Attempt: Wed Dec 18 2019 12:14:13 UTC License Authorization: Status: AUTHORIZED on Mon Jun 24 2019 14:47:52 UTC Last Communication Attempt: SUCCEEDED Next Communication Attempt: Wed Jul 24 2019 14:47:51 UTC License Usage: License Entitlement tag Count Status --------------------------------------------------------------- IOS XRv 9000 License for 1 vRouter Instantiation(IOS-XRv-9000-vRouter-VM) 1 AUTHORIZED RP/0/RP0/CPU0:iosxrv-2#! RP/0/RP0/CPU0:iosxrv-2#! RP/0/RP0/CPU0:iosxrv-2#show license platform summary Tue Jun 25 12:56:40.441 UTC Current state: REGISTERED Collection: LAST: Tue Jun 25 2019 12:20:31 UTC NEXT: Tue Jun 25 2019 13:20:31 UTC Reporting: LAST: Tue Jun 25 2019 12:20:31 UTC NEXT: Wed Jun 26 2019 12:20:31 UTC Count Feature/Area Entitlement Last Next ================ =============================================== ==== ==== System Product: Right to Use 1 0 RP/0/RP0/CPU0:iosxrv-2#show license platform detail Tue Jun 25 12:56:49.345 UTC Current state: REGISTERED Collection: LAST: Tue Jun 25 2019 12:20:31 UTC NEXT: Tue Jun 25 2019 13:20:31 UTC Reporting: LAST: Tue Jun 25 2019 12:20:31 UTC NEXT: Wed Jun 26 2019 12:20:31 UTC Parameters: Collection interval: 60 minute(s) Reporting interval: 1440 minute(s) Throughput gauge: 1000000 Kbps ================================================= Feature/Area 'system' Name: System Status: ACTIVE Flags: CONFIG THROUGHPUT [ 1] Name: Product: Right to Use Entitlement Tag: regid.2015-04.com.cisco.IOS-XRv-9000-vRouter-VM,1.0_fac302ad-xxx Count: Last reported: 1 Next report: 0 ...... RP/0/RP0/CPU0:iosxrv-2# RP/0/RP0/CPU0:iosxrv-2#show license all Tue Jun 25 12:57:33.849 UTC Smart Licensing Status ====================== Smart Licensing is ENABLED Registration: Status: REGISTERED Smart Account: InternalTestDemoAccount16.cisco.com Virtual Account: GC SPR Initial Registration: SUCCEEDED on Fri Jun 21 2019 12:14:11 UTC Last Renewal Attempt: None Next Renewal Attempt: Wed Dec 18 2019 12:14:14 UTC Registration Expires: Sat Jun 20 2020 12:09:07 UTC License Authorization: Status: AUTHORIZED on Mon Jun 24 2019 14:47:52 UTC Last Communication Attempt: SUCCEEDED on Mon Jun 24 2019 14:47:52 UTC Next Communication Attempt: Wed Jul 24 2019 14:47:52 UTC Communication Deadline: Sun Sep 22 2019 14:42:53 UTC License Usage ============== IOS XRv 9000 License for 1 vRouter Instantiation (IOS-XRv-9000-vRouter-VM): Description: IOS XRv 9000 License for 1 vRouter Instantiation Count: 1 Version: 1.0 Status: AUTHORIZED Product Information =================== UDI: PID:R-IOSXRV9000-IMG,SN:5532C297A71,SUVI:R-IOSXRV9000-IMG5532C297A71,UUID:xxx Agent Version ============= Smart Agent for Licensing: 2.2.0_rel/48
版权声明:
本文链接:Direct activate XRv9k Smart License
版权声明:本文为原创文章,仅代表个人观点,版权归 Frank Zhao 所有,转载时请注明本文出处及文章链接