23 lines
558 B
Text
23 lines
558 B
Text
!
|
|
int r1-eth0
|
|
ip address 192.168.1.1/24
|
|
!
|
|
int r1-eth1
|
|
ip address 192.168.2.1/24
|
|
!
|
|
router bgp 65001
|
|
no bgp ebgp-requires-policy
|
|
no bgp network import-check
|
|
neighbor 192.168.1.2 remote-as auto
|
|
neighbor 192.168.1.2 timers 1 3
|
|
neighbor 192.168.1.2 timers connect 1
|
|
neighbor 192.168.2.2 remote-as auto
|
|
neighbor 192.168.2.2 timers 1 3
|
|
neighbor 192.168.2.2 timers connect 1
|
|
neighbor r1-eth1 interface remote-as auto
|
|
neighbor r1-eth1 timers 1 3
|
|
neighbor r1-eth1 timers connect 1
|
|
address-family ipv4 unicast
|
|
network 10.0.0.1/32
|
|
exit-address-family
|
|
!
|