-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topotests: bgp_evpn_rt5, add test with match evpn vni command
Add a test that ensures that the 'match evpn vni' command works with bgp evpn rt5 updates. Signed-off-by: Philippe Guibert <[email protected]>
- Loading branch information
1 parent
2f0f5d9
commit b8fc9f1
Showing
4 changed files
with
91 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
! debug bgp neighbor-events | ||
! debug bgp updates | ||
! debug bgp zebra | ||
router bgp 65500 | ||
bgp router-id 192.168.100.61 | ||
bgp log-neighbor-changes | ||
no bgp default ipv4-unicast | ||
no bgp ebgp-requires-policy | ||
neighbor 192.168.100.21 remote-as 65000 | ||
neighbor 192.168.100.21 capability extended-nexthop | ||
! | ||
address-family l2vpn evpn | ||
neighbor 192.168.100.21 activate | ||
advertise-all-vni | ||
exit-address-family | ||
! | ||
router bgp 65000 vrf r3-vrf-102 | ||
bgp router-id 192.168.100.61 | ||
bgp log-neighbor-changes | ||
no bgp network import-check | ||
address-family ipv4 unicast | ||
network 192.168.102.102/32 | ||
exit-address-family | ||
address-family ipv6 unicast | ||
network fd00:102::1/128 | ||
exit-address-family | ||
address-family l2vpn evpn | ||
advertise ipv4 unicast | ||
advertise ipv6 unicast | ||
exit-address-family | ||
! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
vrf r3-vrf-102 | ||
vni 102 | ||
exit-vrf | ||
! | ||
interface r3-eth0 | ||
ip address 192.168.100.61/24 | ||
! | ||
interface loop102 vrf r3-vrf-102 | ||
ip address 192.168.102.61/32 | ||
ipv6 address fd00:6::1/128 | ||
! | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters