Friday, November 4, 2022

Cisco Device Led Conversion (DLC) from Traditional to Smart License

Here's a link regarding Cisco Device Led Conversion (DLC).

In a previous post, I've mentioned about the Cisco Smart License in a Cisco ISR 4K router. Below are the steps in preparing a Cisco ISR 4K router with no Smart License and convert its Traditional Product Activation Key (PAK) License to Smart License using DLC.


1. Perform the ROMMON firmware and IOS-XE Upgrade:

In this scenario, I got a Cisco ISR 4K router running IOS-XE 16.6 which is doesn't have the Smart License enabled yet and has a Unified Communication (UC) PAK license installed. The target code is IOS-XE 16.12 which requires a Smart License and I'll perform a DLC on the UC license.

Refer to this link for the ROMMON and IOS-XE software code compatibility matrix.


4K##show version
Cisco IOS XE Software, Version 16.06.05
Cisco IOS Software [Everest], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.6.5, RELEASE SOFTWARE (fc3)

Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2018 by Cisco Systems, Inc.
Compiled Mon 10-Dec-18 13:10 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2018 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: IOS-XE ROMMON

4K uptime is 3 weeks, 6 days, 10 hours, 35 minutes
Uptime for this control processor is 3 weeks, 6 days, 10 hours, 36 minutes
System returned to ROM by Reload Command at 15:31:00 UTC Tue Jul 26 2022
System restarted at 15:34:06 UTC Tue Jul 26 2022
System image file is "bootflash:isr4400-universalk9.16.06.05.SPA.bin"
Last reload reason: Reload Command


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


Suite License Information for Module:'esg'

--------------------------------------------------------------------------------
Suite                 Suite Current         Type           Suite Next reboot     
--------------------------------------------------------------------------------
FoundationSuiteK9     None                  None           None                  
securityk9
appxk9

AdvUCSuiteK9          None                  None           None                  
uck9
cme-srst
cube


Technology Package License Information:

-----------------------------------------------------------------
Technology    Technology-package           Technology-package
              Current       Type           Next reboot  
------------------------------------------------------------------
appxk9           None             None             None
uck9             uck9             Permanent        uck9
securityk9       None             None             None
ipbase           ipbasek9         None             ipbasek9

cisco ISR4431/K9 (1RU) processor with 1795979K/6147K bytes of memory.
Processor board ID FCZ26181234
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
7081983K bytes of flash memory at bootflash:.
0K bytes of WebUI ODM Files at webui:.

Configuration register is 0x2102


I skipped the ROMMON firmware upgrade since the 4K router is already on the latest 17.x firmware and it wouldn't allow you perform a ROMMON 17.x > 16.x code "downgrade."

For reference, the ROMMON upgrade command is issued in privileged EXEC mode.

4K#upgrade rom-monitor filename bootflash:isr4400_rommon_1612_2r_SPA.pkg all


4K#show platform
Chassis type: ISR4431/K9

Slot      Type                State                 Insert time (ago)
--------- ------------------- --------------------- -----------------
0         ISR4431/K9          ok                    3w6d          
0/0      ISR4431-X-4x1GE     ok                    3w6d          
0/4      PVDM4-128           ok                    3w6d          
R0        ISR4431/K9          ok, active            3w6d          
F0        ISR4431/K9          ok, active            3w6d          
P0        PWR-4430-AC         ok                    3w6d          
P1        PWR-4430-AC         ok                    3w6d          
P2        ACS-4430-FANASSY    ok                    3w6d          

Slot      CPLD Version        Firmware Version                        
--------- ------------------- ---------------------------------------
0         19042950            17.6.1                              
R0        19042950            17.6.1                              
F0        19042950            17.6.1  


You change the boot variable with the boot system flash bootflash:<IOS-XE.bin> command and issue a reload afterwards.

4k#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
4K(config)#no boot system    // A QUICK WAY TO REMOVE MUTIPLE BOOT VARIABLES
4K(config)#boot system flash bootflash:isr4400-universalk9.16.12.07.SPA.bin
4K(config)#boot system flash bootflash:isr4400-universalk9.16.06.05.SPA.bin
4K(config)#end
4K#write memory
Building configuration...
[OK]

4K#show run | include boot
boot-start-marker
boot system flash bootflash:isr4400-universalk9.16.12.07.SPA.bin
boot system flash bootflash:isr4400-universalk9.16.06.05.SPA.bin

boot-end-marker
no ip bootp server
license boot level uck9
diagnostic bootup level minimal

4K#reload
Proceed with reload? [confirm] <HIT ENTER>

<SNIP>

The Smart License status became Unregistered and UC license changed to an Eval mode which is valid for 90 days.


4K#show version
Cisco IOS XE Software, Version 16.12.07
Cisco IOS Software [Gibraltar], ISR Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.12.7, RELEASE SOFTWARE (fc2)

Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2022 by Cisco Systems, Inc.
Compiled Wed 02-Feb-22 11:11 by mcpre


Cisco IOS-XE software, Copyright (c) 2005-2022 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.


ROM: (c)

4K uptime is 3 minutes
Uptime for this control processor is 4 minutes
System returned to ROM by Reload Command at 02:16:02 UTC Tue Aug 23 2022
System image file is "bootflash:isr4400-universalk9.16.12.07.SPA.bin"
Last reload reason: Reload Command


This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.

A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html

If you require further assistance please contact us by sending email to
export@cisco.com.


Suite License Information for Module:'esg'

--------------------------------------------------------------------------------
Suite                 Suite Current         Type           Suite Next reboot     
--------------------------------------------------------------------------------
FoundationSuiteK9     None                  Smart License  None                  
securityk9
appxk9
AdvUCSuiteK9          None                  Smart License  None                  
uck9
cme-srst
cube


Technology Package License Information:

-----------------------------------------------------------------
Technology    Technology-package           Technology-package
              Current       Type           Next reboot  
------------------------------------------------------------------
appxk9           None             Smart License    None
uck9             uck9             Smart License    uck9
securityk9       None             Smart License    None
ipbase           ipbasek9         Smart License    ipbasek9

The current throughput level is 500000 kbps


Smart Licensing Status: UNREGISTERED/EVAL MODE

cisco ISR4431/K9 (1RU) processor with 1694668K/6147K bytes of memory.
Processor board ID FCZ26181234
4 Gigabit Ethernet interfaces
32768K bytes of non-volatile configuration memory.
4194304K bytes of physical memory.
7081983K bytes of flash memory at bootflash:.
0K bytes of WebUI ODM Files at webui:.

Configuration register is 0x2102


4K#show license all
Smart Licensing Status
======================

Smart Licensing is ENABLED

Registration:
  Status: UNREGISTERED
  Export-Controlled Functionality: NOT ALLOWED

License Authorization:
  Status: EVAL MODE
  Evaluation Period Remaining: 89 days, 23 hours, 55 minutes, 45 seconds

License Conversion:
  Automatic Conversion Enabled: False
  Status: Not started


Export Authorization Key:
  Features Authorized:
    <none>

Utility:
  Status: DISABLED

Data Privacy:
  Sending Hostname: yes
    Callhome hostname privacy: DISABLED
    Smart Licensing hostname privacy: DISABLED
  Version privacy: DISABLED

Transport:
  Type: Callhome

License Usage
==============

(ISR_4400_UnifiedCommunication):
  Description:
  Count: 1
  Version: 1.0
  Status: EVAL MODE
  Export status: NOT RESTRICTED

Product Information
===================
UDI: PID:ISR4431/K9,SN:FOC26161234

Agent Version
=============
Smart Agent for Licensing: 4.8.18_rel/86

Reservation Info
================
License reservation: DISABLED

 

2. Configure Call Home:

I'm using the 4K dedicated GigabitEthernet0 Out-of-Band (OOB) interface which has the default Mgmt-intf  VRF. I'm also using an On-Prem Cisco Smart Software Manager (CSSM) Smart License server. The config also works with the Cisco Smart License public portal over the Internet. Below are some additional  Call-Home config.


ip name-server vrf Mgmt-intf <PRIMARY DNS IP> <SECONDARY DNS IP>
ip domain lookup
ip domain lookup vrf Mgmt-intf source-interface GigabitEthernet0
ip http client source-interface GigabitEthernet0

license smart url https://<CSSM FQDN>/Transportgateway/services/DeviceRequestHandler
license smart transport smart

call-home
 vrf Mgmt-intf
 source-interface GigabitEthernet0
 profile "CiscoTAC-1"
  destination address http https://<CSSM FQDN>/Transportgateway/service/DeviceRequestHandler

 

3. Generate a Product Instance Registration token in CSSM and apply in ISR 4K


Generate a Product Instance Registration token in CSSM, go to Inventory > General > New Token.

Issue the license smart register idtoken <CSSM TOKEN> force command in privileged EXEC.

