]> git.puffer.fish Git - mirror/frr.git/commit
staticd: Add SRv6 encap behavior in show running-config
authorCarmine Scarpitta <cscarpit@cisco.com>
Thu, 20 Feb 2025 10:44:41 +0000 (11:44 +0100)
committerCarmine Scarpitta <cscarpit@cisco.com>
Wed, 30 Apr 2025 16:54:43 +0000 (16:54 +0000)
commit5323ad0d1fec3f7b0751e325cd4d34ebf8a9f56c
tree2831a8806b09ea95812a8c75cd888d2784f54cf2
parent4679eb0066eb629a845291ae166917bcda506f64
staticd: Add SRv6 encap behavior in show running-config

This commit extends the output of `show running-config` to display the
configured SRv6 encapsulation behavior.

```
router# show running-config
[...]
ip route 192.0.2.2/32 sr0 segments fcbb:bbbb:1:2:3:4:5:6/fcbb:bbbb:7:8:fe00:: encap-behavior H_Encaps
ip route 192.0.2.3/32 sr0 segments fcbb:bbbb:1:2:3:4:5:6/fcbb:bbbb:7:8:fe00:: encap-behavior H_Encaps_Red
ipv6 route 2001:db8:1:1::2/128 sr0 segments fcbb:bbbb:1:2:3:4:5:6/fcbb:bbbb:7:8:fe00:: encap-behavior H_Encaps
ipv6 route 2001:db8:1:1::3/128 sr0 segments fcbb:bbbb:1:2:3:4:5:6/fcbb:bbbb:7:8:fe00:: encap-behavior H_Encaps_Red
[...]
```

Signed-off-by: Carmine Scarpitta <cscarpit@cisco.com>
staticd/static_vty.c