mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 23:19:28 +00:00
Added VRF option to
"show ip ospf [vrf NAME] neighbor X.X.X.X [detail] [json]"
command so that the user can query information regarding a
specific neighbor within a VRF.
r1# show ip ospf vrf default neighbor 10.0.255.2
10.0.255.2 1 Full/- 33m10s 9.891s 10.0.3.2 r1-eth1:10.0.3.4 0 0 0
r1# show ip ospf vrf default neighbor 10.0.255.2 json
{
"10.0.255.2":[
{
"priority":1,
"state":"Full/-",
"nbrPriority":1,
"nbrState":"Full/-",
"converged":"Full",
"role":"DROther",
"upTimeInMsec":13877947,
"deadTimeMsecs":9498,
"routerDeadIntervalTimerDueMsec":9498,
"upTime":"3h51m17s",
"deadTime":"9.498s",
"address":"10.0.3.2",
"ifaceAddress":"10.0.3.2",
"ifaceName":"r1-eth1:10.0.3.4",
"retransmitCounter":0,
"linkStateRetransmissionListCounter":0,
"requestCounter":0,
"linkStateRequestListCounter":0,
"dbSummaryCounter":0,
"databaseSummaryListCounter":0
}
]
}
r1# show ip ospf vrf default neighbor 10.0.255.2 detail
Neighbor 10.0.255.2, interface address 10.0.3.2
In the area 0.0.0.0 via interface r1-eth1 local interface IP 10.0.3.4
Neighbor priority is 1, State is Full/-, Role is DROther, 5 state changes
Most recent state change statistics:
Progressive change 3h51m27s ago
DR is 0.0.0.0, BDR is 0.0.0.0
Options 2 *|-|-|-|-|-|E|-
Dead timer due in 8.458s
Database Summary List 0
Link State Request List 0
Link State Retransmission List 0
Thread Inactivity Timer on
Thread Database Description Retransmision off
Thread Link State Request Retransmission on
Thread Link State Update Retransmission on
Graceful restart Helper info:
Graceful Restart HELPER Status : None
r1# show ip ospf vrf default neighbor 10.0.255.2 detail json
{
"10.0.255.2":[
{
"ifaceAddress":"10.0.3.2",
"areaId":"0.0.0.0",
"ifaceName":"r1-eth1",
"localIfaceAddress":"10.0.3.4",
"nbrPriority":1,
"nbrState":"Full/-",
"role":"DROther",
"stateChangeCounter":5,
"lastPrgrsvChangeMsec":13889856,
"routerDesignatedId":"0.0.0.0",
"routerDesignatedBackupId":"0.0.0.0",
"optionsCounter":2,
"optionsList":"*|-|-|-|-|-|E|-",
"routerDeadIntervalTimerDueMsec":9715,
"databaseSummaryListCounter":0,
"linkStateRequestListCounter":0,
"linkStateRetransmissionListCounter":0,
"threadInactivityTimer":"on",
"threadLinkStateRequestRetransmission":"on",
"threadLinkStateUpdateRetransmission":"on",
"grHelperStatus":"None"
}
]
}
r1#
Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| ChangeLog.opaque.txt | ||
| Makefile | ||
| ospf_abr.c | ||
| ospf_abr.h | ||
| ospf_api.c | ||
| ospf_api.h | ||
| ospf_apiserver.c | ||
| ospf_apiserver.h | ||
| ospf_asbr.c | ||
| ospf_asbr.h | ||
| ospf_ase.c | ||
| ospf_ase.h | ||
| ospf_bfd.c | ||
| ospf_bfd.h | ||
| ospf_dump_api.c | ||
| ospf_dump_api.h | ||
| ospf_dump.c | ||
| ospf_dump.h | ||
| ospf_errors.c | ||
| ospf_errors.h | ||
| ospf_ext.c | ||
| ospf_ext.h | ||
| ospf_flood.c | ||
| ospf_flood.h | ||
| ospf_gr_helper.c | ||
| ospf_gr.c | ||
| ospf_gr.h | ||
| ospf_ia.c | ||
| ospf_ia.h | ||
| ospf_interface.c | ||
| ospf_interface.h | ||
| ospf_ism.c | ||
| ospf_ism.h | ||
| ospf_ldp_sync.c | ||
| ospf_ldp_sync.h | ||
| ospf_lsa.c | ||
| ospf_lsa.h | ||
| ospf_lsdb.c | ||
| ospf_lsdb.h | ||
| ospf_main.c | ||
| ospf_memory.c | ||
| ospf_memory.h | ||
| ospf_neighbor.c | ||
| ospf_neighbor.h | ||
| ospf_network.c | ||
| ospf_network.h | ||
| ospf_nsm.c | ||
| ospf_nsm.h | ||
| ospf_opaque.c | ||
| ospf_opaque.h | ||
| ospf_packet.c | ||
| ospf_packet.h | ||
| ospf_ri.c | ||
| ospf_ri.h | ||
| ospf_route.c | ||
| ospf_route.h | ||
| ospf_routemap_nb_config.c | ||
| ospf_routemap_nb.c | ||
| ospf_routemap_nb.h | ||
| ospf_routemap.c | ||
| ospf_snmp.c | ||
| ospf_spf.c | ||
| ospf_spf.h | ||
| ospf_sr.c | ||
| ospf_sr.h | ||
| ospf_te.c | ||
| ospf_te.h | ||
| ospf_ti_lfa.c | ||
| ospf_ti_lfa.h | ||
| ospf_vty.c | ||
| ospf_vty.h | ||
| ospf_zebra.c | ||
| ospf_zebra.h | ||
| OSPF-ALIGNMENT.txt | ||
| ospfd.c | ||
| ospfd.h | ||
| subdir.am | ||