Thursday, April 21, 2016

BGP Allow AS in (Lab 12)





Configure
R1#sh run | s bgp
router bgp 123
neighbor 10.1.12.2 remote-as 123
neighbor 10.1.12.2 next-hop-self

neighbor 10.1.23.3 remote-as 123
neighbor 10.1.23.3 next-hop-self
neighbor 192.168.14.4 remote-as 100
neighbor 192.168.14.4 soft-reconfiguration inbound

ip route 10.1.23.0 255.255.255.0 10.1.12.2
R2#sh run | s bgp
router bgp 123
neighbor 10.1.12.1 remote-as 123
neighbor 10.1.23.3 remote-as 123

R3#show run | s bgp
router bgp 123
neighbor 10.1.12.1 remote-as 123
neighbor 10.1.12.1 next-hop-self
neighbor 10.1.12.1 soft-reconfiguration inbound

neighbor 10.1.23.2 remote-as 123
neighbor 10.1.23.2 next-hop-self
neighbor 192.168.35.5 remote-as 100
neighbor 192.168.35.5 soft-reconfiguration inbound

ip route 10.1.12.0 255.255.255.0 10.1.23.2
R4#show running-config | s bgp
router bgp 100
network 4.4.4.0 mask 255.255.255.0
neighbor 192.168.14.1 remote-as 123
neighbor 192.168.14.1 soft-reconfiguration inbound
neighbor 192.168.14.1 allow-as in (this will solve the problem)
R5#show run | s bgp
router bgp 100
network 5.5.5.0 mask 255.255.255.0
neighbor 192.168.35.3 remote-as 123
neighbor 192.168.35.3 soft-reconfiguration inbound
neighbor 192.168.35.3 allow-as in

No comments:

Post a Comment