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

bgpd: Have show bgp vrf all ipv4 uni summ display vrf NAME #15003

Merged
merged 1 commit into from
Dec 13, 2023
Merged
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
3 changes: 2 additions & 1 deletion bgpd/bgp_vty.c
Original file line number Diff line number Diff line change
Expand Up @@ -11659,8 +11659,9 @@ static int bgp_show_summary(struct vty *vty, struct bgp *bgp, int afi, int safi,
: bgp->name);
} else {
vty_out(vty,
"BGP router identifier %pI4, local AS number %s vrf-id %d",
"BGP router identifier %pI4, local AS number %s %s vrf-id %d",
&bgp->router_id, bgp->as_pretty,
bgp->name_pretty,
bgp->vrf_id == VRF_UNKNOWN
? -1
: (int)bgp->vrf_id);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BGP router identifier 192.168.0.1, local AS number 100 vrf-id 0
BGP router identifier 192.168.0.1, local AS number 100 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using XXXX bytes of memory
Peers 2, using XXXX KiB of memory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BGP router identifier 192.168.0.1, local AS number 100 vrf-id 0
BGP router identifier 192.168.0.1, local AS number 100 VRF default vrf-id 0
BGP table version 1
RIB entries 1, using XXXX bytes of memory
Peers 4, using XXXX KiB of memory
Expand Down
Loading