CISCO 7507 configuration file の BGP 部分設定例


! 
ip subnet-zero 
! 
interface Serial0/0 
 ip address 192.168.1.253 255.255.255.252 
 bandwidth 1536 
! 
router bgp 65510 
 no synchronization 
 network 192.168.1.0 mask 255.255.255.0 
 network 192.168.16.0 mask 255.255.254.0 
 aggregate-address 192.168.16.0 255.255.254.0 summary-only 
 redistribute static 
 neighbor C4700M peer-group 
 neighbor C4700M remote-as 65510 
 neighbor C4700M version 4 
 neighbor C4700M distribute-list 100 out 
 neighbor C4700M filter-list 1 out 
 neighbor 192.168.1.254 peer-group C4700M 
 no auto-summary 
! 
ip route 202.249.3.0 255.255.255.192  Serial  0/0  
! 
ip classless 
ip as-path access-list 1 permit ^$ 
ip as-path access-list 1 deny .* 
access-list 100 deny ip host 202.249.3.0 host 255.255.255.192 
access-list 100 permit ip host 192.168.1.0  host 255.255.255.0 
access-list 100 permit ip host 192.168.16.0 host 255.255.254.0 
access-list 100 deny ip any any 
! 
end