Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !
- log file /var/log/quagga/bgpd.log
- !
- service password-encryption
- !
- debug bgp
- debug bgp events
- debug bgp updates
- debug bgp filters
- debug bgp zebra
- !
- interface eth0
- description to ISP_R1
- ip address 192.168.100.2/28
- no link-detect
- no multicast
- !
- interface eth1
- no link-detect
- !
- interface eth2
- no link-detect
- !
- interface eth3
- no link-detect
- !
- interface eth4
- description to ROUTER2
- ip address 172.16.2.254/24
- link-detect
- no multicast
- !
- interface eth5
- no link-detect
- !
- interface eth6
- no link-detect
- !
- interface eth7
- no link-detect
- !
- interface lo
- ip address 192.168.156.3/32
- no link-detect
- !
- router bgp 65534
- bgp router-id 192.168.156.3
- redistribute kernel
- redistribute connected
- redistribute static
- timers bgp 10 30
- neighbor 172.16.2.1 remote-as 64512
- neighbor 172.16.2.1 update-source 172.16.2.254
- neighbor 172.16.2.1 soft-reconfiguration inbound
- neighbor 192.168.156.2 remote-as 65534
- neighbor 192.168.156.2 description IBGP - to ISP_R2
- neighbor 192.168.156.2 update-source 192.168.156.3
- neighbor 192.168.156.2 next-hop-self
- neighbor 192.168.156.2 soft-reconfiguration inbound
- !
- address-family ipv6
- exit-address-family
- exit
- !
- ip route 192.168.156.2/32 192.168.100.1 254
- ip route 192.168.200.1/32 172.16.2.1
- !
- ip prefix-list v4-default-only seq 5 permit 0.0.0.0/0
- ip prefix-list v4-default-only seq 500 deny any
- ip prefix-list v4-loopback seq 5 permit 192.168.156.2/32
- ip prefix-list v4-loopback seq 10 permit 192.168.156.3/32
- ip prefix-list v4-loopback seq 500 deny any
- !
- route-map DENY deny 1
- !
- ip forwarding
- !
- line vty
- no login
- !
- end
Add Comment
Please, Sign In to add comment