03-01-2024
10:23 AM
- last edited on
03-04-2024
02:59 AM
by
Translator
Hi Experts,
I am troubleshooting why Pseudowire is down though the preferred path is up. I have Pseudowire configured with the preferred path interface 20 disable-fallback. My tunnel 20 with the preferred path is up. When I run "show mpls l2transport vc 27 detail", it says "Preferred path: Tunnel20, no route". I don't know what I am missing here. I have pasted the config and the show commands below. I appreciate it if you could help me troubleshoot the issue.
PE1 Configuration and show commands
interface GigabitEthernet3
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 27 ethernet
encapsulation untagged
bridge-domain 27
!
end
pseudowire-class PW-27
encapsulation mpls
preferred-path interface Tunnel20 disable-fallback
l2 vfi TEST manual
vpn id 27
bridge-domain 27
neighbor 22.22.22.22 pw-class PW-27
interface Tunnel20
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 22.22.22.22
tunnel mpls traffic-eng path-option 1 explicit name PATH1
end
PE1#show ip explicit-paths name PATH1
PATH PATH1 (strict source route, path complete, generation 45)
1: next-address 3.3.3.3
2: next-address 4.4.4.4
3: next-address 22.22.22.22
PE1#
PE1#show ip interface gigabitEthernet 3
GigabitEthernet3 is up, line protocol is up
Internet protocol processing disabled
PE1#
PE1#show ethernet service instance id 27 interface gigabitEthernet 3
Id Type Interface State CE-Vlans
27 Static GigabitEthernet3 Up
PE1#show vfi name TEST
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: TEST, state: up, type: multipoint, signaling: LDP
VPN ID: 27
Bridge-Domain 27 attachment circuits:
Neighbors connected via pseudowires:
Peer Address VC ID S
22.22.22.22 27 Y
PE1#show mpls traffic-eng tunnels tunnel 20 detail
Name: PE1_t20 (Tunnel20) Destination: 22.22.22.22
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit PATH1 (Basis for Setup, path weight 30)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
Path-selection Tiebreaker:
Global: not set Tunnel Specific: not set Effective: min-fill (default)
Hop Limit: disabled [ignore: Explicit Path Option with all Strict Hops]
Cost Limit: disabled
Path-invalidation timeout: 10000 msec (default), Action: Tear
AutoRoute: disabled LockDown: disabled Loadshare: 0 [0] bw-based
auto-bw: disabled
Fault-OAM: disabled, Wrap-Protection: disabled, Wrap-Capable: No
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Binding SID: 17
Node Hop Count: 3
InLabel : -
OutLabel : GigabitEthernet2, 18
Next Hop : 172.21.23.1
RSVP Signalling Info:
Src 11.11.11.11, Dst 22.22.22.22, Tun_Id 20, Tun_Instance 208
RSVP Path Info:
My Address: 172.21.23.2
Explicit Route: 172.21.23.1 172.22.24.1 172.22.25.1 22.22.22.22
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 30 (TE)
Explicit Route: 172.22.20.2 172.22.21.2 172.22.22.2 22.22.22.22
History:
Tunnel:
Time since created: 3 days, 22 hours, 16 minutes
Time since path change: 10 minutes, 21 seconds
Number of LSP IDs (Tun_Instances) used: 208
Current LSP: [ID: 208]
Uptime: 10 minutes, 21 seconds
Prior LSP: [ID: 202]
ID: path option unknown
Removal Trigger: all sub-LSPs of the tspsetup are down
PE1#
PE1#
PE1#ping mpls traffic-eng tunnel 20
Sending 5, 72-byte MPLS Echos to Tunnel20 Active LSP,
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 = 19/28/41 ms
Total Time Elapsed 157 ms
PE1#
PE1#traceroute mpls traffic-eng tunnel 20
Tracing MPLS TE Label Switched Path on Tunnel20 Active LSP, 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 172.21.23.2 MRU 1500 [Labels: 18 Exp: 0]
L 1 172.21.23.1 MRU 1500 [Labels: 29 Exp: 0] 76 ms
L 2 172.22.24.1 MRU 1500 [Labels: implicit-null Exp: 0] 110 ms
! 3 172.22.25.1 31 ms
PE1#
PE1#show mpls l2transport vc 27 detail
Local interface: VFI TEST vfi up
Interworking type is Ethernet
Destination address: 22.22.22.22, VC ID: 27, VC status: down
Last error: Local access circuit is not ready for label advertise
Output interface: none, imposed label stack {}
Preferred path: Tunnel20, no route
Default path: disabled
No adjacency
Create time: 3d21h, last status change time: 3d21h
Last label FSM state change time: 3d21h
Signaling protocol: LDP, peer unknown
Targeted Hello: 11.11.11.11(LDP Id) -> 22.22.22.22, 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 standby, AC-ready, LnuRnd
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)
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No fault (withdrawn)
Last remote LDP TLV status rcvd: None (no remote binding)
Last remote LDP ADJ status rcvd: None (no remote binding)
MPLS VC labels: local 34, 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: 22.22.22.22/27, local label: 34
Dataplane:
SSM segment/switch IDs: 0/4103 (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
PE1#
PE2 configuration and show commands
interface GigabitEthernet2
no ip address
negotiation auto
no mop enabled
no mop sysid
service instance 27 ethernet
encapsulation untagged
bridge-domain 27
!
end
pseudowire-class PW-27
encapsulation mpls
preferred-path interface Tunnel20 disable-fallback
l2 vfi TEST manual
vpn id 27
bridge-domain 27
neighbor 11.11.11.11 pw-class PW-27
interface Tunnel20
ip unnumbered Loopback0
tunnel mode mpls traffic-eng
tunnel destination 11.11.11.11
tunnel mpls traffic-eng path-option 1 explicit name PATH1
end
PE2#show ip explicit-paths name PATH1
PATH PATH1 (strict source route, path complete, generation 188)
1: next-address 4.4.4.4
2: next-address 3.3.3.3
3: next-address 11.11.11.11
PE2#
PE2#show ethernet service instance id 27 interface gigabitEthernet 2
Id Type Interface State CE-Vlans
27 Static GigabitEthernet2 Up
PE2#
PE2#show vfi name TEST
Legend: RT=Route-target, S=Split-horizon, Y=Yes, N=No
VFI name: TEST, state: up, type: multipoint, signaling: LDP
VPN ID: 27
Bridge-Domain 27 attachment circuits:
Neighbors connected via pseudowires:
Peer Address VC ID S
11.11.11.11 27 Y
PE2#
PE2#show mpls traffic-eng tunnels tunnel 20 detail
Name: PE2_t20 (Tunnel20) Destination: 11.11.11.11
Status:
Admin: up Oper: up Path: valid Signalling: connected
path option 1, type explicit PATH1 (Basis for Setup, path weight 30)
Config Parameters:
Bandwidth: 0 kbps (Global) Priority: 7 7 Affinity: 0x0/0xFFFF
Metric Type: TE (default)
Path-selection Tiebreaker:
Global: not set Tunnel Specific: not set Effective: min-fill (default)
Hop Limit: disabled [ignore: Explicit Path Option with all Strict Hops]
Cost Limit: disabled
Path-invalidation timeout: 10000 msec (default), Action: Tear
AutoRoute: disabled LockDown: disabled Loadshare: 0 [0] bw-based
auto-bw: disabled
Fault-OAM: disabled, Wrap-Protection: disabled, Wrap-Capable: No
Active Path Option Parameters:
State: explicit path option 1 is active
BandwidthOverride: disabled LockDown: disabled Verbatim: disabled
Binding SID: 35
Node Hop Count: 3
InLabel : -
OutLabel : GigabitEthernet4, 33
Next Hop : 172.22.25.2
RSVP Signalling Info:
Src 22.22.22.22, Dst 11.11.11.11, Tun_Id 20, Tun_Instance 6
RSVP Path Info:
My Address: 172.22.25.1
Explicit Route: 172.22.25.2 172.22.24.2 172.21.23.2 11.11.11.11
Record Route: NONE
Tspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
RSVP Resv Info:
Record Route: NONE
Fspec: ave rate=0 kbits, burst=1000 bytes, peak rate=0 kbits
Shortest Unconstrained Path Info:
Path Weight: 30 (TE)
Explicit Route: 172.22.25.2 172.22.24.2 172.21.23.2 11.11.11.11
History:
Tunnel:
Time since created: 41 minutes, 11 seconds
Time since path change: 20 minutes, 1 seconds
Number of LSP IDs (Tun_Instances) used: 6
Current LSP: [ID: 6]
Uptime: 20 minutes, 1 seconds
Prior LSP: [ID: 1]
ID: path option unknown
Removal Trigger: all sub-LSPs of the tspsetup are down
PE2#
PE2#
PE2#traceroute mpls traffic-eng tunnel 20
Tracing MPLS TE Label Switched Path on Tunnel20 Active LSP, 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 172.22.25.1 MRU 1500 [Labels: 33 Exp: 0]
L 1 172.22.25.2 MRU 1500 [Labels: 36 Exp: 0] 29 ms
L 2 172.22.24.2 MRU 1500 [Labels: implicit-null Exp: 0] 16 ms
! 3 172.21.23.2 60 ms
PE2#
PE2#ping mpls traffic-eng tunnel 20
Sending 5, 72-byte MPLS Echos to Tunnel20 Active LSP,
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 = 30/31/35 ms
Total Time Elapsed 170 ms
PE2#
PE2#show mpls l2transport vc 27 detail
Local interface: VFI TEST vfi up
Interworking type is Ethernet
Destination address: 11.11.11.11, VC ID: 27, VC status: down
Last error: Local access circuit is not ready for label advertise
Output interface: none, imposed label stack {}
Preferred path: Tunnel20, no route
Default path: disabled
No adjacency
Create time: 00:39:03, last status change time: 00:39:03
Last label FSM state change time: 00:39:03
Signaling protocol: LDP, peer unknown
Targeted Hello: 22.22.22.22(LDP Id) -> 11.11.11.11, 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 standby, AC-ready, LnuRnd
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: Not sent
Last local PW i/f circ status rcvd: No fault
Last local LDP TLV status sent: No status
Last remote LDP TLV status rcvd: None (no remote binding)
Last remote LDP ADJ status rcvd: None (no remote binding)
MPLS VC labels: local 24, 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: 11.11.11.11/27, local label: 24
Dataplane:
SSM segment/switch IDs: 0/0 (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
PE2#
Thank you
Solved! Go to Solution.
03-01-2024 12:26 PM
Hi @aljoush12 ,
It appears the targeted LDP might not be up for some reason. Can you please provide the output for "show mpls ldp dis" and "show mpls ldp bind" from both PEs?
Regards,
03-01-2024 12:26 PM
Hi @aljoush12 ,
It appears the targeted LDP might not be up for some reason. Can you please provide the output for "show mpls ldp dis" and "show mpls ldp bind" from both PEs?
Regards,
03-01-2024 05:21 PM
Hi @Harold Ritter,
Thank you so much for your reply and point me out what to look for. There were no ldp bindings. After doing "no mpls ip" then "mpls ip" in the global configuration, I started seeing the ldp bindings. Looks like mpls ip is enabled globally in IOS-XE by default. Thank you again for your help.
03-01-2024 05:38 PM
You are very welcome @aljoush12 and thanks for the feedback
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide