Guest

Preview Tool

Cisco Bug: CSCvv87400 - Code patch issue during DC of CSCvu05999 - ios-regex validation in as-path/community/ext-com sets

Last Modified

Oct 05, 2020

Products (1)

  • Cisco ASR 9000 Series Aggregation Services Routers

Known Affected Releases

7.1.2.ROUT 7.2.1.BASE

Description (partial)

Symptom:
Invalid IOS regex entries allowed in as-path/community/large-community/ext-community rt sets.

Conditions:
While creating any of the sets specified, if an invalid ios-regex entry is specified at the second entry onwards, an error is not thrown.

Example:

as-path-set asp
  ios-regex '^456$',
  ios-regex '567('    ==============> Thi is an invalid regular expression, since it has a open bracket. 
end-set


With this fix, invalid regular expressions in ios/dfa regex will be ignored -

ios(config)#as-path-set asp
ios(config-as)#ios-regex '123(',
ios(config-as)#RP/0/0/CPU0:Sep 27 16:17:51.515 IST: parser[459]: %ROUTING-POLICY_REPOSITORY-4-PARSER_VALIDATE : Policy parser DLL: Ignored inconsistent ios-regex definition: ios-regex '123(' 
ios(config-as)#ios-regex '123$',
ios(config-as)#ios-regex '456(',
Sep 27 16:18:45.204 IST: parser[459]: %ROUTING-POLICY_REPOSITORY-4-PARSER_VALIDATE : Policy parser DLL: Ignored inconsistent ios-regex definition: ios-regex '456(' 
ios(config-as)#ios-regex '^456'
ios(config-as)#end-set 
ios(config)#show configuration 
Sun Sep 27 16:19:06.740 IST
Building configuration...
!! IOS XR Configuration 0.0.0
!
as-path-set asp
  ios-regex '123$',
  ios-regex '^456'
end-set
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.