4K#license smart register idtoken <CSSM TOKEN> force
Registration process is in progress. Use the 'show license status' command to check the progress and result

Aug 23 03:40:17.560 UTC: %CRYPTO_ENGINE-5-KEY_DELETED: A key named SLA-KeyPair2 has been removed from key storage
Aug 23 03:40:18.476 UTC: %CRYPTO_ENGINE-5-KEY_ADDITION: A key named SLA-KeyPair2 has been generated or imported by crypto-engine
Aug 23 03:40:18.529 UTC: %PKI-6-CONFIGAUTOSAVE: Running configuration saved to NVRAM
Aug 23 03:40:23.960 UTC: %SYS-2-PRIVCFG_ENCRYPT: Successfully encrypted private config file
Aug 23 03:40:24.776 UTC: %PKI-3-CERTIFICATE_INVALID: Certificate chain validation has failed.
Aug 23 03:40:34.000 UTC: %PKI-3-CERTIFICATE_INVALID: Certificate chain validation has failed.
Aug 23 03:40:34.002 UTC: %SMART_LIC-3-AGENT_REG_FAILED: Smart Agent for Licensing Registration with the Cisco Smart Software Manager (CSSM) failed: No detailed information given
Aug 23 03:40:34.002 UTC: %SMART_LIC-3-COMM_FAILED: Communications failure with the Cisco Smart Software Manager (CSSM) : No detailed information given
Aug 23 03:40:40.003 UTC: %PKI-3-HOSTNAME_RESOLVE_ERR: Failed to resolve HOSTNAME/IPADDRESS : www.cisco.com
Aug 23 03:40:40.003 UTC: %PKI-3-CRL_FETCH_FAIL: CRL fetch for trustpoint SLA-TrustPoint failed
                      Reason : Failed to fetch IP address from :www.cisco.com
Aug 23 03:41:05.800 UTC: %PKI-3-CERTIFICATE_INVALID: Certificate chain validation has failed.
Aug 23 03:41:11.803 UTC: %PKI-3-HOSTNAME_RESOLVE_ERR: Failed to resolve HOSTNAME/IPADDRESS : www.cisco.com
Aug 23 03:41:11.803 UTC: %PKI-3-CRL_FETCH_FAIL: CRL fetch for trustpoint SLA-TrustPoint failed
                      Reason : Failed to fetch IP address from :www.cisco.com


If you get a CRL log error, apply this workaround command and apply the registration token again:


crypto pki trustpoint SLA-TrustPoint
 revocation-check none



4K#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
4K(config)#crypto pki trustpoint SLA-TrustPoint
4K(ca-trustpoint)#revocation-check ?
  crl   Revocation check by CRL
  none  Ignore revocation check
  ocsp  Revocation check by OCSP

4K(ca-trustpoint)#revocation-check none


4K#license smart register idtoken <CSSM TOKEN> force
Registration process is in progress. Use the 'show license status' command to check the progress and result

Aug 23 03:43:11.806 UTC: %CRYPTO_ENGINE-5-KEY_DELETED: A key named SLA-KeyPair has been removed from key storage
Aug 23 03:43:12.103 UTC: %CRYPTO_ENGINE-5-KEY_ADDITION: A key named SLA-KeyPair has been generated or imported by crypto-engine
Aug 23 03:43:12.154 UTC: %PKI-4-NOCONFIGAUTOSAVE: Configuration was modified.  Issue "write memory" to save new IOS PKI configuration
Aug 23 03:43:12.404 UTC: %SMART_LIC-5-COMM_RESTORED: Communications with the Cisco Smart Software Manager (CSSM) restored
Aug 23 03:43:12.517 UTC: %SMART_LIC-6-EXPORT_CONTROLLED: Usage of export controlled features is allowed
Aug 23 03:43:12.517 UTC: %SMART_LIC-6-AGENT_REG_SUCCESS: Smart Agent for Licensing Registration successful. udi PID:ISR4431/K9,SN:FOC26161234
Aug 23 03:43:14.932 UTC: %SMART_LIC-3-OUT_OF_COMPLIANCE: One or more entitlements are out of compliance
Aug 23 03:43:14.932 UTC: %SMART_LIC-5-END_POINT_RESET: End Point list reset
Aug 23 03:43:14.933 UTC: %SMART_LIC-6-AUTH_RENEW_SUCCESS: Authorization renewal successful. State=OOC for udi PID:ISR4431/K9,SN:FOC26161234
Aug 23 03:43:45.421 UTC: %SMART_LIC-6-AUTH_RENEW_SUCCESS: Authorization renewal successful. State=OOC for udi PID:ISR4431/K9,SN:FOC26161234
Aug 23 03:44:15.817 UTC: %SMART_LIC-6-AUTH_RENEW_SUCCESS: Authorization renewal successful. State=OOC for udi PID:ISR4431/K9,SN:FOC26161234

