diff --git a/ntc_templates/templates/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm b/ntc_templates/templates/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm new file mode 100644 index 0000000000..7b4eefd4bd --- /dev/null +++ b/ntc_templates/templates/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm @@ -0,0 +1,26 @@ +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 Filldown ROUTE_DISTINGUISHER (\d+:\d+) +Value Filldown VRF (\S+) + +Start + ^\S{3}\s+\S{3}\s+\d{1,2}\s+\d+:\d+:\d+ + ^VRF:\s+\S+:\d+$$ + ^-+$$ + ^%\s+Neighbor\s+not\s+found$$ + ^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 + ^. -> Error + +ROUTES + ^${NETWORK}\/${PREFIX_LENGTH}\s+${NEXT_HOP}\s+${FROM}\s+${AS_PATH}$$ -> Record + ^\s*$$ + ^s*$$ -> Clearall + ^Processed -> Start + ^. -> Error + +EOF + diff --git a/ntc_templates/templates/index b/ntc_templates/templates/index index 0a59c66b2d..bd0642f127 100644 --- a/ntc_templates/templates/index +++ b/ntc_templates/templates/index @@ -492,6 +492,7 @@ cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm, .*, cisco_ cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] in[[gress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] err[[ors]] eg[[ress]] loc[[ation]] cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] fabric fi[[a]] dr[[ops]] eg[[ress]] loc[[ation]] +cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.textfsm, .*, cisco_xr, sh[[ow]] bg[[p]] vr[[f]] (\S+) nei[[ghbors]](\s+\d+\.\d+\.\d+\.\d+)? advertised-r[[outes]] cisco_xr_show_l2vpn_mac-learning_mac_all_location.textfsm, .*, cisco_xr, sh[[ow]] l2vpn mac-l[[earning]] mac all loc[[ation]] cisco_xr_show_lpts_pifib_hardware_police_location.textfsm, .*, cisco_xr, sh[[ow]] lpts pifib hardware police loc[[ation]] cisco_xr_show_controllers_HundredGigabitEthernet.textfsm, .*, cisco_xr, sh[[ow]] contr[[ollers]] Hu[[ndredGigabitEthernet]] diff --git a/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.raw b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.raw new file mode 100644 index 0000000000..a38eaf8d3a --- /dev/null +++ b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.raw @@ -0,0 +1,62 @@ +Sun Nov 17 19:47:39.864 BRA +Network Next Hop From AS Path +Route Distinguisher: 3222:9196 (default for vrf VRF_NAME:9196) +0.0.0.0/0 10.164.199.181 10.244.28.102 3222 65401i +10.0.0.16/29 10.164.199.181 10.244.28.102 3222 65401? +10.0.2.0/24 10.164.199.181 10.244.28.102 3222 65401? +10.0.3.0/24 10.164.199.181 10.244.28.102 3222 65401? +10.0.4.0/24 10.164.199.181 10.244.28.102 3222 65401? +10.0.5.0/24 10.164.199.181 10.164.200.10 3222 65401? +10.11.217.0/24 10.164.199.181 10.244.28.102 3222 65500i +10.11.247.0/27 10.164.199.181 10.244.28.102 3222 65500i +10.11.247.128/27 10.164.199.181 10.244.28.102 3222 65500i +10.19.247.128/27 10.164.199.181 10.244.28.104 3222 65502 65502 65502 65502 65502i +10.200.0.0/16 10.164.199.181 10.244.28.102 3222 65401? +10.235.0.0/16 10.164.199.181 10.244.28.102 3222 65401? +10.236.0.0/16 10.164.199.181 10.244.28.102 3222 65401? +10.238.0.0/16 10.164.199.181 10.244.28.102 3222 65401? +10.164.6.88/30 10.164.199.181 10.244.28.102 3222? +10.164.192.248/30 10.164.199.181 10.244.28.102 3222 65401? +10.164.192.252/30 10.164.199.181 10.244.28.102 3222? +10.164.193.0/30 10.164.199.181 10.244.28.102 3222? +10.164.193.4/30 10.164.199.181 Local 3222? +10.164.193.180/30 10.164.199.181 Local 3222? +10.164.194.196/30 10.164.199.181 10.244.28.102 3222? +10.164.194.224/30 10.164.199.181 10.244.28.102 3222? +10.164.195.24/30 10.164.199.181 Local 3222? +10.164.195.28/30 10.164.199.181 10.244.28.102 3222? +10.164.195.36/30 10.164.199.181 10.244.28.102 3222? +10.164.195.40/30 10.164.199.181 Local 3222? +10.164.195.44/30 10.164.199.181 10.244.28.102 3222? +10.164.195.68/30 10.164.199.181 10.244.28.102 3222? +10.164.195.72/30 10.164.199.181 Local 3222? +10.164.195.76/30 10.164.199.181 10.244.28.102 3222? +10.164.195.100/30 10.164.199.181 10.244.28.102 3222? +10.164.195.104/30 10.164.199.181 Local 3222? +10.164.195.108/30 10.164.199.181 10.244.28.102 3222? +10.164.200.124/30 10.164.199.181 Local 3222? +10.164.200.128/30 10.164.199.181 10.244.28.102 3222? +10.164.200.132/30 10.164.199.181 10.244.28.102 3222? +10.164.200.164/30 10.164.199.181 10.244.28.102 3222? +10.164.200.168/30 10.164.199.181 10.244.28.102 3222? +10.164.200.172/30 10.164.199.181 10.244.28.102 3222? +10.164.200.176/30 10.164.199.181 Local 3222? +10.164.200.180/30 10.164.199.181 10.244.28.102 3222? +10.164.200.184/30 10.164.199.181 10.244.28.102 3222? +10.164.201.28/30 10.164.199.181 Local 3222? +10.164.201.32/30 10.164.199.181 10.244.28.102 3222? +10.164.206.144/30 10.164.199.181 Local 3222? +10.164.207.72/30 10.164.199.181 10.244.28.102 3222? +10.164.207.80/30 10.164.199.181 Local 3222? +169.247.1.236/32 10.164.199.181 10.244.28.102 3222 65000 65022i +169.254.29.216/31 10.164.199.181 10.244.28.102 3222? +172.21.0.0/16 10.164.199.181 10.244.28.102 3222 65401? +172.197.1.0/24 10.164.199.181 10.244.28.102 3222 27652? +172.197.2.104/32 10.164.199.181 10.244.28.102 3222 27652 65510i +10.172.210.0/24 10.164.199.181 10.244.28.102 3222 65500 65500? +10.172.211.0/26 10.164.199.181 10.244.28.102 3222 65500 65500? +10.209.18.184/30 10.164.199.181 10.244.28.102 3222? +10.214.86.80/30 10.164.199.181 10.244.28.102 3222? +10.255.225.60/32 10.164.199.181 10.244.28.102 3222 65500 65500? + +Processed 57 prefixes, 57 paths diff --git a/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.yml b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.yml new file mode 100644 index 0000000000..065e0e3c64 --- /dev/null +++ b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes.yml @@ -0,0 +1,401 @@ +--- +parsed_sample: + - as_path: "3222 65401i" + from: "10.244.28.102" + network: "0.0.0.0" + next_hop: "10.164.199.181" + prefix_length: "0" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.0.0.16" + next_hop: "10.164.199.181" + prefix_length: "29" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.0.2.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.0.3.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.0.4.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.164.200.10" + network: "10.0.5.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500i" + from: "10.244.28.102" + network: "10.11.217.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500i" + from: "10.244.28.102" + network: "10.11.247.0" + next_hop: "10.164.199.181" + prefix_length: "27" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500i" + from: "10.244.28.102" + network: "10.11.247.128" + next_hop: "10.164.199.181" + prefix_length: "27" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65502 65502 65502 65502 65502i" + from: "10.244.28.104" + network: "10.19.247.128" + next_hop: "10.164.199.181" + prefix_length: "27" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.200.0.0" + next_hop: "10.164.199.181" + prefix_length: "16" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.235.0.0" + next_hop: "10.164.199.181" + prefix_length: "16" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.236.0.0" + next_hop: "10.164.199.181" + prefix_length: "16" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.238.0.0" + next_hop: "10.164.199.181" + prefix_length: "16" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.6.88" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "10.164.192.248" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.192.252" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.193.0" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.193.4" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.193.180" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.194.196" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.194.224" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.195.24" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.28" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.36" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.195.40" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.44" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.68" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.195.72" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.76" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.100" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.195.104" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.195.108" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.200.124" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.128" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.132" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.164" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.168" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.172" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.200.176" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.180" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.200.184" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.201.28" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.201.32" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.206.144" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.164.207.72" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "Local" + network: "10.164.207.80" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65000 65022i" + from: "10.244.28.102" + network: "169.247.1.236" + next_hop: "10.164.199.181" + prefix_length: "32" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "169.254.29.216" + next_hop: "10.164.199.181" + prefix_length: "31" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65401?" + from: "10.244.28.102" + network: "172.21.0.0" + next_hop: "10.164.199.181" + prefix_length: "16" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 27652?" + from: "10.244.28.102" + network: "172.197.1.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 27652 65510i" + from: "10.244.28.102" + network: "172.197.2.104" + next_hop: "10.164.199.181" + prefix_length: "32" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500 65500?" + from: "10.244.28.102" + network: "10.172.210.0" + next_hop: "10.164.199.181" + prefix_length: "24" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500 65500?" + from: "10.244.28.102" + network: "10.172.211.0" + next_hop: "10.164.199.181" + prefix_length: "26" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.209.18.184" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222?" + from: "10.244.28.102" + network: "10.214.86.80" + next_hop: "10.164.199.181" + prefix_length: "30" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" + - as_path: "3222 65500 65500?" + from: "10.244.28.102" + network: "10.255.225.60" + next_hop: "10.164.199.181" + prefix_length: "32" + route_distinguisher: "3222:9196" + vrf: "VRF_NAME:9196" diff --git a/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.raw b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.raw new file mode 100644 index 0000000000..327713a8cb --- /dev/null +++ b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.raw @@ -0,0 +1,141 @@ +Tue Nov 26 00:00:10.176 BRA + +VRF: VRF:1250 +------------- +% Neighbor not found + +VRF: VMNET:1835 +--------------- +% Neighbor not found + +VRF: VRFNAME:7848 +---------------- +% Neighbor not found + +VRF: MONEY:5415 +----------------- +% Neighbor not found + +VRF: VRF2024:9005 +----------------- +% Neighbor not found + +VRF: COMPANY:154046 +----------------- +% Neighbor not found + +VRF: VRF_CIT:6910 +----------------- +% Neighbor not found + +VRF: VRFMAX:156010 +------------------ +% Neighbor not found + +VRF: SCOTISH:1140 +------------------ +% Neighbor not found + +VRF: VRF_NOVA:6114 +------------------ +% Neighbor not found + +VRF: ABCD_UF:7990 +------------------ +% Neighbor not found + +VRF: CITY_GER:7688 +------------------- +% Neighbor not found + +VRF: MARKET_INT_2:4776 +--------------------- +% Neighbor not found + +VRF: NONAMENEWB:7609 +--------------------- +% Neighbor not found + +VRF: VRF_CFTV:7129 +---------------------- +Network Next Hop From AS Path +Route Distinguisher: 4230:7199 (default for vrf VRF_CFTV:7129) +0.0.0.0/0 172.23.33.9 10.43.78.102 4230 65000? +10.44.97.0/24 172.23.33.9 10.43.78.102 4230 65000? +10.44.255.184/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.0.0/24 172.23.33.9 10.43.78.102 4230 64611i +10.58.8.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.12.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.16.0/22 172.23.33.9 10.43.78.102 4230 64612i +10.58.20.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.24.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.28.0/24 172.23.33.9 10.43.78.102 4230 65000i +10.58.32.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.36.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.40.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.44.0/22 172.23.33.9 10.43.78.102 4230 64611i +10.58.48.0/22 172.23.33.9 10.43.78.102 4230 65000? +10.58.56.0/22 172.23.33.9 10.43.78.102 4230 65000? +10.58.64.0/22 172.23.33.9 10.43.78.102 4230 65000i +10.58.92.0/22 172.23.33.9 10.43.78.102 4230 65000? +10.58.127.0/29 172.23.33.9 10.43.78.102 4230 64611i +10.58.127.8/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.16/28 172.23.33.9 10.43.78.102 4230 64612i +10.58.127.16/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.32/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.48/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.56/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.64/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.72/29 172.23.33.9 10.43.78.102 4230 65000? +10.58.127.80/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.88/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.96/29 172.23.33.9 10.43.78.102 4230 65000i +10.58.127.120/29 172.23.33.9 10.43.78.102 4230 65000? +10.159.119.56/29 172.23.33.9 10.43.78.102 4230 65000? +10.159.220.0/23 172.23.33.9 10.43.78.102 4230 64611i +10.159.123.716/29 172.23.33.9 10.43.78.102 4230 65000i +10.244.34.0/29 172.23.33.9 10.43.78.102 4230 64611i +10.147.1.236/32 172.23.33.9 10.43.78.102 4230 65000 65022i +10.154.117.232/31 172.23.33.9 10.43.78.102 4230? +10.81.136.156/30 172.23.33.9 10.43.78.102 4230i +10.2.75.188/30 172.23.33.9 10.43.78.102 4230i +10.61.254.160/30 172.23.33.9 10.43.78.102 4230i +10.12.88.64/30 172.23.33.9 10.43.78.102 4230? +10.32.109.200/30 172.23.33.9 10.43.78.102 4230? +172.23.24.60/30 172.23.33.9 10.43.78.102 4230i +172.23.33.8/30 172.23.33.9 Local 4230? +10.68.161.24/30 172.23.33.9 10.43.78.102 4230? +10.68.161.28/30 172.23.33.9 10.43.78.102 4230? +10.127.111.208/30 172.23.33.9 10.43.78.102 4230i +192.168.34.36/30 172.23.33.9 10.43.78.102 4230? +192.168.27.244/30 172.23.33.9 10.43.78.102 4230? +192.168.65.80/30 172.23.33.9 10.43.78.102 4230i +192.168.16.0/30 172.23.33.9 10.43.78.102 4230? +192.168.43.140/30 172.23.33.9 10.43.78.102 4230? +192.168.80.212/30 172.23.33.9 10.43.78.102 4230i +192.168.110.40/30 172.23.33.9 10.43.78.102 4230? +192.168.79.184/30 172.23.33.9 10.43.78.102 4230? +192.168.147.204/30 172.23.33.9 10.43.78.102 4230i +192.168.215.12/30 172.23.33.9 10.43.78.102 4230? + +Processed 57 prefixes, 57 paths + +VRF: VRDUF_ACMEUF:9795 +---------------------- +% Neighbor not found + +VRF: VRDUF_VRFCAR:9128 +---------------------- +% Neighbor not found + +VRF: VOICE_CUST:5851 +------------------------ +% Neighbor not found + +VRF: DATA_UFC_ROAD_12:6177 +---------------------------- +% Neighbor not found + +VRF: DATA_UFC_NAME_XX:6741 +---------------------------- +% Neighbor not found diff --git a/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.yml b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.yml new file mode 100644 index 0000000000..f2f8ad64ac --- /dev/null +++ b/tests/cisco_xr/show_bgp_vrf_all_neighbors_advertised-routes/cisco_xr_show_bgp_vrf_all_neighbors_advertised-routes2.yml @@ -0,0 +1,401 @@ +--- +parsed_sample: + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "0.0.0.0" + next_hop: "172.23.33.9" + prefix_length: "0" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.44.97.0" + next_hop: "172.23.33.9" + prefix_length: "24" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.44.255.184" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64611i" + from: "10.43.78.102" + network: "10.58.0.0" + next_hop: "172.23.33.9" + prefix_length: "24" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.8.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.12.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64612i" + from: "10.43.78.102" + network: "10.58.16.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.20.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.24.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.28.0" + next_hop: "172.23.33.9" + prefix_length: "24" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.32.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.36.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.40.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64611i" + from: "10.43.78.102" + network: "10.58.44.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.58.48.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.58.56.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.64.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.58.92.0" + next_hop: "172.23.33.9" + prefix_length: "22" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64611i" + from: "10.43.78.102" + network: "10.58.127.0" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.8" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64612i" + from: "10.43.78.102" + network: "10.58.127.16" + next_hop: "172.23.33.9" + prefix_length: "28" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.16" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.32" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.48" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.56" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.64" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.58.127.72" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.80" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.88" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.58.127.96" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.58.127.120" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000?" + from: "10.43.78.102" + network: "10.159.119.56" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64611i" + from: "10.43.78.102" + network: "10.159.220.0" + next_hop: "172.23.33.9" + prefix_length: "23" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000i" + from: "10.43.78.102" + network: "10.159.123.716" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 64611i" + from: "10.43.78.102" + network: "10.244.34.0" + next_hop: "172.23.33.9" + prefix_length: "29" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230 65000 65022i" + from: "10.43.78.102" + network: "10.147.1.236" + next_hop: "172.23.33.9" + prefix_length: "32" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "10.154.117.232" + next_hop: "172.23.33.9" + prefix_length: "31" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "10.81.136.156" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "10.2.75.188" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "10.61.254.160" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "10.12.88.64" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "10.32.109.200" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "172.23.24.60" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "Local" + network: "172.23.33.8" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "10.68.161.24" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "10.68.161.28" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "10.127.111.208" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.34.36" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.27.244" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "192.168.65.80" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.16.0" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.43.140" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "192.168.80.212" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.110.40" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.79.184" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230i" + from: "10.43.78.102" + network: "192.168.147.204" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129" + - as_path: "4230?" + from: "10.43.78.102" + network: "192.168.215.12" + next_hop: "172.23.33.9" + prefix_length: "30" + route_distinguisher: "4230:7199" + vrf: "VRF_CFTV:7129"