- 积分
- 662
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 注册时间
- 2013-2-14
- 最后登录
- 1970-1-1
- 阅读权限
- 40
- 听众
- 收听
中级工程师
|
mpls 和 ldp都是好的, 建立l2vpn 在IOS上也没问题, 但是在XR上就出现了CE间无法连接
XR2: | XR1: | interface GigabitEthernet0/0/0/2
l2transport
l2vpn
pw-class ETH_TO_ETH_XR
encapsulation mpls
!
xconnect group XR
p2p 20-19
interface GigabitEthernet0/0/0/2
neighbor ipv4 19.19.19.19 pw-id 1920
pw-class ETH_TO_ETH_XR
!
| interface GigabitEthernet0/0/0/1
l2transport
l2vpn
pw-class ETH_TO_ETH_XR
encapsulation mpls
!
xconnect group XR
p2p 19-20
interface GigabitEthernet0/0/0/1
neighbor ipv4 20.20.20.20 pw-id 1920
pw-class ETH_TO_ETH_XR
!
|
CE4 | CE3 | interface GigabitEthernet0/0/0/2 cdp
ipv4 address 10.0.0.4 255.255.255.0
duplex full
| interface GigabitEthernet0/0/0/1
cdp
ipv4 address 10.0.0.3 255.255.255.0
duplex full
|
在两个PE上都可以看到 L2vpn xconnection up/up
RP/0/0/CPU0:XR2#sh l2vpn xconnect
Fri Aug 21 15:43:36.453 UTC
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed
XConnect Segment 1 Segment 2
Group Name ST Description ST Description ST
------------------------ ----------------------------- -----------------------------
XR 20-19 UP Gi0/0/0/2 UP 19.19.19.19 1920 UP
----------------------------------------------------------------------------------------
但是CE直连关系建立不起来。ping 不通。
可以观察到PE的GE口被宣告为L2transport后, 没有任何发包。 只有input
RP/0/0/CPU0:XR2#sh int gigabitEthernet 0/0/0/2
Fri Aug 21 15:49:15.380 UTC
GigabitEthernet0/0/0/2 is up, line protocol is up
Interface state transitions: 1
Hardware is GigabitEthernet, address is 0000.ab8b.5f03 (bia 0000.ab8b.5f03)
Layer 2 Transport Mode
MTU 1514 bytes, BW 1000000 Kbit (Max: 1000000 Kbit)
reliability 255/255, txload 0/255, rxload 0/255
Encapsulation ARPA,
Full-duplex, 1000Mb/s, unknown, link type is force-up
output flow control is off, input flow control is off
Carrier delay (up) is 10 msec
loopback not set,
Last input 00:00:00, output 01:16:43
Last clearing of "show interface" counters 00:02:09
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
26 packets input, 2439 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 10 broadcast packets, 16 multicast packets
0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
0 packets output, 0 bytes, 0 total output drops
Output 0 broadcast packets, 0 multicast packets
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions
改了MTU,speed, duplex都没有用。
请问有朋友遇到过类似的情况吗? 该如何解决。
用的是GNS3 1.37 Qemu VM XR 5.20
谢谢
|
|