
path-vector
Sets the path vector limit for an LDP entity.
Syntax: [no |default] path-vector value
value
The maximum number of entries allowed in the path vector list before LDP determines that the packet has traversed a loop. Valid values are:
Description: The Path Vector provides a mechanism to find and terminate looping LSPs. A Path Vector TLV contains a list of the LSRs that it has traversed. An LSR that receives a message with a Path Vector that contains its LSR ID detects that the message has traversed a loop.
Use the path-vector value command to enable loop detection and set the limit for the number of intermediate LSRs that a packet can traverse before LDP determines that it is in a loop.
Use the no path-vector or the default path-vector command to set the path vector at the default.
Set the path-vector at 0 to disable loop-detection.
Factory Default: 255.
Command Mode: LDP configuration.
Example 1: In the following example:
- The path-vector command sets the path vector limit at 245
- The show mpls ldp entity interface pos 1/1/1 command displays the new setting:
router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
router(config)#interface pos 1/1/1
router(config-if)#mpls ldp
router(config-if-ldp)#path-vector 245
router(config-if-ldp)#end
router#show mpls ldp entity interface pos 1/1/1
POS 1/1/1 LDP is up
LDP Id: ipAddr 222.0.0.1, label space id 0
Protocol Version: 1
Loop Detection: enabled Vector Limit: 245
Related Commands: hello-hold-timer
keepalive-timeout
show mpls ldp entity
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: LDP%20Commands.fm
HTML File Name: LDP%20Commands11.html
Last Updated: 12/19/04 at 15:00:33