IOS-XR L2 接続#
構成
R2 設定
RP/0/RP0/CPU0:R2(config)#show
Tue Feb 21 08:06:13.196 JST
Building configuration...
!! IOS XR Configuration 7.2.2
interface GigabitEthernet0/0/0/0
description R1
l2transport
!
!
interface GigabitEthernet0/0/0/1
description R2
l2transport
!
!
l2vpn
xconnect group TEST
p2p l2-tunnel
interface GigabitEthernet0/0/0/0
interface GigabitEthernet0/0/0/1
!
!
!
end
確認
RP/0/RP0/CPU0:R2#show l2vpn xconnect
Tue Feb 21 08:13:25.590 JST
Legend: ST = State, UP = Up, DN = Down, AD = Admin Down, UR = Unresolved,
SB = Standby, SR = Standby Ready, (PP) = Partially Programmed,
LU = Local Up, RU = Remote Up, CO = Connected
XConnect Segment 1 Segment 2
Group Name ST Description ST Description ST
------------------------ ----------------------------- -----------------------------
TEST l2-tunnel UP Gi0/0/0/0 UP Gi0/0/0/1 UP
----------------------------------------------------------------------------------------
RP/0/RP0/CPU0:R2#
RP/0/RP0/CPU0:R2#show l2vpn xconnect detail
Tue Feb 21 08:13:43.578 JST
Group TEST, XC l2-tunnel, state is up; Interworking none
AC: GigabitEthernet0/0/0/0, state is up
Type Ethernet
MTU 1500; XC ID 0x2; interworking none
Statistics:
packets: received 20, sent 21
bytes: received 2280, sent 2340
AC: GigabitEthernet0/0/0/1, state is up
Type Ethernet
MTU 1500; XC ID 0x4; interworking none
Statistics:
packets: received 21, sent 20
bytes: received 2340, sent 2280
RP/0/RP0/CPU0:R1#show run int gigabitEthernet 0/0/0/0 Tue Feb 21 08:11:58.978 JST interface GigabitEthernet0/0/0/0 description R2 ipv4 address 192.168.254.1 255.255.255.0 !
RP/0/RP0/CPU0:R1# RP/0/RP0/CPU0:R1#ping 192.168.254.2 Tue Feb 21 08:11:04.898 JST Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.254.2, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 26/27/28 ms RP/0/RP0/CPU0:R1#
RP/0/RP0/CPU0:R3#show run int gigabitEthernet 0/0/0/0 Tue Feb 21 08:12:03.830 JST interface GigabitEthernet0/0/0/0 description R2 ipv4 address 192.168.254.2 255.255.255.0 !
RP/0/RP0/CPU0:R3# RP/0/RP0/CPU0:R3#ping 192.168.254.1 Tue Feb 21 08:11:44.187 JST Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.254.1, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 26/28/30 ms RP/0/RP0/CPU0:R3#