bgp-control inbound traffic(第3部分)
http://tech.ddvip.com 2007年09月12日 社区交流 收藏本文
内容摘要:bgp-control inbound traffic
neighbor 192.168.23.3 next-hop-self
neighbor 192.168.23.3 soft-reconfiguration inbound
no auto-summary
!
end
R3
hostname R3
!
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 192.168.13.3 255.255.255.0
speed 100
full-duplex
!
interface FastEthernet0/1
ip address 192.168.23.3 255.255.255.0
speed 100
full-duplex
!
router bgp 20
no synchronization
bgp router-id 3.3.3.3
bgp log-neighbor-changes
network 192.168.23.0
neighbor 192.168.13.1 remote-as 10
neighbor 192.168.13.1 soft-reconfiguration inbound
neighbor 192.168.23.2 remote-as 20
neighbor 192.168.23.2 next-hop-self
neighbor 192.168.23.2 soft-reconfiguration inbound
no auto-summary
!
end
verification
R2#sho ip bgp
BGP table version is 22, local router ID is 2.2.2.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 1.1.0.0/24 192.168.12.1 50 0 10 i
*> 1.1.1.0/24 192.168.12.1 50 0 10 i
*>i1.1.2.0/24 192.168.23.3 50 100 0 10 i
责编:豆豆技术应用