Issue a show license summary to check the Smart License status. Notice the UC Smart License status is Out of Compliance. This is because there's no UC Smart License balance available in the On-Prem CSSM.


4K#show license summary
Smart Licensing is ENABLED

Registration:
  Status: REGISTERED
  Smart Account: MY-ACCOUNT

  Virtual Account: Default
  Export-Controlled Functionality: ALLOWED
  Last Renewal Attempt: None
  Next Renewal Attempt: Feb 19 03:43:11 2023 UTC

License Authorization:
  Status: OUT OF COMPLIANCE
  Last Communication Attempt: SUCCEEDED
  Next Communication Attempt: Aug 23 19:37:21 2022 UTC

License Usage:
  License                 Entitlement tag               Count Status
  -----------------------------------------------------------------------------
  ISR_4400_UnifiedComm... (ISR_4400_UnifiedCommun...)       1 OUT OF COMPLIANCE



3. Initiate Device Led Conversion (DLC)

The final step is to issue the license smart conversion start privileged EXEC command to start the DLC conversion process.

4K#license smart conversion start?
  clear       Clear
  conversion  Start or stop a license conversion
  deregister  deregister this device
  export      Get or return an export authorization key
  factory     Execute Smart Licensing Factory commands
  register    register token id
  renew       Smart License renew
  send        license smart send

4K#license smart conversion ?
  start  Start a manual license conversion
  stop   Stop a license conversion that pending retry because of a communications failure

4K#license smart conversion start
Aug 23 03:52:40.593 UTC: %SMART_LIC-6-CONVERT_START: Smart License Conversion has started

You can check the DLC status with the show platform software license dlc command. This would take around an hour to complete per the Cisco Smart License doc.


4K#show platform software license dlc
Index 1  Feature:           uck9
    Permanent License:  1
    EVAL RTU License:   0
    RTU License:        0
    Paper License:      0

DLC Process Status: Not Complete
 

If you go to CSSM Inventory > Product Instances, you'll see an Alert that DLC has been requested and a Synchronization is required. 


If the DLC status is still not yet completed after waiting for an hour, you can perform a "force update" in the On-Prem CSSM. Go to CSSM Admin Workspace > click Synchronization.


Select the Virtual Account > click Sync Selected. 



Select again the Virtual Account > click Actions > Network Synchronization > Standard Synchronization Now.

 

Notice under Alerts status changed to Synchronization Successful.


You can verify if the DLC and License migration is complete in On-Prem CSSM > go to License Tab > check the Available to Use and In Use. Notice there's a ISR_4400_UnifiedCommunication Smart License that would appeared with a Available to Use and In Use balance count of 1.

4K#show platform software license dlc

Index 1  Feature:           uck9

        Permanent License:  1

        EVAL RTU License:   0

        RTU License:        0

        Paper License:      0

 

DLC Process Status: Completed

 

DLC Conversion Status: SUCCESS


Saturday, October 1, 2022

Configure Link Bundling (Bundle-Ether) and BFD in Cisco NCS 540 Router

Here's a link to configure Link Bundling or a Bundle-Ether interface in a Cisco NCS 540 router. 

You first create a Bundle-Ether (BE) interface and then logically bundle ports.

RP/0/RP0/CPU0:NCS540#configure terminal

RP/0/RP0/CPU0:NCS540(config)#interface ?

  BVI              Bridge-Group Virtual Interface | short name is BV

  Bundle-Ether     Aggregated Ethernet interface(s) | short name is BE

  Bundle-POS       Aggregated POS interface(s) | short name is BP

  FastEthernet     FastEthernet/IEEE 802.3 interface(s) | short name is Fa

  FiftyGigE        FiftyGigabitEthernet/IEEE 802.3 interface(s) | short name is Fi

  FortyGigE        FortyGigabitEthernet/IEEE 802.3 interface(s) | short name is Fo

  FourHundredGigE  FourHundredGigabitEthernet/IEEE 802.3 interface(s) | short name is FH

  GCC0             OTN GCC0 interface(s) | short name is G0

  GCC1             OTN GCC1 interface(s) | short name is G1

  GCC2             OTN GCC2 interface(s) | short name is G2

  GigabitEthernet  GigabitEthernet/IEEE 802.3 interface(s) | short name is Gi

  HundredGigE      HundredGigabitEthernet/IEEE 802.3 interface(s) | short name is Hu

  Loopback         Loopback interface(s) | short name is Lo

  MgmtEth          Ethernet/IEEE 802.3 interface(s) | short name is Mg

  Multilink        Multilink network interface(s) | short name is Ml

  Null             Null interface | short name is Nu

  POS              Packet over SONET/SDH network interface(s) | short name is POS

  SRP              SRP interface(s) | short name is SRP

  Serial           Serial network interface(s) | short name is Se

  TenGigE          TenGigabitEthernet/IEEE 802.3 interface(s) | short name is Te

  TwentyFiveGigE   TwentyFiveGigabitEthernet/IEEE 802.3 interface(s) | short name is TF

  TwoHundredGigE   TwoHundredGigabitEthernet/IEEE 802.3 interface(s) | short name is TH

  preconfigure     Specify a preconfig

  tunnel-ip        GRE/IPinIP Tunnel Interface(s)

  tunnel-ipsec     IPSec Tunnel interface(s) | short name is tsec

  tunnel-mte       MPLS Traffic Engineering P2MP Tunnel interface(s) | short name is tmte

  tunnel-te        MPLS Traffic Engineering Tunnel interface(s) | short name is tt

  tunnel-tp        MPLS Transport Protocol Tunnel interface | short name is tp

RP/0/RP0/CPU0:NCS540(config)#interface Bundle-Ether ?

  <1-65535> 

RP/0/RP0/CPU0:NCS540(config)#interface Bundle-Ether 1

RP/0/RP0/CPU0:NCS540(config-if)#?

  address-family      AFI/SAFI configuration

  apply-group         Apply configuration from a group

  apply-group-append  Append apply-group configuration from a group

  apply-group-remove  Remove a group from apply-group configuration

  arp                 Configure Address Resolution Protocol

  auto-ip-ring        Auto-IP-Ring interface configuration commands

  bandwidth           Set the bandwidth of an interface

  bfd                 BFD configuration on a bundle interface

  bundle              Bundle interface commands

  capture             capture interface packets (platform)(cisco-support)

  clear               Clear the uncommitted configuration

  commit              Commit the configuration changes to running

  dampening           configure state dampening on the given interface

  describe            Describe a command without taking real actions

  description         Set description for this interface

  do                  Run an exec command

  dot1q               802.1Q VLAN configuration

  end                 Exit from configure mode

  ethernet            Ethernet per-interface configuration commands

  ethernet-services   Ethernet related services

  exclude-group       Exclude apply-group configuration from a group

  exclude-item        Negate a command or set its defaults

  exit                Exit from this submode

  flow                Netflow configuration

  ipv4                IPv4 interface subcommands

  ipv6                IPv6 interface subcommands

  l2transport         Enable Layer 2 transport and enter its configuration submode

  lacp                Bundle interface LACP commands

  lldp                LLDP interface configuration commands

  load-interval       Specify interval for load calculation for an interface

  local-proxy-arp     Enable local proxy ARP

  logging             Per-interface logging configuration

  mac-accounting      Start per MAC address accounting on the interface

  mac-address         Set the Mac address(xxxx.xxxx.xxxx) on an interface

  mlacp               Multi-chassis LACP per-interface commands

  monitor-session     Monitor-session configuration commands

  mpls                MPLS interface subcommands

  mtu                 Set the MTU on an interface

  no                  Negate a command or set its defaults

  proxy-arp           Enable proxy ARP

  ptp                 Precision Time Protocol config

  pwd                 Commands used to reach current submode

  root                Exit to the global configuration mode

  service-policy      Configure a service policy

  show                Show contents of configuration

  shutdown            shutdown the given interface

  validate            Validate configuration changes without attempting to commit

  vrf                 Set VRF in which the interface operates

RP/0/RP0/CPU0:NCS540(config-if)#

RP/0/RP0/CPU0:NCS540(config-if)#ipv4 address 10.1.1.2 255.255.255.252    // LAYER 3 BE PORT

