summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorZhiyuan Wan <h@iloli.bid>2023-04-03 16:21:15 +0800
committerZhiyuan Wan <h@iloli.bid>2023-07-18 14:20:05 +0800
commit919b8f94b314029daf619a8583be448293856b5a (patch)
tree516ad78c50572c0ce2f87ed7c99bc7059051640a /python/firstheader.py
parent1960b6b967663e72a75d66a6eab275297f47693f (diff)
ospfd: Support show intra-area network type in 'show ip ospf route' command
User can now use 'show ip ospf route detail' command to distinguish intra-area stub network and transit network. Transit network will be displayed as 'N T prefix ...'. NOTICE: Json output format has been changed, intra-area transit networks will have a new attribute 'transit' and value is 'true'. And 'adv' (means advertise router) change to 'advertisedRouter'. Example output: bsp-debianrt-exp1# show ip ospf route detail Codes: N - network T - transitive IA - inter-area E - external route D - destination R - router ============ OSPF network routing table ============ N T 10.0.0.0/24 [32] area: 0.0.0.0 via 192.168.124.67, ens192 adv 10.0.0.5 N 10.0.30.0/24 [33] area: 0.0.0.0 via 192.168.124.67, ens192 adv 10.0.0.5 ... Signed-off-by: Zhiyuan Wan <h@iloli.bid>
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions