이 문서에서는 Cisco IOS® XE용 기술에서 레이어 2 VPN VPLS(Virtual Private LAN Service)의 문제를 해결하는 방법을 설명합니다.
다음 주제에 대한 지식을 보유하고 있으면 유용합니다.
이 문서의 정보는 Cisco IOS XE 소프트웨어를 기반으로 합니다.
이 문서의 정보는 특정 랩 환경의 디바이스를 토대로 작성되었습니다. 이 문서에 사용된 모든 디바이스는 초기화된(기본) 컨피그레이션으로 시작되었습니다. 현재 네트워크가 작동 중인 경우 모든 명령의 잠재적인 영향을 미리 숙지하시기 바랍니다.
VPLS 토폴로지세션이 예기치 않게 종료된 후 VPLS 교차 연결이 중단된 상태입니다.
PE2#show xconnect all
Legend: XC ST=Xconnect State S1=Segment1 State S2=Segment2 State
UP=Up DN=Down AD=Admin Down IA=Inactive
SB=Standby HS=Hot Standby RV=Recovering NH=No Hardware
XC ST Segment 1 S1 Segment 2 S2
------+---------------------------------+--+---------------------------------+--
DN pri vfi 100 UP mpls 203.0.113.10:100 DN
UP pri ac Vl100:100(Eth VLAN) UP vfi 100 UP
UP pri bd 100 UP vfi 100 UP
1단계. 정확한 VC/VPLS 상태를 확인합니다.
PE2#show mpls l2transport vc 100 detail
Local interface: VFI 100 vfi up
Interworking type is Ethernet
Destination address: 203.0.113.10, VC ID: 100, VC status: down
Last error: Local access circuit is not ready for label advertise << The local device is unable to advertise labels because the access circuit (AC) is not in a ready state.
Output interface: none, imposed label stack {} << no MPLS labels are being imposed because no path exists.
Preferred path: not configured << No explicit traffic engineering path is configured for this pseudowire.
Default path: no route << No route to the remote PE (203.0.113.10) exists in the routing table.
No adjacency
Create time: 10:50:35, last status change time: 00:17:39
Last label FSM state change time: 00:17:33
Signaling protocol: LDP, peer x.x.x.x:0 up
Targeted Hello: 203.0.113.20(LDP Id) -> 203.0.113.10, LDP is DOWN, no binding
Graceful restart: not configured and not enabled
Non stop routing: not configured and not enabled
Status TLV support (local/remote) : enabled/None (no remote binding
LDP route watch : enabled
Label/status state machine : local ready, LruRnd
Last local dataplane status rcvd: No fault
Last BFD dataplane status rcvd: Not sent
Last BFD peer monitor status rcvd: No fault
Last local AC circuit status rcvd: No fault
Last local AC circuit status sent: DOWN(hard-down) << The local device is advertising the access circuit as hard-down to the remote PE.
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: None (no remote binding) << No status has been received from the remote PE.
Last remote LDP ADJ status rcvd: None (no remote binding) << No adjacency status received from the remote peer.
MPLS VC labels: local 16, remote unassigned
Group ID: local n/a, remote unknown
MTU: local 1500, remote unknown
Remote interface description:
Sequencing: receive disabled, send disabled
Control Word: On (configured: autosense)
SSO Descriptor: 203.0.113.10/100, local label: 16
Dataplane:
SSM segment/switch IDs: 0/8194 (used), PWID: 1
VC statistics:
transit packet totals: receive 0, send 0
transit byte totals: receive 0, send 0
transit packet drops: receive 0, seq error 0, send 0
VPLS 교차 연결(VC ID 100)이 다운 상태로 전환되었습니다. 근본 원인은 다음과 같은 조건에 기인합니다.
1. 원격 PE에 대한 경로 없음 - 라우터에 라우팅 테이블의 203.0.113.10에 대한 경로가 없습니다(기본 경로: 경로 없음). 유효한 경로가 없으면 MPLS LSP(label-switched path)를 설정할 수 없습니다.
2. 대상 LDP 세션이 다운되었습니다. 대상 LDP 세션(203.0.113.20~203.0.113.10)이 설정되지 않았습니다. 이렇게 하면 PE 라우터 간에 유사 와이어 라벨이 교환되지 않습니다.
3. 원격 레이블 바인딩 없음 - 대상 LDP 세션이 중단되었기 때문에 VC 100에 대해 원격 레이블이 할당되지 않았습니다. pseudowire는 로컬 및 원격 레이블 없이 트래픽을 전달할 수 없습니다.
4. 인접성 없음 - 유효한 경로 및 LDP 세션이 없으면 원격 PE에 대한 MPLS 인접성이 없습니다.
2단계. 로컬 연결 회로를 확인합니다.
VC가 중단된 PE의 경우
PE2#show interfaces vlan 100 | include up|errors
Vlan100 is up, line protocol is up , Autostate Disabled
Keepalive not supported
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 1 interface resets
PE2#show running-config interface vlan 100
Building configuration...
Current configuration : 72 bytes
!
interface Vlan100
no ip address
no autostate
xconnect vfi 100
end
3단계. VFI 컨피그레이션을 확인합니다.
PE2#show running-config | section l2 vfi
l2 vfi 100 manual
vpn id 100
neighbor 203.0.113.10 pw-class VPLS_100
PE2#show l2vpn vfi
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: 100, state: up, type: multipoint, signaling: LDP
VPN ID: 100
Bridge-Domain 100 attachment circuits:
Vlan100
Pseudo-port interface: pseudowire100001
Interface Peer Address VC ID S
pseudowire100002 203.0.113.10 100 Y
1. VFI가 작동 중 - 로컬 VFI 인스턴스가 활성 상태이며 트래픽을 전달할 준비가 되었습니다.
2. 연결 회로가 바인딩되었습니다. Vlan100이 브리지 도메인 100 및 VFI와 올바르게 연결되어 있습니다.
3. Pseudowire가 구성되었습니다. Pseudowire(pseudowire100002)는 VC ID가 100인 203.0.113.10에서 원격 PE를 향해 정의됩니다.
4. Split-horizon 활성화 - VPLS 멀티포인트 환경에서 레이어 2 루프를 방지하는 예상 동작입니다.
4단계. PE 루프백 연결성 확인:
PE2#ping 203.0.113.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 203.0.113.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
PE2#show ip route 203.0.113.10
Routing entry for 203.0.113.10/32
Known via "ospf 1", distance 110, metric 2, type intra area
Last update from 192.0.2.9 on TwentyFiveGigE1/0/3, 00:01:30 ago
Routing Descriptor Blocks:
* 192.0.2.9, from 198.51.100.2, 00:01:30 ago, via TwentyFiveGigE1/0/3
Route metric is 2, traffic share count is 1
PE2#ping mpls ipv4 203.0.113.10/32 source 203.0.113.20
Sending 5, 72-byte MPLS Echos to 203.0.113.10/32,
timeout is 2 seconds, send interval is 0 msec:
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
Total Time Elapsed 8 ms
표준 ping은 MPLS LSP가 중단된 경우에도 다음과 같은 이유로 성공할 수 있습니다.
· 목적지가 IP를 통해 직접 연결 가능한 경우 ICMP 패킷은 IP 라우팅(레이블 스위칭이 아님)될 수 있습니다.
· 트랜짓 라우터는 레이블이 지정되지 않은 경우 IP 조회를 사용하여 ICMP 패킷을 전달할 수 있습니다.
반대로 ping mpls ipv4는 패킷이 레이블 전환 경로를 통과하도록 강제하여 실제 MPLS 데이터 플레인을 검증합니다. 이렇게 하면 다음과 같은 이점이 있습니다.
· 라벨이 올바르게 할당 및 배포됩니다.
· LFIB 항목은 각 홉에서 일관됩니다.
· LSP 엔드 투 엔드 경로가 작동합니다.
5단계. 코어에서 MPLS 및 LDP를 확인합니다.
PE2#show mpls ldp neighbor
Peer LDP Ident: 203.0.113.10:0; Local LDP Ident 203.0.113.20:0
TCP connection: 203.0.113.10.646 - 203.0.113.20.39001
State: Oper; Msgs sent/rcvd: 16/15; Downstream
Up time: 00:02:15
LDP discovery sources:
TwentyFiveGigE1/0/3, Src IP addr: 192.0.2.9
Targeted Hello 203.0.113.20 -> 203.0.113.10, active, passive
Addresses bound to peer LDP Ident:
203.0.113.10 192.0.2.6 192.0.2.9
이 명령은 로컬 라우터(PE2)와 원격 피어 간의 LDP 네이버 세션 정보를 제공합니다. 출력의 각 필드에 대해 자세히 설명합니다.
5.1단계 원격 VPLS 피어에 대한 MPLS 레이블 전환 경로 확인
PE2#show mpls forwarding-table 203.0.113.10
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
25 Pop Label 203.0.113.10/32 0 Twe1/0/3 192.0.2.9
PE2#show mpls ldp bindings 203.0.113.10 32
lib entry: 203.0.113.10/32, rev 69
local binding: label: 25
remote binding: lsr: 203.0.113.10:0, label: imp-null
PE2는 P2 및 P1을 통해 예상 레이블 경로를 우회하여 PE1로부터 직접 imp-null을 수신합니다. 이는 PE2와 P2 사이에 LDP 세션 또는 MPLS 컨피그레이션 문제가 없음을 나타냅니다.
5.2단계 제공된 명령을 실행하여 next-hop 정보를 확인합니다.
P2#show mpls forwarding-table 203.0.113.10
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
None No Label 203.0.113.10/32 0
P2#show mpls ldp neighbor
Peer LDP Ident: 203.0.113.20:0; Local LDP Ident 198.51.100.2:0
TCP connection: 203.0.113.20.17326 - 198.51.100.2.646
State: Oper; Msgs sent/rcvd: 30/29; Downstream
Up time: 00:13:57
LDP discovery sources:
GigabitEthernet0/0/1, Src IP addr: 192.0.2.10
Addresses bound to peer LDP Ident:
203.0.113.20 192.0.2.10
Peer LDP Ident: 198.51.100.1:0; Local LDP Ident 198.51.100.2:0
TCP connection: 198.51.100.1.646 - 198.51.100.2.12799
State: Oper; Msgs sent/rcvd: 30/28; Downstream
Up time: 00:13:56
LDP discovery sources:
GigabitEthernet0/0/0, Src IP addr: 192.0.2.5
Addresses bound to peer LDP Ident:
192.0.2.2 192.0.2.5 198.51.100.1
P2#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
198.51.100.3 0 FULL/ - 00:00:34 192.0.2.10 GigabitEthernet0/0/1
198.51.100.1 0 FULL/ - 00:00:34 192.0.2.5 GigabitEthernet0/0/0
6단계. 원격 PE 루프백 주소에 대한 경로를 확인합니다.
P2#show ip route 203.0.113.10
Routing entry for 203.0.113.10/32
Known via "connected", distance 0, metric 0 (connected, via interface)
Routing Descriptor Blocks:
* directly connected, via Loopback10
Route metric is 0, traffic share count is 1
1단계. 의사 와이어가 작동 상태인지 확인합니다.
매개변수가 정확한지 확인합니다.
PE2#show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
VFI 100 vfi 203.0.113.10 100 UP
PE2#show mpls l2transport vc 100 detail
Local interface: VFI 100 vfi up
Interworking type is Ethernet
Destination address: 203.0.113.10, VC ID: 100, VC status: up
Output interface: Twe1/0/3, imposed label stack {17 16}
Preferred path: not configured
Default path: active
Next hop: 192.0.2.9
Create time: 1d11h, last status change time: 00:30:50
Last label FSM state change time: 00:30:26
Signaling protocol: LDP, peer 203.0.113.10:0 up
Targeted Hello: 203.0.113.20(LDP Id) -> 203.0.113.10, LDP is UP
Graceful restart: not configured and not enabled
Non stop routing: not configured and not enabled
Status TLV support (local/remote) : enabled/supported
LDP route watch : enabled
Label/status state machine : established, LruRru
Last local dataplane status rcvd: No fault
Last BFD dataplane status rcvd: Not sent
Last BFD peer monitor status rcvd: No fault
Last local AC circuit status rcvd: No fault
Last local AC circuit status sent: No fault
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: No fault
Last remote LDP ADJ status rcvd: No fault
MPLS VC labels: local 16, remote 16
Group ID: local n/a, remote 0
MTU: local 1500, remote 1500
Remote interface description:
MAC Withdraw: sent:1, received:0
Sequencing: receive disabled, send disabled
Control Word: On (configured: autosense)
SSO Descriptor: 203.0.113.10/100, local label: 16
Dataplane:
SSM segment/switch IDs: 16395/8194 (used), PWID: 1
VC statistics:
transit packet totals: receive 0, send 0
transit byte totals: receive 0, send 0
transit packet drops: receive 0, seq error 0, send 0
2단계. 연결 회로(트렁크 인터페이스) 상태를 확인합니다.
트렁크 인터페이스가 작동 중이며 올바른 VLAN과 연결되어 있는지 확인합니다.
확인:
PE2#show interfaces twentyFiveGigE 1/0/2 status
Port Name Status Vlan Duplex Speed Type
Twe1/0/2 connected trunk full 10G SFP-10GBase-SR
PE2#show interfaces trunk
Port Mode Encapsulation Status Native vlan
Twe1/0/2 on 802.1q trunking 1
Port Vlans allowed on trunk
Twe1/0/2 100
Port Vlans allowed and active in management domain
Twe1/0/2 100
Port Vlans in spanning tree forwarding state and not pruned
Twe1/0/2 100
3단계. 브리지 도메인과의 VLAN 연결을 확인합니다.
트렁크 컨피그레이션(EVC 없음)이 있는 Catalyst 9000에서는 vlan을 브리지 도메인에 매핑해야 합니다.
확인:
PE2#show running-config interface vlan100
Building configuration...
Current configuration : 72 bytes
!
interface Vlan100
no ip address
xconnect vfi 100
4단계. MAC 주소 학습을 확인합니다.
로컬 연결 회로와 원격 의사 배선의 MAC 주소가 학습되고 있는지 확인합니다.
확인:
pseudowire에서 MAC 주소를 학습하지 않은 경우
로컬 트렁크에서 MAC 주소를 학습하지 않는 경우:
PE2#show mac address-table vlan 100
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
100 cc7f.76b7.525f STATIC Vl100
100 e462.c4bb.17f1 DYNAMIC Twe1/0/2 >> CE2 Mac address learned over Twe1/0/2 interface.
5단계. STP(스패닝 트리 프로토콜) 상태를 확인합니다.
STP는 트렁크 인터페이스에서 VLAN을 차단하여 트래픽이 브리지 도메인으로 들어가는 것을 방지할 수 있습니다.
확인:
· 트렁크 포트가 VPLS 브리지 도메인과 연결된 VLAN의 포워딩 상태입니다
· 포트가 차단, 청취 또는 학습 상태가 아닙니다.
STP가 포트를 차단하는 경우:
· STP 우선 순위 또는 포트 비용 조정
· 트렁크 포트를 STP 에지 포트로 구성하는 것을 고려합니다(토폴로지에 적합한 경우).
PE2#show spanning-tree vlan 100
VLAN0100
Spanning tree enabled protocol rstp
Root ID Priority 32868
Address cc7f.76b7.51c0
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32868 (priority 32768 sys-id-ext 100)
Address cc7f.76b7.51c0
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300 sec
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Twe1/0/2 Desg FWD 2000 128.2 P2p
6단계. MPLS 레이블 스택 및 전달 경로를 확인합니다.
올바른 레이블이 지정되었고 전달 경로가 유효한지 확인합니다.
확인:
PE2에서 P2 LSP 경로로:
PE2#show mpls forwarding-table 203.0.113.10 32
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
22 17 203.0.113.10/32 810 Twe1/0/3 192.0.2.9 << For the transport path to the remote PE1 loopback, the imposed outgoing label is 17. The router at 192.0.2.9 assigned this value as its local label binding for the destination prefix.
P2에서 P1 LSP 경로로:
P2#show mpls forwarding-table 203.0.113.10 32
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
17 16 203.0.113.10/32 79290 Gi0/0/0 192.0.2.5 << Local label as 17 and the imposed outgoing label is 16. The router at 192.0.2.5 assigned this value as its local label binding for the destination prefix.
P1에서 PE1 LSP 경로로:
P1#show mpls forwarding-table 203.0.113.10 32
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
16 Pop Label 203.0.113.10/32 76184 Gi0/0/0 192.0.2.1 << Pop Label is performed before forwarding the packet to the next hop. This confirms that the next hop (PE1) advertised implicit null to P1.
P1에서 PE1 LSP 경로로:
PE1#show mpls forwarding-table 203.0.113.10 32
Local Outgoing Prefix Bytes Label Outgoing Next Hop
Label Label or Tunnel Id Switched interface
None No Label 203.0.113.10/32 0
레이블 경로 확인:
이 출력과 PE2 및 P2의 이전 출력을 기반으로 PE2에서 PE1로의 완전한 레이블 전환 경로는 다음과 같습니다.
[PE2] Packet leaves with label stack: | 17 | (transport label)
↓
[P2] Receives label 17, swaps to 16: | 16 | (transport label)
↓
[P1] Receives label 16, pops label: | IP | (pure IP packet)
↓
[PE1] Receives pure IP packet - local delivery
VPLS 트래픽이 이 LSP를 통과하면 패킷은 2레이블 스택(전송: VC 레이블)
[PE2] Packet leaves with label stack: | 17 | 16 | (transport + VC label)
↓
[P2] Receives label 17, swaps to 16: | 16 | 16 | (transport + VC label)
↓
[P1] Receives label 16, pops label: | 16 | (VC label only)
↓
[PE1] Receives VC label 16 - pseudowire disposition into bridge domain
PE2에서 PE1로의 MPLS 전송 LSP는 경로의 모든 라우터에서 완벽하게 작동하며 올바르게 프로그래밍됩니다. VPLS pseudowire 신호 처리가 완료되었습니다. 로컬 및 원격 레이블 모두 교환되었으며 오류가 보고되지 않았습니다.
그러나 컨트롤 플레인이 완전히 설정되었음에도 불구하고 사용자 트래픽이 의사 와이어를 통해 전달되지 않습니다. 그러면 문제가 MPLS 코어 및 의사 와이어 신호 외부에 있음을 확인할 수 있습니다. 특히 PE 라우터 하나 또는 둘 모두의 연결 회로 레이어에 있습니다
1단계. 정확한 VC/VPLS 상태를 확인합니다.
매개변수가 정확한지 확인합니다.
PE1#show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------------- --------------- ---------- ----------
VFI 100 vfi 203.0.113.20 100 UP
PE1#show mpls l2transport vc 100 detail
Local interface: VFI 100 vfi up
Interworking type is Ethernet
Destination address: 203.0.113.20, VC ID: 100, VC status: up
Output interface: Te0/0/4, imposed label stack {19 16}
Preferred path: not configured
Default path: active
Next hop: 192.0.2.2
Create time: 1d09h, last status change time: 08:38:02
Last label FSM state change time: 08:38:25
Signaling protocol: LDP, peer 203.0.113.20:0 up
Targeted Hello: 203.0.113.10(LDP Id) -> 203.0.113.20, LDP is UP
Graceful restart: not configured and not enabled
Non stop routing: not configured and not enabled
Status TLV support (local/remote) : enabled/supported
LDP route watch : enabled
Label/status state machine : established, LruRru
Last local dataplane status rcvd: No fault
Last BFD dataplane status rcvd: Not sent
Last BFD peer monitor status rcvd: No fault
Last local AC circuit status rcvd: No fault
Last local AC circuit status sent: No fault
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No fault
Last remote LDP TLV status rcvd: No fault
Last remote LDP ADJ status rcvd: No fault
MPLS VC labels: local 16, remote 16
Group ID: local n/a, remote 0
MTU: local 1500, remote 1500
Remote interface description:
MAC Withdraw: sent:0, received:1
Sequencing: receive disabled, send disabled
Control Word: On (configured: autosense)
SSO Descriptor: 203.0.113.20/100, local label: 20
Dataplane:
SSM segment/switch IDs: 8199/4097 (used), PWID: 1
VC statistics:
transit packet totals: receive 336, send 0
transit byte totals: receive 27552, send 0
transit packet drops: receive 0, seq error 0, send 0
수신된 전송 바이트 | 27,552 | PE2에서 27,552바이트를 받았습니다.
전송된 전송 패킷 | 0 | PE1에서 PE2 방향으로 pseudowire로 전송된 패킷이 없습니다.
전송된 전송 바이트 | 0 | PE2로 전송된 바이트가 없습니다.
2단계. Bridge-Domain 컨피그레이션 및 멤버십을 확인합니다.
브리지 도메인에 올바른 멤버(서비스 인스턴스 인터페이스 및 pseudowire)가 있는지 확인합니다.
PE1#show running-config interface TenGigabitEthernet0/0/5
Building configuration...
Current configuration : 174 bytes
!
interface TenGigabitEthernet0/0/5
no ip address
service instance 100 ethernet
encapsulation dot1q 100
rewrite ingress tag pop 1 symmetric
bridge-domain 100
!
end
PE1#show interfaces tenGigabitEthernet 0/0/5 | include up|errors
TenGigabitEthernet0/0/5 is up, line protocol is up
Keepalive not supported
Full Duplex, 10000Mbps, link type is force-up, media type is H10GB-CU1M
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 output errors, 0 collisions, 1 interface resets
3단계. MAC 주소 학습을 확인합니다.
로컬 연결 회로와 원격 의사 배선의 MAC 주소가 학습되고 있는지 확인합니다.
PE1#show bridge-domain
Bridge-domain 100 (2 ports in all)
State: UP Mac learning: Enabled
Aging-Timer: 300 second(s)
Unknown Unicast Flooding Suppression: Disabled
Maximum address limit: 65536
TenGigabitEthernet0/0/5 service instance 100
vfi 100 neighbor 203.0.113.20 100
AED MAC address Policy Tag Age Pseudoport
-----------------------------------------------------------------------------
브리지 도메인 자체는 작동하지만, 학습된 MAC 주소가 없는 것이 주요 세부 사항입니다. 이는 일반적으로 로컬 인터페이스, 브리지 도메인 및 원격 VFI 간에 아직 학습된 트래픽이 없거나 서비스 매핑/포워딩 문제를 가리킵니다.
4단계. VFI 컨피그레이션을 확인합니다.
PE1#show running-config | section vfi
l2 vfi 100 manual
vpn id 100
bridge-domain 100
neighbor 203.0.113.20 encapsulation mpls
5단계. MPLS 전송 경로를 확인합니다.
MPLS traceroute를 원격 루프백 주소로 전송하여 빠른 검증을 수행합니다.
PE1#traceroute mpls ipv4 203.0.113.20 255.255.255.255 source 203.0.113.10
Tracing MPLS Label Switched Path to 203.0.113.20/32, timeout is 2 seconds
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
0 192.0.2.1 MRU 1500 [Labels: 17 Exp: 0]
L 1 192.0.2.2 MRU 1500 [Labels: 16 Exp: 0] 96 ms
L 2 192.0.2.6 MRU 1500 [Labels: implicit-null Exp: 0] 12 ms
! 3 192.0.2.10 2 ms
MPLS traceroute 출력은 소스 PE 라우터(203.0.113.10)와 목적지 PE 라우터(203.0.113.20) 간에 LSP(Label Switched Path)가 성공적으로 설정되었음을 확인합니다.
이 추적에서는 이그레스 PE에 도달하기 전에 인그레스 PE에서 레이블 부과, 전송 LSR(Label Switch Router) 및 PHP(Penultimate Hop Popping)를 수행하는 레이블 스와핑 작업을 보여줍니다.
구체적으로,
traceroute는 레이블 바인딩 누락, FEC 불일치, 조기 LSP 종료 또는 지원되지 않는 레이블 작업과 같은 MPLS 포워딩 이상 현상을 보고하지 않습니다.
PE1
Push 17
↓
P1
Swap 17 → 16
↓
P2
Pop label
↓
PE2 receives pure IP packet
6단계. Pseudowire 데이터 플레인을 확인합니다.
PE1#ping mpls pseudowire 203.0.113.20 100 source 203.0.113.10
Sending 5, 72-byte MPLS Echos to 203.0.113.20,
timeout is 2 seconds, send interval is 0 msec:
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Total Time Elapsed 6 ms
PE2#ping mpls pseudowire 203.0.113.10 100 source 203.0.113.20
Sending 5, 72-byte MPLS Echos to 203.0.113.10,
timeout is 2 seconds, send interval is 0 msec:
Codes: '!' - success, 'Q' - request not sent, '.' - timeout,
'L' - labeled output interface, 'B' - unlabeled output interface,
'D' - DS Map mismatch, 'F' - no FEC mapping, 'f' - FEC mismatch,
'M' - malformed request, 'm' - unsupported tlvs, 'N' - no label entry,
'P' - no rx intf label prot, 'p' - premature termination of LSP,
'R' - transit router, 'I' - unknown upstream index,
'l' - Label switched with FEC change, 'd' - see DDMAP for return code,
'X' - unknown return code, 'x' - return code 0
Type escape sequence to abort.
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
Total Time Elapsed 9 ms
ping mpls 의사 와이어 테스트를 통해 MPLS 의사 와이어 데이터 플레인의 유효성을 검사했습니다. pseudowire ping이 성공하고 브리지 도메인이 VPLS를 통해 원격 MAC을 학습하므로 예상되는 로컬 MAC 주소가 학습되지 않는 로컬 연결 회로 또는 VLAN 포워딩 경로에서 문제가 발생할 가능성이 높습니다.
MPLS pseudowire ping에 성공하면 MPLS 전송 LSP 및 pseudowire 레이블 바인딩이 로컬 및 원격 PE 라우터 간에 작동하는지 확인합니다. 이 결과는 MPLS 포워딩, 레이블 배포 및 의사 와이어 시그널링이 올바르게 작동하며 원격 PE가 지정된 VC에 대한 의사 와이어 OAM 패킷을 처리할 수 있음을 나타냅니다.
이 결과에 따라 MPLS 코어 및 의사 유선 인프라가 작동하는 것으로 보입니다. 트래픽 문제가 지속될 경우 추가 조사는 기본 MPLS 전송 경로가 아닌 연결 회로, VPLS 포워딩 동작, MAC 학습, MTU 일관성, CE 연결 여부에 초점을 맞출 수 있습니다.
| 개정 | 게시 날짜 | 의견 |
|---|---|---|
1.0 |
07-Jul-2026
|
최초 릴리스 |