Rewrite protocol BGP op-mode to the new format.
Delete old unsupported commands.
[email protected]:~$ show ip bgp dampened-paths % Unknown command: show ip bgp dampened-paths [email protected]:~$ show ip bgp large-community local-AS % Large-community malformed [email protected]:~$ show ip bgp large-community no-advertise % Large-community malformed [email protected]:~$ show ip bgp large-community no-export % Large-community malformed [email protected]:~$ show ip bgp scan % Unknown command: show ip bgp scan [email protected]:~$ show ip bgp flap-statistics % Unknown command: show ip bgp flap-statistics
Add actual new commands.
- We don't need to see these commands several times (local-AS, no-advertise, no-export ).
If we need to see only community
show ip bgp community 65000:65000
vyos@main:~$ show ip bgp community 65000:65000 Possible completions: <Enter> Execute the current command <AA:NN> Show BGP routes matching the specified communities exact-match Show BGP routes which exactly match the specified community local-AS Show BGP routes matching the specified communities no-advertise no-export
Recursion
vyos@main:~$ show ip bgp community 65000:65000 local-AS local-AS Possible completions: <Enter> Execute the current command <AA:NN> Show BGP routes matching the specified communities exact-match Show BGP routes which exactly match the specified communities local-AS Show BGP routes matching the specified communities no-advertise no-export
In the frr
main# show ip bgp community 65000:65000 <cr> exact-match Exact match of the communities json JavaScript Object Notation