summaryrefslogtreecommitdiff
path: root/isisd/isis_spf.c
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2024-06-06 15:18:48 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2024-06-14 08:42:18 +0200
commit7a905c0d019d1f85092f7fea8f35320d956c5859 (patch)
tree3cc3cc97e91467add38529993f50a4119e86fac8 /isisd/isis_spf.c
parent7b59adcbcb0a35b04ce168b497f53a0908ee45d5 (diff)
isisd: fix 'show isis route prefix-sid backup' command
It is not possible to dump both backup and prefix-sid information. Fix this by authorising it. > rt1# show isis route prefix-sid backup > Area 1: > IS-IS paths to level-1 routers that speak IP > Vertex Type Metric Next-Hop Interface Parent > rt1 > 10.12.0.0/24 IP internal 0 rt1(4) > 10.13.0.0/24 IP internal 0 rt1(4) > 1.1.1.1/32 IP internal 0 rt1(4) > rt2 TE-IS 10 rt2 eth-rt2 rt1(4) > rt3 TE-IS 10 rt3 eth-rt3 rt1(4) > 10.12.0.0/24 IP TE 20 rt2 eth-rt2 rt2(4) > 10.23.0.0/24 IP TE 20 rt2 eth-rt2 rt2(4) > rt3 eth-rt3 rt3(4) > 2.2.2.2/32 IP TE 20 rt2 eth-rt2 rt2(4) > 10.13.0.0/24 IP TE 20 rt3 eth-rt3 rt3(4) > 3.3.3.3/32 IP TE 20 rt3 eth-rt3 rt3(4) > > IS-IS L1 IPv4 routing table: > > IS-IS paths to level-1 routers that speak IPv6 > Vertex Type Metric Next-Hop Interface Parent > rt1 > 2001:db8:1000::1/128 IP6 internal 0 rt1(4) > rt2 TE-IS 10 rt2 eth-rt2 rt1(4) > rt3 TE-IS 10 rt3 eth-rt3 rt1(4) > 2001:db8:1000::2/128 IP6 internal 20 rt2 eth-rt2 rt2(4) > 2001:db8:1000::3/128 IP6 internal 20 rt3 eth-rt3 rt3(4) > > IS-IS L1 IPv6 routing table: > Fixes: d47d6089e06c ("isisd: refactor handling of SR Prefix-SIDs") Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'isisd/isis_spf.c')
-rw-r--r--isisd/isis_spf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c
index e349373372..81201023d6 100644
--- a/isisd/isis_spf.c
+++ b/isisd/isis_spf.c
@@ -3074,7 +3074,7 @@ DEFUN(show_isis_route, show_isis_route_cmd,
#ifndef FABRICD
" [<level-1|level-2>]"
#endif /* ifndef FABRICD */
- " [<prefix-sid|backup>]"
+ " [prefix-sid] [backup]"
#ifndef FABRICD
" [algorithm [(128-255)]]"
#endif /* ifndef FABRICD */