Page MenuHomeVyOS Platform

Refactoring bgp op-mode for support vrf
Closed, ResolvedPublicFEATURE REQUEST


We have bgp in vrf for configuration mode, but don't have CLI for op-mode
Need to refactoring XML code for support "ip bgp vrf xxx" op-mode CLI


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline


vyos@r5:~$ show ip bgp vrf foo 
Possible completions:
                Show BGP attribute information
  cidr-only     Display only routes with non-natural netmasks
  community     Display routes matching the community
                List all bgp community information
                Display routes matching the community-list
  dampening     Display detailed information about dampening
  filter-list   Display routes conforming to the filter-list
  ipv4          Show BGP IPv4 information
                Show BGP routes matching the specified large-communities
                Show BGP large-community information
  memory        Show BGP memory usage
  neighbors     Detailed information on TCP and BGP neighbor connections
  paths         Show BGP path information
  prefix-list   Display routes conforming to the prefix-list
  regexp        Display routes matching the AS path regular expression
  route-map     Show BGP routes matching the specified route map
  statistics    RIB advertisement statistics
  summary       Summary of BGP neighbor status

vyos@r5:~$ show ip bgp vrf foo summary 

IPv4 Unicast Summary:
BGP router identifier, local AS number 65111 vrf-id 4
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 21 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt     4      65222         0         0        0    0    0    never       Active        0
Viacheslav changed the task status from Open to Needs testing.Mar 26 2021, 5:26 PM
Viacheslav claimed this task.