Guest

Preview Tool

Cisco Bug: CSCvi55579 - Deleting mpls traffic-eng flooding threshold from interface submode been misinterpreted by parser

Last Modified

Apr 16, 2018

Products (1)

  • Cisco Carrier Routing System

Known Affected Releases

5.3.0.MPLS

Description (partial)

Symptom:
mpls traffic-eng flooding threshold config may be misinterpreted by parser in CLI interactive mode, and loading bulk config mode.
1. CLI interactive mode:
Configure mpls traffic-eng flooding threshold from interface submode succeeded.
RP/0/0/CPU0:ios(config-mpls-te)#interface gigabitEthernet 0/0/0/1
RP/0/0/CPU0:ios(config-mpls-te-if)#flooding threshold up 20 down 30
RP/0/0/CPU0:ios(config-mpls-te)#commit
Fri Apr 13 16:23:01.177 EDT
RP/0/0/CPU0:ios(config-mpls-te)#show running-config mpls traffic-eng 
Fri Apr 13 16:23:05.862 EDT
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
 !
 flooding threshold up 20 down 30
!
but deleting mpls traffic-eng flooding threshold from interface submode is misinterpreted to delete  mpls traffic-eng.
 interface flooding thresholds up
RP/0/0/CPU0:ios(config)#mpls traffic-eng interface gigabitEthernet 0/0/0/1
RP/0/0/CPU0:ios(config-mpls-te-if)#no flooding threshold up 20 down 30 
RP/0/0/CPU0:ios(config-mpls-te-if)#show configuration 
Fri Apr 13 16:26:13.208 EDT
Building configuration...
!! IOS XR Configuration 0.0.0
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
  no flooding thresholds up
 !
!
end

2. load bulk configuration 
When loading bulk configuration which includes deleting mpls traffic-eng flooding threshold. The configuration will be misinterpreted as deleting mpls traffic-eng interface <INTF_NAME> flooding threshold.

The issue will be hit using "load" command with bulk configuration which has a specific pattern:

mpls traffic-eng
...
interface GigabitEthernet0/0/0/1
        <ANY_INTF_CFG>
no flooding threshold up <NUM> down <NUM>

eg.
RP/0/0/CPU0:ios(config-mpls-te)#do show configuration commit changes last 1
Building configuration...
!! IOS XR Configuration 0.0.0
mpls traffic-eng
interface GigabitEthernet0/0/0/1
  bfd fast-detect
!
flooding threshold up 20 down 30
!
end

trigger 1: load a configure file which contains config with certain pattern.
config file:
config.txt
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
  no bfd fast-detect
 !
 no flooding threshold up 20 down 30

RP/0/0/CPU0:ios(config)#load disk0:config.txt
Loading.
113 bytes parsed in 1 sec (112)bytes/sec
RP/0/0/CPU0:ios(config-mpls-te-if)#show configuration 
Fri Apr 13 16:13:27.595 EDT
Building configuration...
!! IOS XR Configuration 0.0.0
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
  no bfd fast-detect
  no flooding thresholds up
 !
!
end

trigger 2: load rollback changes
RP/0/0/CPU0:ios(config-mpls-te)#do show configuration commit changes last 1
Building configuration...
!! IOS XR Configuration 0.0.0
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
  bfd fast-detect
 !
 flooding threshold up 20 down 30
!
end

RP/0/0/CPU0:ios(config)#load rollback changes last 1
Building configuration...
Loading.
149 bytes parsed in 1 sec (148)bytes/sec
RP/0/0/CPU0:ios(config)#show configuration 
Building configuration...
!! IOS XR Configuration 0.0.0
mpls traffic-eng
 interface GigabitEthernet0/0/0/1
  no bfd fast-detect
  no flooding thresholds up
 !
!
end

Conditions:
This issue will occur in the case of loading bulk configuration.

Day 1 issue
Issue was introduced starting 05.03.00.MPLS and will impact all the platforms.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.