Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bgp: new BGP templates to display default local preference and local-AS in BGP commands #146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions all-protocol-startup/r1/show_bgp_ipv4-post6.1.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
BGP table version is 1, local router ID is 192.168.0.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> 192.168.0.0/24 0.0.0.0 0 32768 i
9 changes: 9 additions & 0 deletions all-protocol-startup/r1/show_bgp_ipv6_post6.1.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
BGP table version is 1, local router ID is 192.168.0.1, vrf id 0
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
*> fc00::/64 :: 0 32768 i
42 changes: 42 additions & 0 deletions bgp_multiview_topo1/r1/show_ip_bgp_view_1-post6.1.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
BGP table version is XXX, local router ID is 172.30.1.1, vrf id -
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
* 10.0.1.0/24 172.16.1.5 0 65005 i
* 172.16.1.2 0 65002 i
*> 172.16.1.1 0 65001 i
*> 10.101.0.0/24 172.16.1.1 100 0 65001 i
*> 10.101.1.0/24 172.16.1.1 100 0 65001 i
*> 10.101.2.0/24 172.16.1.1 100 0 65001 i
*> 10.101.3.0/24 172.16.1.1 100 0 65001 i
*> 10.101.4.0/24 172.16.1.1 100 0 65001 i
*> 10.101.5.0/24 172.16.1.1 100 0 65001 i
*> 10.101.6.0/24 172.16.1.1 100 0 65001 i
*> 10.101.7.0/24 172.16.1.1 100 0 65001 i
*> 10.101.8.0/24 172.16.1.1 100 0 65001 i
*> 10.101.9.0/24 172.16.1.1 100 0 65001 i
*> 10.102.0.0/24 172.16.1.2 100 0 65002 i
*> 10.102.1.0/24 172.16.1.2 100 0 65002 i
*> 10.102.2.0/24 172.16.1.2 100 0 65002 i
*> 10.102.3.0/24 172.16.1.2 100 0 65002 i
*> 10.102.4.0/24 172.16.1.2 100 0 65002 i
*> 10.102.5.0/24 172.16.1.2 100 0 65002 i
*> 10.102.6.0/24 172.16.1.2 100 0 65002 i
*> 10.102.7.0/24 172.16.1.2 100 0 65002 i
*> 10.102.8.0/24 172.16.1.2 100 0 65002 i
*> 10.102.9.0/24 172.16.1.2 100 0 65002 i
*> 10.105.0.0/24 172.16.1.5 100 0 65005 i
*> 10.105.1.0/24 172.16.1.5 100 0 65005 i
*> 10.105.2.0/24 172.16.1.5 100 0 65005 i
*> 10.105.3.0/24 172.16.1.5 100 0 65005 i
*> 10.105.4.0/24 172.16.1.5 100 0 65005 i
*> 10.105.5.0/24 172.16.1.5 100 0 65005 i
*> 10.105.6.0/24 172.16.1.5 100 0 65005 i
*> 10.105.7.0/24 172.16.1.5 100 0 65005 i
*> 10.105.8.0/24 172.16.1.5 100 0 65005 i
*> 10.105.9.0/24 172.16.1.5 100 0 65005 i
*> 172.20.0.0/28 0.0.0.0 0 32768 i
31 changes: 31 additions & 0 deletions bgp_multiview_topo1/r1/show_ip_bgp_view_2-post6.1.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
BGP table version is XXX, local router ID is 172.30.1.1, vrf id -
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
* 10.0.1.0/24 172.16.1.4 0 65004 i
*> 172.16.1.3 0 65003 i
*> 10.103.0.0/24 172.16.1.3 100 0 65003 i
*> 10.103.1.0/24 172.16.1.3 100 0 65003 i
*> 10.103.2.0/24 172.16.1.3 100 0 65003 i
*> 10.103.3.0/24 172.16.1.3 100 0 65003 i
*> 10.103.4.0/24 172.16.1.3 100 0 65003 i
*> 10.103.5.0/24 172.16.1.3 100 0 65003 i
*> 10.103.6.0/24 172.16.1.3 100 0 65003 i
*> 10.103.7.0/24 172.16.1.3 100 0 65003 i
*> 10.103.8.0/24 172.16.1.3 100 0 65003 i
*> 10.103.9.0/24 172.16.1.3 100 0 65003 i
*> 10.104.0.0/24 172.16.1.4 100 0 65004 i
*> 10.104.1.0/24 172.16.1.4 100 0 65004 i
*> 10.104.2.0/24 172.16.1.4 100 0 65004 i
*> 10.104.3.0/24 172.16.1.4 100 0 65004 i
*> 10.104.4.0/24 172.16.1.4 100 0 65004 i
*> 10.104.5.0/24 172.16.1.4 100 0 65004 i
*> 10.104.6.0/24 172.16.1.4 100 0 65004 i
*> 10.104.7.0/24 172.16.1.4 100 0 65004 i
*> 10.104.8.0/24 172.16.1.4 100 0 65004 i
*> 10.104.9.0/24 172.16.1.4 100 0 65004 i
*> 172.20.0.0/28 0.0.0.0 9999 32768 100 100 100 100 100 i
42 changes: 42 additions & 0 deletions bgp_multiview_topo1/r1/show_ip_bgp_view_3-post6.1.ref
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
BGP table version is XXX, local router ID is 172.30.1.1, vrf id -
Default local pref 100, local AS 100
Status codes: s suppressed, d damped, h history, * valid, > best, = multipath,
i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path
* 10.0.1.0/24 172.16.1.8 0 65008 i
* 172.16.1.7 0 65007 i
*> 172.16.1.6 0 65006 i
*> 10.106.0.0/24 172.16.1.6 100 0 65006 i
*> 10.106.1.0/24 172.16.1.6 100 0 65006 i
*> 10.106.2.0/24 172.16.1.6 100 0 65006 i
*> 10.106.3.0/24 172.16.1.6 100 0 65006 i
*> 10.106.4.0/24 172.16.1.6 100 0 65006 i
*> 10.106.5.0/24 172.16.1.6 100 0 65006 i
*> 10.106.6.0/24 172.16.1.6 100 0 65006 i
*> 10.106.7.0/24 172.16.1.6 100 0 65006 i
*> 10.106.8.0/24 172.16.1.6 100 0 65006 i
*> 10.106.9.0/24 172.16.1.6 100 0 65006 i
*> 10.107.0.0/24 172.16.1.7 100 0 65007 i
*> 10.107.1.0/24 172.16.1.7 100 0 65007 i
*> 10.107.2.0/24 172.16.1.7 100 0 65007 i
*> 10.107.3.0/24 172.16.1.7 100 0 65007 i
*> 10.107.4.0/24 172.16.1.7 100 0 65007 i
*> 10.107.5.0/24 172.16.1.7 100 0 65007 i
*> 10.107.6.0/24 172.16.1.7 100 0 65007 i
*> 10.107.7.0/24 172.16.1.7 100 0 65007 i
*> 10.107.8.0/24 172.16.1.7 100 0 65007 i
*> 10.107.9.0/24 172.16.1.7 100 0 65007 i
*> 10.108.0.0/24 172.16.1.8 100 0 65008 i
*> 10.108.1.0/24 172.16.1.8 100 0 65008 i
*> 10.108.2.0/24 172.16.1.8 100 0 65008 i
*> 10.108.3.0/24 172.16.1.8 100 0 65008 i
*> 10.108.4.0/24 172.16.1.8 100 0 65008 i
*> 10.108.5.0/24 172.16.1.8 100 0 65008 i
*> 10.108.6.0/24 172.16.1.8 100 0 65008 i
*> 10.108.7.0/24 172.16.1.8 100 0 65008 i
*> 10.108.8.0/24 172.16.1.8 100 0 65008 i
*> 10.108.9.0/24 172.16.1.8 100 0 65008 i
*> 172.20.0.0/28 0.0.0.0 0 32768 i