! -*- bgp -*- ! ! BGPd sample configuratin file ! ! $Id: bgpd.conf.sample,v 1.19 1999/02/19 17:17:27 developer Exp $ ! hostname sunet-2 !password zebra !enable password please-set-at-here ! !bgp mulitple-instance ! router zebra router bgp 9088 bgp router-id 130.243.55.134 network 130.243.32.0/19 neighbor 130.242.201.105 remote-as 1653 neighbor 130.242.201.105 send-community neighbor 130.242.201.105 prefix-list SUNET-IN in neighbor 130.242.201.105 route-map SUNET-OUT out neighbor 130.243.55.9 remote-as 9088 neighbor 130.243.55.9 route-map DU-OUT out neighbor 130.243.55.9 route-map DU-IN in neighbor 130.243.55.46 remote-as 9088 neighbor 130.243.55.46 route-map DU-OUT out neighbor 130.243.55.46 route-map DU-IN in ! ! access-list all permit any ! route-map SUNET-OUT permit 10 match as-path 1 ! route-map SUNET-OUT permit 11 match as-path 2 set community 1653:1 ! route-map DU-IN permit 10 match as-path 10 ! route-map DU-OUT permit 10 match as-path 10 ! ip as-path access-list 1 permit ^$ ip as-path access-list 2 permit ^12738$ ip as-path access-list 2 permit ^15893$ ip as-path access-list 10 deny ^$ ip as-path access-list 10 permit .* ! ! ip prefix-list SUNET-IN seq 10 deny 130.243.32.0/19 le 32 ip prefix-list SUNET-IN seq 90 deny 192.168.0.0/16 le 32 ip prefix-list SUNET-IN seq 91 deny 172.16.0.0/12 le 32 ip prefix-list SUNET-IN seq 92 deny 10.0.0.0/8 le 32 ip prefix-list SUNET-IN seq 99 permit 0.0.0.0/0 le 32 ! !log file /var/log/bgpd.log ! line vty access-class 99 password zebra ! access-list 99 permit 127.0.0.1/32 access-list 99 deny any log syslog