Command Reference Guide
3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 1 MPLS Basic Configuration Commands
3Com Corporation
1-21
To enable an interface, you must enable LDP first. After LDP is enabled on an interface,
peer discovery and session creation starts.
Example
# Enable LDP on the interface.
[3Com -Ethernet3/0/0] mpls ldp enable
1.2.12 mpls ldp hops-count
Syntax
mpls ldp hops-count hop-number
undo mpls ldp hops-count
View
System view
Parameter
hop-number: Maximum hops of loop detection, ranging from 1 to 32.
Description
Use the mpls ldp hops-count command to set the maximum hops of loop detection.
Use the undo mpls ldp hops-count command to restore the default value.
By default, the maximum hops of loop detection are 32.
This command should be configured before LDP is enabled on any interface. Its value,
which depends on actual networking situation, decides the loop detection speed during
LSP creation
Related command: mpls ldp loop-detection and mpls ldp path-vector.
Example
# Set the maximum hops of loop detection to 22.
[3Com ] mpls ldp hops-count 22
# Set the maximum hops of loop detection to its default value, that is, 32.
[3Com ] undo mpls ldp hops-count
1.2.13 mpls ldp loop-detect
Syntax
mpls ldp loop-detect
undo mpls ldp loop-detect










