Information Technology Reference
In-Depth Information
Example 6-14 Final Configuration for R2
R2#show running-config | begin bgp
router bgp 300
no synchronization
bgp log-neighbor-changes
network 172.160.0.0
neighbor 172.160.1.1 remote-as 300
neighbor 172.160.1.1 update-source loopback0
neighbor 172.160.1.3 remote-as 300
neighbor 172.160.1.3 update-source loopback0
neighbor 100.100.150.1 remote-as 100
neighbor 100.100.150.1 route-map AS100_OUT_POLICY out
neighbor 100.100.150.1 prefix-list MARTIAN in
neighbor 100.100.150.1 filter-list 10 out
neighbor 100.100.150.1 prefix-list PFX_OUT out
no auto-summary
!
route-map AS100_OUT_POLICY permit 10
set as-path prepend 300
!
ip as-path access-list 10 permit ^$
!
ip prefix-list PFX_OUT seq 5 permit 172.160.0.0/16
ip prefix-list PFX_OUT seq 10 deny any
Example 6-15 Final Configuration for R3
R3#show running-config | begin bgp
router bgp 300
no synchronization
bgp log-neighbor-changes
network 172.160.0.0
neighbor 172.160.1.1 remote-as 300
neighbor 172.160.1.1 update-source loopback0
neighbor 172.160.1.2 remote-as 300
neighbor 172.160.1.2 update-source loopback0
neighbor 200.200.200.1 remote-as 200
neighbor 200.200.200.1 send-community
neighbor 200.200.200.1 route-map AS200_OUT_POLICY out
neighbor 200.200.200.1 prefix-list MARTIAN in
neighbor 200.200.200.1 filter-list 10 out
neighbor 200.200.200.1 prefix-list PFX_OUT out
no auto-summary
!
route-map AS200_OUT_POLICY permit 10
set community 200:120
set as-path prepend 300 300
continues
Search WWH ::




Custom Search