35 lines
863 B
Text
35 lines
863 B
Text
|
!
|
||
|
!debug bgp updates
|
||
|
!
|
||
|
router bgp 65001
|
||
|
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
|
||
|
network 10.0.0.0/31 route-map p1
|
||
|
network 10.0.0.2/32 route-map p2
|
||
|
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
|
||
|
network 2001:db8::1/128 route-map p1
|
||
|
network 2001:db8:1::/56 route-map p2
|
||
|
neighbor 2001:db8::12:4 activate
|
||
|
exit-address-family
|
||
|
!
|
||
|
route-map p1 permit 10
|
||
|
set metric 1
|
||
|
exit
|
||
|
route-map p2 permit 10
|
||
|
set metric 2
|
||
|
set origin incomplete
|
||
|
exit
|