RP/0/RP0/CPU0:NCS540(config-if)#bundle ?

  lacp-delay      Set the lacp-delay timeout for members of this bundle

  lacp-fallback   Set the lacp-fallback for members of this bundle

  load-balancing  Load balancing commands on a bundle

  logging         logging events for the members of this bundle

  maximum-active  Set a limit on the number of links that can be active

  minimum-active  Set the minimum criteria for the bundle to be active

  shutdown        Bring all links in the bundle down to Standby state

  wait-while      Set the wait-while timeout for members of this bundle

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active ?

  bandwidth  Set the bandwidth (in kbps) needed to bring up this bundle

  links      Set the number of active links needed to bring up this bundle

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active bandwidth ?

  <1-4294967295>  Bandwidth needed to bring up this bundle (in kbps)

  gbps            Set the bandwidth in gbps

  kbps            Set the bandwidth in kbps

  mbps            Set the bandwidth in mbps

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active ?

  bandwidth  Set the bandwidth (in kbps) needed to bring up this bundle

  links      Set the number of active links needed to bring up this bundle

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active links ?

  <1-64>  Number of active links needed to bring up this bundle

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active links 2

RP/0/RP0/CPU0:NCS540(config-if)#bundle minimum-active bandwidth 1000000

RP/0/RP0/CPU0:NCS540(config-if)# no shutdown

RP/0/RP0/CPU0:NCS540(config-if)#

RP/0/RP0/CPU0:NCS540(config-if)#do sh run interface Bundle-Ether 1  

Tue Aug 17 07:11:21.234 UTC

% No such configuration item(s)     // NEED TO APPLY commit

 

RP/0/RP0/CPU0:NCS540(config-if)#show config

Tue Aug 17 07:11:41.841 UTC

Building configuration...

!! IOS XR Configuration 7.x

cdp

interface Bundle-Ether1

 ipv4 address 10.1.1.2 255.255.255.252

 no shutdown

 bundle minimum-active bandwidth 1000000

 bundle minimum-active links 2

 

 

Bundle individual ports to the corresponding BE bundle ID number

 

RP/0/RP0/CPU0:NCS540(config-if)#interface GigabitEthernet0/0/0/1

RP/0/RP0/CPU0:NCS540(config-if)#bundle ?

  id             Add the port to an aggregated interface.

  port-priority  Priority for this port. Lower value is higher priority.

RP/0/RP0/CPU0:NCS540(config-if)#bundle id ?

  <1-65535>  Identifier of the bundle to add the port to.

RP/0/RP0/CPU0:NCS540(config-if)#bundle id 1 ?

  mode  Specify the mode of operation.

  <cr> 

RP/0/RP0/CPU0:NCS540(config-if)#bundle id 1 mode ?

  active   Run LACP in active mode over the port.

  inherit  Run LACP as configured in bundle.

  on       Do not run LACP over the port.

  passive  Run LACP in passive mode over the port.

RP/0/RP0/CPU0:NCS540(config-if)#bundle id 1 mode active

RP/0/RP0/CPU0:NCS540(config-if)#bundle port-priority 1    // SET THE PRIORITY OF THE ACTIVE LINK (LOWEST VALUE PREFERRED); Gi0/0/0/1 IS ACTIVE

RP/0/RP0/CPU0:NCS540(config-if)#no shutdown

RP/0/RP0/CPU0:NCS540(config-if)#

RP/0/RP0/CPU0:NCS540(config-if)#interface GigabitEthernet0/0/0/2

RP/0/RP0/CPU0:NCS540(config-if)#bundle id 1 mode active

RP/0/RP0/CPU0:NCS540(config-if)#bundle port-priority 2    // Gi0/0/0/2 IS STANDBY

RP/0/RP0/CPU0:NCS540(config-if)# no shutdown

RP/0/RP0/CPU0:NCS540(config-if)#

RP/0/RP0/CPU0:NCS540(config-if)#commit

Tue Aug 17 07:13:34.975 UTC

RP/0/RP0/CPU0:NCS540(config-if)#

RP/0/RP0/CPU0:NCS540(config-if)#do sh run interface Bundle-Ether 1

Tue Aug 17 07:13:52.194 UTC

interface Bundle-Ether1

 ipv4 address 10.1.1.2 255.255.255.252

 bundle minimum-active bandwidth 1000000

bundle minimum-active links 2

!

 

RP/0/RP0/CPU0:NCS540(config-if)#do show run interface GigabitEthernet0/0/0/1

Tue Aug 17 07:14:08.516 UTC

interface GigabitEthernet0/0/0/1

 bundle id 1 mode active

 bundle port-priority 1

 cdp

