-
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.
Merge pull request #14889 from fdumontet6WIND/snmpv2
bgpd: add multiple paths support for draft ietf bgp4v2 in nlriTable
- Loading branch information
Showing
9 changed files
with
419 additions
and
177 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
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,25 @@ | ||
! | ||
!debug bgp updates | ||
! | ||
router bgp 65003 | ||
no bgp ebgp-requires-policy | ||
no bgp network import-check | ||
no bgp default ipv4-unicast | ||
neighbor 192.168.12.4 remote-as external | ||
neighbor 192.168.12.4 timers 1 3 | ||
neighbor 192.168.12.4 timers connect 1 | ||
neighbor 2001:db8::12:4 remote-as external | ||
neighbor 2001:db8::12:4 timers 1 3 | ||
neighbor 2001:db8::12:4 timers connect 1 | ||
! | ||
address-family ipv4 unicast | ||
neighbor 192.168.12.4 activate | ||
neighbor 192.168.12.4 addpath-tx-all-paths | ||
network 10.10.10.10/32 | ||
exit-address-family | ||
address-family ipv6 unicast | ||
neighbor 2001:db8::12:4 activate | ||
exit-address-family | ||
! | ||
agentx | ||
! |
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,5 @@ | ||
! | ||
interface r3-eth0 | ||
ip address 192.168.12.3/24 | ||
ipv6 address 2001:db8::12:3/64 | ||
! |
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,67 @@ | ||
! | ||
! debug bgp updates | ||
! | ||
router bgp 65004 | ||
no bgp ebgp-requires-policy | ||
no bgp network import-check | ||
no bgp default ipv4-unicast | ||
neighbor 192.168.12.1 remote-as external | ||
neighbor 192.168.12.1 timers 1 3 | ||
neighbor 192.168.12.1 timers connect 1 | ||
neighbor 192.168.12.2 remote-as external | ||
neighbor 192.168.12.2 timers 1 3 | ||
neighbor 192.168.12.2 timers connect 1 | ||
neighbor 192.168.12.3 remote-as external | ||
neighbor 192.168.12.3 timers 1 3 | ||
neighbor 192.168.12.3 timers connect 1 | ||
neighbor 2001:db8::12:1 remote-as external | ||
neighbor 2001:db8::12:1 timers 1 3 | ||
neighbor 2001:db8::12:1 timers connect 1 | ||
neighbor 2001:db8::12:2 remote-as external | ||
neighbor 2001:db8::12:2 timers 1 3 | ||
neighbor 2001:db8::12:2 timers connect 1 | ||
neighbor 2001:db8::12:3 remote-as external | ||
neighbor 2001:db8::12:3 timers 1 3 | ||
neighbor 2001:db8::12:3 timers connect 1 | ||
! | ||
address-family ipv4 unicast | ||
network 10.0.0.0/31 route-map p1 | ||
network 10.0.0.2/32 route-map p2 | ||
neighbor 192.168.12.1 activate | ||
neighbor 192.168.12.2 activate | ||
neighbor 192.168.12.2 addpath-tx-all-paths | ||
neighbor 192.168.12.2 route-map r2-import in | ||
neighbor 192.168.12.2 route-map r2-export out | ||
! neighbor 192.168.12.2 soft-reconfiguration inbound | ||
neighbor 192.168.12.3 activate | ||
exit-address-family | ||
address-family ipv6 unicast | ||
network 2001:db8::1/128 route-map p1 | ||
network 2001:db8:1::/56 route-map p2 | ||
neighbor 2001:db8::12:1 activate | ||
neighbor 2001:db8::12:2 activate | ||
neighbor 2001:db8::12:2 addpath-tx-all-paths | ||
neighbor 2001:db8::12:3 activate | ||
exit-address-family | ||
|
||
|
||
ip prefix-list r2-toto permit any | ||
|
||
route-map r2-import permit 10 | ||
match ip address prefix-list r2-toto | ||
|
||
route-map r2-export permit 10 | ||
match ip address prefix-list r2-toto | ||
! | ||
route-map p1 permit 10 | ||
set metric 1 | ||
exit | ||
route-map p2 permit 10 | ||
set metric 2 | ||
set origin incomplete | ||
exit | ||
|
||
|
||
|
||
agentx | ||
! |
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,5 @@ | ||
! | ||
interface rr-eth0 | ||
ip address 192.168.12.4/24 | ||
ipv6 address 2001:db8::12:4/64 | ||
! |
Oops, something went wrong.