Skip to content

Commit

Permalink
Update cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm
Browse files Browse the repository at this point in the history
  • Loading branch information
jorlandobr authored Nov 25, 2024
1 parent 3fcde91 commit 47bdc7d
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,20 @@ Value NETWORK (\d+\.\d+\.\d+\.\d+)
Value PREFIX_LENGTH (\d+)
Value NEXT_HOP (\d+\.\d+\.\d+\.\d+)
Value FROM ((\d+\.\d+\.\d+\.\d+)|\S+)
Value AS_PATH (.+)
Value AS_PATH (.*)
Value Filldown ROUTE_DISTINGUISHER (\d+\:\d+)
Value Filldown VRF (\S+)

Start
^\S{3}\s+\S{3}\s+\d{1,2}\s+\d+:\d+:\d+
^Network\s+Next\s+Hop\s+From\s+AS\s+Path\s*$$
^Network\s+Next\s+Hop\s+From\s+AS\s+Path
^Route\s+Distinguisher\:\s+${ROUTE_DISTINGUISHER}\s+\(default\s+for\s+vrf\s+${VRF}\)\s*$$ -> ROUTES
^Processed\.*
^. -> Error

ROUTES
^${NETWORK}\/${PREFIX_LENGTH}\s+${NEXT_HOP}\s+${FROM}\s+${AS_PATH} -> Record
^\s*$$ -> End
^\s*$$ -> Start
^. -> Error

End

0 comments on commit 47bdc7d

Please sign in to comment.