!

RP/0/RP0/CPU0:NCS540(config-if)#do show run interface GigabitEthernet0/0/0/2

Tue Aug 17 07:14:08.516 UTC

interface GigabitEthernet0/0/0/2

 bundle id 1 mode active

 bundle port-priority 2

 cdp

 

 

RP/0/RP0/CPU0:NCS540#show lacp Bundle-Ether 1

Tue Aug 17 07:15:12.384 UTC

State: a - Port is marked as Aggregatable.

       s - Port is Synchronized with peer.

       c - Port is marked as Collecting.

       d - Port is marked as Distributing.

       A - Device is in Active mode.

       F - Device requests PDUs from the peer at fast rate.

       D - Port is using default values for partner information.

       E - Information about partner has expired.

 

Bundle-Ether1

 

  Port          (rate)  State    Port ID       Key    System ID

  --------------------  -------- ------------- ------ ------------------------

Local

  Gi0/0/0/1        30s  ascdA--- 0x8000,0x0001 0x0001 0x8000,b0-a6-51-35-34-12

   Partner         30s  ascdA--- 0x8000,0x0007 0x0001 0x8000,74-26-ac-f3-db-34

 

  Gi0/0/0/2        30s  ascdA--- 0x8000,0x0001 0x0001 0x8000,b0-a6-51-35-34-ab

   Partner         30s  ascdA--- 0x8000,0x0007 0x0001 0x8000,74-26-ac-f3-db-cd

 

  Port                  Receive    Period Selection  Mux       A Churn P Churn

  --------------------  ---------- ------ ---------- --------- ------- -------

Local

  Gi0/0/0/1             Current    Slow   Selected   Distrib   None    None  

  Gi0/0/0/2            Current    Slow   Selected   Distrib   None    None  


RP/0/RP0/CPU0:NCS540#show bundle ?

  Bundle-Ether       Aggregated Ethernet interface(s) | short name is BE

  Bundle-POS         Aggregated POS interface(s) | short name is BP

  brief              Display a brief output of all configured bundles

  consistency        Show consistency, inconsistency and programming errors(cisco-support)

  infrastructure     Show infrastructure information for bundles and members.(cisco-support)

  load-balancing     Show load-balancing information for bundles and members.

  protect            Show protect information for bundles.

  scheduled-actions  Show scheduled actions for bundles

  status             Check the current status of the bundle subsystem

  trace              Show trace data for Bundle Manager(cisco-support)

  |                  Output Modifiers

  <cr>              

RP/0/RP0/CPU0:NCS540#show bundle bundle-ether ?

  <1-65535> 

RP/0/RP0/CPU0:NCS540#show bundle bundle-ether 1

Sun Aug 22 03:40:28.254 UTC

 

Bundle-Ether1

  Status:                                    Up

  Local links <active/standby/configured>:   1 / 1 / 2

  Local bandwidth <effective/available>:     1000000 (1000000) kbps

  MAC address (source):                      b0a6.5135.abcd (Chassis pool)

  Inter-chassis link:                        No

  Minimum active links / bandwidth:          2 / 1000000 kbps

  Maximum active links:                      64

  Wait while timer:                          2000 ms

  Load balancing:                           

    Link order signaling:                    Not configured

    Hash type:                               Default

    Locality threshold:                      None

  LACP:                                      Operational

    Flap suppression timer:                  Off

    Cisco extensions:                        Disabled

    Non-revertive:                           Disabled

  mLACP:                                     Not configured

  IPv4 BFD:                                  Operational

    State:                                   Up

    Mode:                                    ietf

    Fast detect:                             Enabled

    Start timer:                             Off

    Neighbor-unconfigured timer:             Off

    Preferred min interval:                  150 ms

    Preferred multiple:                      3

    Destination address:                     10.1.1.1

  IPv6 BFD:                                  Not operational

 

  Port                  Device           State        Port ID         B/W, kbps

  --------------------  ---------------  -----------  --------------  ----------

  Gi0/0/0/1             Local            Active       0x8000, 0x0001     1000000

      Link is Active

 Gi0/0/0/2            Local            Active       0x8000, 0x0001     1000000

      Link is Active

 

Here's a link to configure BFD on a Bundle interface in Cisco NCS 540 router. You configure the BFD settings under the Bundle-Ether interface.

RP/0/RP0/CPU0:NCS540#configure terminal
Thu Aug 19 02:18:43.587 UTC
RP/0/RP0/CPU0:NCS540(config)#interface Bundle-Ether1
RP/0/RP0/CPU0:NCS540(config-if)#bfd ?
  address-family  Set configuration for a given address family
  mode            Standard used for per-member BFD
RP/0/RP0/CPU0:NCS540(config-if)#bfd mode ?
  cisco  Use Cisco standard for BoB
  ietf   Use IETF standard for BoB
RP/0/RP0/CPU0:NCS540(config-if)#bfd mode ietf
Thu Aug 19 02:23:03.820 UTC
Please note that existing BFD sessions need to be brought down and re-created for the new mode to take effect.
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ?
  ipv4  Set configuration for the IPv4 address family
  ipv6  Set configuration for the IPv6 address family
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 ?
  destination       Set the destination address for the BFD session
  echo              Set the configuration for the echo mode of BFD
  fast-detect       Enable fast detection using BFD on bundle members
  minimum-interval  Set the preferred minimum interval for the BFD session
  multiplier        Set the preferred multiplier for the BFD session
  timers            Set the timers that determine when a BFD session defaults to down
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 multiplier ?        
  <2-50>  The preferred multiplier for the BFD session
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 multiplier 3
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 destination ?
  A.B.C.D  IPv4 destination address for the BFD session
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 destination 10.1.1.1
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 fast-detect ?
  <cr>  
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 fast-detect
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 minimum-interval ?
  <3-30000>  The preferred minimum interval (in ms) for the BFD session
RP/0/RP0/CPU0:NCS540(config-if)#bfd address-family ipv4 minimum-interval 150
RP/0/RP0/CPU0:NCS540(config-if)#commit
Thu Aug 19 02:20:11.238 UTC

RP/0/RP0/CPU0:NCS540#show run interface Bundle-Ether1
Thu Aug 19 02:21:01.323 UTC
interface Bundle-Ether1

 bfd mode ietf

 bfd address-family ipv4 multiplier 3

 bfd address-family ipv4 destination 10.1.1.2

 bfd address-family ipv4 fast-detect

 bfd address-family ipv4 minimum-interval 150


RP/0/RP0/CPU0:NCS540#show bfd ?

  agent              Information directly from Agent(cisco-support)

  agents             Agents registered with BFD Server(cisco-support)

  all                Both ipv4 and ipv6 address families

  bootstrap          Display information about session bootstrap module(cisco-support)

  bundles            Bundle information(cisco-support)

  client             Clients registered with BFD Server

  counters           Counters

  gsp                BFD process GSP statistics and history(cisco-support)

  ha                 HA Information(cisco-support)

  index-mgrs         Index manager information(cisco-support)

  interfaces         Interface state block information(cisco-support)

  ipv4               IPv4 Address Family

  ipv6               IPv6 Address Family

  issu               ISSU Information(cisco-support)

  label              Label

  location           Specify a location

  lpts               Display information about LPTS-LRD interactions(cisco-support)

  mib                MIB related information

  multihop           Multihop only

  multipath          Multiple Path Session Information

  reflector          S-BFD responder(cisco-support)

  relation           Relationship information of sessions

  session            Session information

  session-array      Session array information(cisco-support)

  singlehop          Singlehop only

  statistics         Statistics information(cisco-support)

  summary            Summary Information

  target-identifier  SBFD Local/Remote target identifier

  timer-groups       Timer group information(cisco-support)

  trace              Trace data(cisco-support)

  |                  Output Modifiers

  <cr>              

RP/0/RP0/CPU0:NCS540#show bfd ipv4 ?

  agent      Information directly from Agent(cisco-support)

  location   Specify a location

  multihop   Multihop only

  multipath  Multiple Path Session Information

  session    Session information

  singlehop  Singlehop only

  |          Output Modifiers

  <cr>      

 

RP/0/RP0/CPU0:NCS540#show bfd ipv4 session

Sun Aug 22 07:14:26.612 UTC

Interface           Dest Addr           Local det time(int*mult)      State    

                                    Echo             Async   H/W   NPU    

------------------- --------------- ---------------- ---------------- ----------

Gi0/0/0/1           10.1.1.1  0s(0s*0)         450ms(150ms*3)   UP       

                                                             Yes   0/0/CPU0      

Gi0/0/0/2           10.1.1.1  0s(0s*0)         450ms(150ms*3)   UP       

                                                             Yes   0/0/CPU0      

BE1                 10.1.1.1  n/a              n/a              UP       

                                                             No    n/a