Dear VyOS community,
after adding support for Large BGP Community it would be nice to have the show commands to see what's happen.
Dear VyOS community,
after adding support for Large BGP Community it would be nice to have the show commands to see what's happen.
https://github.com/vyos/vyatta-op-quagga/pull/2
Did I something wrong with https://phabricator.vyos.net/T1550 and https://github.com/vyos/vyatta-op-quagga/pull/2 that the pull request is not showing in phabricator?
It seems in the FRR part of commands not working.
set policy large-community-list FOO rule 10 action 'permit' set policy large-community-list FOO rule 10 regex '50:10 20:50 50:55' set policy route-map FOO rule 10 action 'permit' set policy route-map FOO rule 10 set large-community '50:10 20:50 50:55' set protocols bgp 65001 neighbor 192.168.122.12 address-family ipv4-unicast route-map import 'FOO' set protocols bgp 65001 neighbor 192.168.122.12 remote-as '65001'
Work:
vyos@r1-roll:~$ show ip large-community-list FOO Named large community expanded list FOO permit 50:10 20:50 50:55 vyos@r1-roll:~$ show ip bgp large-community BGP table version is 2, local router ID is 192.168.122.11, vrf id 0 Network Next Hop Metric LocPrf Weight Path *>i100.64.0.0/24 192.168.122.12 0 100 0 i vyos@r1-roll:~$ show ip bgp large-community-info Address Refcnt Large-community [0x560c491f8020] (1) 20:0:50 50:0:10 50:0:55
Don't work
vyos@r1-roll:~$ show ip bgp large-community-list FOO vyos@r1-roll:~$ vyos@r1-roll:~$ vtysh -c "show ip bgp large-community-list FOO" vyos@r1-roll:~$
Large community format:
"1:2:3" "1:2:3 5:6:7" "4123456789:4123456780:4123456788" "^5:.*:7$"
Large-community and large-community-list it is different functions.
It seems all works fine
set policy route-map FOO rule 10 action 'permit' set policy route-map FOO rule 10 set large-community '4123456789:4123456780:4123456788' set protocols bgp 65001 neighbor 192.0.2.2 address-family ipv4-unicast route-map import 'FOO' set protocols bgp 65001 neighbor 192.0.2.2 remote-as '65002' [email protected]:~$ show ip bgp large-community Network Next Hop Metric LocPrf Weight Path *> 100.64.2.0/24 192.0.2.2 0 0 65002 i *> 100.64.5.0/24 192.0.2.2 0 0 65002 i [email protected]:~$ show ip bgp 100.64.2.0/24 BGP routing table entry for 100.64.2.0/24 Paths: (1 available, best #1, table default) Advertised to non peer-group peers: 192.0.2.2 65002 192.0.2.2 from 192.0.2.2 (192.168.122.11) Origin IGP, metric 0, valid, external, best (First path received) Large Community: 4123456789:4123456780:4123456788
VyOS 1.3.0-rc6 (upcoming) and 1.4 have the following commands available: