Page MenuHomeVyOS Platform

Add sh bgp ipv4/ipv6 vpn command
Closed, ResolvedPublic

Description

There is one useful command missing on VyOS 1.4 (Tested VyOS 1.4-rolling-202110180513):

sh bgp ipv6 vpn

The command should output all VPNv4/VPNv6 BGP routes
Very useful for MPLS L3VPN troubleshooting

There is no command in VyOS:

[email protected]:~$ sh bgp ipv6 vpn

  Incomplete command: show bgp ipv6 vpn

But there is a command in FRR:

sh bgp ipv6 vpn
BGP table version is 2, local router ID is 10.0.0.5, vrf id 0
Default local pref 100, local AS 65000
Status codes:  s suppressed, d damped, h history, * valid, > best, = multipath,
               i internal, r RIB-failure, S Stale, R Removed
Nexthop codes: @NNN nexthop's vrf id, < announce-nh-self
Origin codes:  i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
Route Distinguisher: 65003:3003
*>ifc:3::/64        fe80::200:ff:fe00:0
                                             0    100      0 i
    UN=fe80::200:ff:fe00:0 EC{65003:3003} label=81 type=bgp, subtype=0
*>ifc:33::/64       fe80::200:ff:fe00:0
                                             0    100      0 65303 i
    UN=fe80::200:ff:fe00:0 EC{65003:3003} label=81 type=bgp, subtype=0
Route Distinguisher: 65008:8
*>ifc:8::/64        fe80::200:ff:fe00:0
                                             0    100      0 i
    UN=fe80::200:ff:fe00:0 EC{65001:1001 65003:3003 65004:4004} label=82 type=bgp, subtype=0

Displayed  3 routes and 3 total paths

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.4-rolling-202110180513
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

NikolayP changed the task status from Open to In progress.Oct 29 2021, 7:01 AM
NikolayP changed the task status from In progress to Needs testing.Oct 30 2021, 9:34 AM
c-po assigned this task to NikolayP.
c-po triaged this task as Normal priority.