-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
zebra: add nexthop-group prefix-list in show command
The 'show nexthop-group id' command has a detail parameter. This parameter will help displaying the list of prefixes that protocol daemon is registered with. > r1# show nexthop-group rib bgp detail > ID: 71428582 (bgp) > RefCnt: 2 > Uptime: 00:07:54 > VRF: default(IPv4) > Valid, Installed > Depends: (41) > via 192.0.2.6 (vrf default) (recursive), label 6000, weight 1 > via 172.31.0.3, r1-eth1 (vrf default), label 16006/6000, weight 1 > Prefix list: > 192.0.2.9/32, afi IPv4, safi unicast, table 101 (vrf vrf1) > > r1# show nexthop-group rib bgp detail json > [..] > "71428582":{ > "type":"bgp", > "refCount":2, > "uptime":"00:05:42", > "vrf":"default", > "afi":"IPv4", > "valid":true, > "installed":true, > "depends":[ > 41 > ], > [..] > "prefixList":[ > { > "prefix":"192.0.2.9/32", > "afi":"IPv4", > "safi":"unicast", > "table":101, > "vrfId":7, > "vrfName":"vrf1" > } > ] > }, Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
54d3731
commit f267bff
Showing
1 changed file
with
66 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters