34 lines
714 B
Text
34 lines
714 B
Text
!
|
|
hostname r4
|
|
log file bgpd.log
|
|
!
|
|
router bgp 65100
|
|
bgp router-id 192.168.100.1
|
|
timers bgp 3 10
|
|
coalesce-time 0
|
|
bgp log-neighbor-changes
|
|
no bgp ebgp-requires-policy
|
|
neighbor 192.168.101.1 remote-as 65000
|
|
neighbor 192.168.101.1 timers 3 10
|
|
neighbor 192.168.101.1 description Router R1 (eBGP AS 65000)
|
|
neighbor 192.168.101.1 timers connect 5
|
|
!
|
|
address-family ipv4 unicast
|
|
network 192.168.100.0/24
|
|
network 192.168.101.0/24
|
|
network 192.168.102.0/24
|
|
neighbor 192.168.101.1 default-originate
|
|
neighbor 192.168.101.1 route-map testmap-in in
|
|
neighbor 192.168.101.1 route-map testmap-out out
|
|
exit-address-family
|
|
!
|
|
!
|
|
!
|
|
route-map testmap-in permit 999
|
|
!
|
|
route-map testmap-out permit 999
|
|
!
|
|
!
|
|
line vty
|
|
!
|
|
|