diff options
| author | Sarita Patra <saritap@vmware.com> | 2023-06-07 04:10:52 -0700 |
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2023-07-10 05:03:04 -0700 |
| commit | 752c56822624ad7fbb630caa55a05cf093a7a287 (patch) | |
| tree | 7c906251c525b86f5ed2c1eb01a6ca8286df2abb /lib/command_graph.c | |
| parent | f5b8a4e188966b1fc89b3eec45be88ac576fb579 (diff) | |
pimd, pim6d: Added pimEnabled field in "show ip pim nexthop json" cli
The cli "show ip pim nexthop json" gives the RPF information.
However it doesn't give PIM enable status on the nexthop interface.
Added pimEnabled field in this clis,
this will tell if PIM is enabled or not on the nexthop interface.
Example:
frr# show ip pim nexthop
Number of registered addresses: 1
Address Interface Nexthop
108.0.0.2 ens224 108.0.0.2
frr# show ip pim nexthop json
{
"108.0.0.2":{
"address":"108.0.0.2",
"nexthops":[
{
"interface":"ens224",
"pimEnabled":true,
"nexthop":"108.0.0.2"
}
]
}
}
frr# configure terminal
frr(config)# int ens224
frr(config-if)# no ip pim
frr(config-if)# end
frr# show ip pim nexthop json
{
"108.0.0.2":{
"address":"108.0.0.2",
"nexthops":[
{
"interface":"ens224",
"pimEnabled":false,
"nexthop":"108.0.0.2"
}
]
}
}
Signed-off-by: Sarita Patra <saritap@vmware.com>
Diffstat (limited to 'lib/command_graph.c')
0 files changed, 0 insertions, 0 deletions
