summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorTrey Aspelund <taspelund@nvidia.com>2023-05-08 03:11:01 +0000
committerTrey Aspelund <taspelund@nvidia.com>2023-05-30 15:20:35 +0000
commitc4b59c9ab171b604b861f29ec9bb7de8412b0681 (patch)
treed80603b79acd748124410ff7dd07174e0ffe8a47 /python/firstheader.py
parent65cdb9ce9ba7141b47796692ff870eddc531656b (diff)
bgpd: add mac-vrf soo to show bgp l2vpn evpn vni
Adds the current MAC-VRF SoO value to the output of "show bgp l2vpn evpn vni [vni]". Also fixes a missing space in front of the Tenant VRF string. New output: ``` ub20-2(config-router-af)# do show bgp l2vpn evpn vni Advertise Gateway Macip: Disabled Advertise SVI Macip: Disabled Advertise All VNI flag: Enabled BUM flooding: Head-end replication VXLAN flooding: Enabled Number of L2 VNIs: 2 Number of L3 VNIs: 1 Flags: * - Kernel VNI Type RD Import RT Export RT MAC-VRF Site-of-Origin Tenant VRF * 20 L2 100.64.0.33:3 1:20 1:20 3.3.3.3:20 stuff * 30 L2 100.64.0.33:4 1:30 1:30 3.3.3.3:20 stuff * 10 L3 30.0.0.3:2 1:10 1:10 3.3.3.3:20 stuff ub20-2(config-router-af)# do show bgp l2vpn evpn vni 10 VNI: 10 (known to the kernel) Type: L3 Tenant VRF: stuff RD: 30.0.0.3:2 Originator IP: 3.3.3.3 MAC-VRF Site-of-Origin: 3.3.3.3:20 <<<<< Advertise-gw-macip : n/a Advertise-svi-macip : n/a Advertise-pip: Yes System-IP: 100.64.0.33 System-MAC: aa:bb:cc:00:33:33 Router-MAC: aa:bb:cc:00:33:33 Import Route Target: 1:10 Export Route Target: 1:10 ub20-2(config-router-af)# do show bgp l2vpn evpn vni 20 VNI: 20 (known to the kernel) Type: L2 Tenant-Vrf: stuff RD: 100.64.0.33:3 Originator IP: 3.3.3.3 MAC-VRF Site-of-Origin: 3.3.3.3:20 <<<<< Mcast group: 0.0.0.0 Advertise-gw-macip : Disabled Advertise-svi-macip : Disabled SVI interface : br20 Import Route Target: 1:20 Export Route Target: 1:20 ``` Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions