- 积分
- 357
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
一共就两台设备,串口相连,用直连物理接口指邻居(是BGP命令配置手册中 1-7的实验)
基本配置如下:
rtrA#sh run | s bgp
router bgp 1
bgp log-neighbor-changes
neighbor 10.1.1.2 remote-as 2
rtrB#sh run | s bgp
router bgp 2
bgp log-neighbor-changes
network 172.16.0.0 mask 255.255.255.0
network 172.16.1.0 mask 255.255.255.0
network 172.16.2.0 mask 255.255.255.0
network 172.16.3.0 mask 255.255.255.0
aggregate-address 172.16.0.0 255.255.252.0 suppress-map suppress
neighbor 10.1.1.1 remote-as 1
rtrB#sh run | s route-map
route-map suppress permit 10
match ip address 1
rtrB#sh ip access
Standard IP access list 1
10 permit 172.16.2.0, wildcard bits 0.0.0.255
现象:
rtrB#sh ip access
Standard IP access list 1
10 permit 172.16.2.0, wildcard bits 0.0.0.255
rtrB#sh ip bgp
BGP table version is 6, local router ID is 10.1.1.2
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 172.16.0.0/24 0.0.0.0 0 32768 i
*> 172.16.0.0/22 0.0.0.0 32768 i
*> 172.16.1.0/24 0.0.0.0 0 32768 i
*> 172.16.2.0/24 0.0.0.0 0 32768 i
*> 172.16.3.0/24 0.0.0.0 0 32768 i
rtrA#sh ip bgp
BGP table version is 6, local router ID is 10.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter,
x best-external, a additional-path, c RIB-compressed,
Origin codes: i - IGP, e - EGP, ? - incomplete
RPKI validation codes: V valid, I invalid, N Not found
Network Next Hop Metric LocPrf Weight Path
*> 172.16.0.0/24 10.1.1.2 0 0 2 i
*> 172.16.0.0/22 10.1.1.2 0 0 2 i
*> 172.16.1.0/24 10.1.1.2 0 0 2 i
*> 172.16.2.0/24 10.1.1.2 0 0 2 i
*> 172.16.3.0/24 10.1.1.2 0 0 2 i
按理说,Router B的 172.16.2.0/24 路由,应该打s标记
而Router A的BGP表里面就应该没有该条路由
---------------------------------------------------------------
这个是什么原因?是我配置错了吗?(IP地址没有配错,这里就不粘贴了)
还是IOU-WEB自身的BUG问题?只支持命令能敲上去,却不支持此命令生效??
|
|