2025-02-05 10:03:58 +01:00
|
|
|
!
|
|
|
|
!debug bgp neighbor
|
|
|
|
!
|
|
|
|
int lo
|
|
|
|
ip address 10.10.10.10/32
|
|
|
|
ip address 10.10.10.20/32
|
|
|
|
!
|
|
|
|
int r2-eth0
|
|
|
|
ip address 192.168.1.2/24
|
2025-03-12 10:26:19 +01:00
|
|
|
ipv6 address 2001:db8::2/64
|
2025-02-05 10:03:58 +01:00
|
|
|
!
|
|
|
|
router bgp 65002
|
|
|
|
bgp graceful-restart
|
|
|
|
bgp long-lived stale-time 20
|
|
|
|
no bgp ebgp-requires-policy
|
|
|
|
neighbor 192.168.1.1 remote-as external
|
|
|
|
neighbor 192.168.1.1 timers 1 3
|
|
|
|
neighbor 192.168.1.1 timers connect 1
|
|
|
|
neighbor 192.168.1.1 capability dynamic
|
2025-03-12 10:26:19 +01:00
|
|
|
neighbor 192.168.1.1 capability extended-nexthop
|
|
|
|
neighbor 2001:db8::1 remote-as external
|
|
|
|
neighbor 2001:db8::1 timers 1 3
|
|
|
|
neighbor 2001:db8::1 timers connect 1
|
|
|
|
neighbor 2001:db8::1 capability dynamic
|
|
|
|
neighbor 2001:db8::1 capability extended-nexthop
|
2025-02-05 10:03:58 +01:00
|
|
|
!
|
|
|
|
address-family ipv4 unicast
|
|
|
|
redistribute connected
|
2025-03-12 10:26:19 +01:00
|
|
|
neighbor 192.168.1.1 addpath-tx-all-paths
|
|
|
|
neighbor 192.168.1.1 disable-addpath-rx
|
|
|
|
neighbor 192.168.1.1 addpath-rx-paths-limit 20
|
|
|
|
exit-address-family
|
|
|
|
!
|
|
|
|
address-family ipv6 unicast
|
|
|
|
redistribute connected
|
|
|
|
neighbor 2001:db8::1 activate
|
2025-02-05 10:03:58 +01:00
|
|
|
exit-address-family
|
|
|
|
!
|