Skip to content

Commit

Permalink
fix(cisco_xr): Updating bgp vrf all ipv4 unicast summary template to …
Browse files Browse the repository at this point in the history
…add local as number (#1561)

Co-authored-by: Guillaume MBali <[email protected]>
  • Loading branch information
elavaud and guillaume-mbali authored Nov 17, 2023
1 parent ba17b09 commit fe6d6e3
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Value Required VRF (\S+)
Value RD (\S+)
Value STATE (\w+)
Value LOCAL_AS_NUMBER (\S+)

Start
^BGP\s+VRF\s+${VRF},\s+state:\s+${STATE}
^BGP Route Distinguisher:\s+${RD} -> Record


^BGP Route Distinguisher:\s+${RD}
^.*,\slocal\sAS\snumber\s${LOCAL_AS_NUMBER} -> Record
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,23 @@ BGP is operating in STANDALONE mode.

Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 31259922 31259922 31259922 31259922 31259922 31259922


VRF: vrf-test
-------------
BGP VRF vrf-test, state: Active
BGP Route Distinguisher: 65000:42
VRF ID: 0x60000003
BGP router identifier 0.0.0.0, local AS number 65000
Non-stop routing is enabled
BGP table state: Active
Table ID: 0xe0000012 RD version: 0
BGP main routing table version 1
BGP NSR Initial initsync version 0 (Not Reached)
BGP NSR/ISSU Sync-Group versions 0/0

BGP is operating in STANDALONE mode.


Process RcvTblVer bRIB/RIB LabelVer ImportVer SendTblVer StandbyVer
Speaker 1 1 0 0 1 0
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,24 @@ parsed_sample:
- vrf: "DR"
rd: "10.1.1.1:5"
state: "Active"
local_as_number: "15005"
- vrf: "PROD"
rd: "10.1.1.1:3"
state: "Active"
local_as_number: "15005"
- vrf: "REPL"
rd: "10.1.1.1:1"
state: "Active"
local_as_number: "15005"
- vrf: "EXTRANET"
rd: "10.1.1.1:7"
state: "Active"
local_as_number: "15005"
- vrf: "EXTRANET2"
rd: "10.1.1.1:8"
state: "Active"
local_as_number: "15005"
- vrf: "vrf-test"
rd: "65000:42"
state: "Active"
local_as_number: "65000"

0 comments on commit fe6d6e3

Please sign in to comment.