Specifications

Table Of Contents
mpls ldp path-vector maxlength
MP-260
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
Like the maximum hop count, the path vector limit threshold is used to prevent forwarding loops in the
setting up of label switch path (LSPs) across an ATM region.
If you configured the mpls ldp loop-detection command for ATM LSRs that are sending and receiving
Label Request and Label Map messages, you might want to inhibit the use of the path vector for loop
detection (mpls ldp path-vector maxlength 0 co
mmand).
To return the maximum path vector length to its default value, which is whatever value is configured for
th
e mpls ldp maxhops command, use the no form of the mpls lsp path-vector maxlength command.
Examples The following example shows how to set the maximum path vector length to 100 router IDs:
configure terminal
mpls ldp path-vector maxlength 100
exit
The following example shows the maximum path vector length set to 254, which is verified by you
looking at the output from the show mpls ldp parameters command or the show mpls ldp neighbors
detail command:
configure terminal
mpls ldp path-vector maxlength 254
exit
Router# show mp
ls ldp parameters
Protocol version: 1
Downstream label generic region: min label: 16; max label: 100000
Session hold time: 180 sec; keep alive interval: 60 sec
Discovery hello: holdtime: 15 sec; interval: 5 sec
Discovery targeted hello: holdtime: 90 sec; interval: 10 sec
Downstream on Demand max hop count: 4
Downstream on Demand Path Vector Limit: 254 !Verifies maximum path-vector length is 254.
!
LDP for targeted sessions
LDP initial/maximum backoff: 15/120 sec
LDP loop detection: on
Router#
Router# show mp
ls ldp neighbor detail
Peer LDP Ident: 10.0.3.33:1; Local LDP Ident 10.0.2.93:1
TCP connection: 10.0.3.33.53366 - 10.0.2.93.646
State: Oper; Msgs sent/rcvd: 132/123; Downstream on demand
Up time: 00:24:27; UID: 5; Peer Id 0;
LDP discovery sources:
Switch1.1; Src IP addr: 10.0.3.33
holdtime: 15000 ms, hello interval: 5000 ms
Peer holdtime: 180000 ms; KA interval: 60000 ms; Peer state: estab
Clients: TC ATM
Path Vector Loop Detection Peer/Local: On/On
Path Vector Limit Peer/Local: 4/254 ! Verifies the maximum path-vector length is 254.
Router#