- 积分
- 278
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
拓扑是R1----R3-----R2 其中R3是RR反射器,R1和R2是client
R1的bgp配置是:
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface LoopBack1
ip binding vpn-instance test
ip address 11.1.1.1 255.255.255.255
#
interface LoopBack2
ip binding vpn-instance test2
ip address 12.1.1.1 255.255.255.255
#
#
ip vpn-instance test
ipv4-family
route-distinguisher 100:1
vpn-target 10:1 export-extcommunity
vpn-target 10:2 import-extcommunity
#
ip vpn-instance test2
ipv4-family
route-distinguisher 100:2
vpn-target 10:3 export-extcommunity
vpn-target 10:4 import-extcommunity
#
#
bgp 100
peer 3.3.3.3 as-number 100
peer 3.3.3.3 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 3.3.3.3 enable
#
ipv4-family vpnv4
policy vpn-target
peer 3.3.3.3 enable
#
ipv4-family vpn-instance test
network 11.1.1.1 255.255.255.255
#
ipv4-family vpn-instance test2
network 12.1.1.1 255.255.255.255
#
R3配置:
#
bgp 100
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack0
peer 2.2.2.2 as-number 100
peer 2.2.2.2 connect-interface LoopBack0
#
ipv4-family unicast
undo synchronization
peer 1.1.1.1 enable
peer 2.2.2.2 enable
#
ipv4-family vpnv4
reflector cluster-id 100
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 reflect-client
peer 2.2.2.2 enable
peer 2.2.2.2 reflect-client
#
但是R3上没有收到R1的vpnv4路由,不知道怎么回事,求助
R3已经和R1建立了vpnv4邻居:
[R3]display bgp vpnv4 all peer
BGP local router ID : 3.3.3.3
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv
1.1.1.1 4 100 60 58 0 00:54:47 Established
0
2.2.2.2 4 100 55 59 0 00:53:44 Established
0
[R3]
R1上也向R3通告了路由:
[R1]display bgp vpnv4 all routing-table peer 3.3.3.3 advertised-routes
BGP Local router ID is 1.1.13.1
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 2
Route Distinguisher: 100:1
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 11.1.1.1/32 1.1.1.1 0 100 0 i
Route Distinguisher: 100:2
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 12.1.1.1/32 1.1.1.1 0 100 0 i
[R1]
但是R3上没有收到这两条路由:
[R3]display bgp vpnv4 all routing-table
[R3]
[R3]
请大神帮忙拍下错误,多谢多谢!!
|
|