62 lines
1.4 KiB
Text
62 lines
1.4 KiB
Text
|
!
|
||
|
! Zebra configuration saved from vty
|
||
|
! 2015/12/24 21:46:33
|
||
|
!
|
||
|
log file bgpd.log
|
||
|
!
|
||
|
!debug bgp events
|
||
|
!debug bgp keepalives
|
||
|
!debug bgp updates
|
||
|
!debug bgp fsm
|
||
|
!debug bgp filters
|
||
|
!debug bgp zebra
|
||
|
!
|
||
|
router bgp 100 view 1
|
||
|
bgp router-id 172.30.1.1
|
||
|
bgp always-compare-med
|
||
|
no bgp ebgp-requires-policy
|
||
|
network 172.20.0.0/28 route-map local1
|
||
|
timers bgp 60 180
|
||
|
neighbor 172.16.1.1 remote-as 65001
|
||
|
neighbor 172.16.1.1 timers 3 10
|
||
|
neighbor 172.16.1.2 remote-as 65002
|
||
|
neighbor 172.16.1.2 timers 3 10
|
||
|
neighbor 172.16.1.5 remote-as 65005
|
||
|
neighbor 172.16.1.5 timers 3 10
|
||
|
!
|
||
|
router bgp 100 view 2
|
||
|
bgp router-id 172.30.1.1
|
||
|
bgp always-compare-med
|
||
|
no bgp ebgp-requires-policy
|
||
|
network 172.20.0.0/28 route-map local2
|
||
|
timers bgp 60 180
|
||
|
neighbor 172.16.1.3 remote-as 65003
|
||
|
neighbor 172.16.1.3 timers 3 10
|
||
|
neighbor 172.16.1.4 remote-as 65004
|
||
|
neighbor 172.16.1.4 timers 3 10
|
||
|
!
|
||
|
router bgp 100 view 3
|
||
|
bgp router-id 172.30.1.1
|
||
|
bgp always-compare-med
|
||
|
no bgp ebgp-requires-policy
|
||
|
network 172.20.0.0/28
|
||
|
timers bgp 60 180
|
||
|
neighbor 172.16.1.6 remote-as 65006
|
||
|
neighbor 172.16.1.6 timers 3 10
|
||
|
neighbor 172.16.1.7 remote-as 65007
|
||
|
neighbor 172.16.1.7 timers 3 10
|
||
|
neighbor 172.16.1.8 remote-as 65008
|
||
|
neighbor 172.16.1.8 timers 3 10
|
||
|
!
|
||
|
route-map local1 permit 10
|
||
|
set community 100:9999 additive
|
||
|
set metric 0
|
||
|
!
|
||
|
route-map local2 permit 10
|
||
|
set as-path prepend 100 100 100 100 100
|
||
|
set community 100:1 additive
|
||
|
set metric 9999
|
||
|
!
|
||
|
line vty
|
||
|
!
|