3com 8807 Reference Guide

Page of 1099
698
C
HAPTER
 39: MPLS B
ASIC
 C
ONFIGURATION
 C
OMMANDS
View
VLAN interface view
Parameter
None
Description
Use the mpls ldp enable command to enable LDP on a VLAN interface.
Use the mpls ldp disable command to disable LDP on a VLAN interface.
By default, LDP is disabled on an interface.
To enable an interface, you must enable LDP first. After LDP is enabled on an 
interface, peer discovery and session creation proceed.
Example
# Enable LDP on a VLAN interface.
<SW8800> system-view
 
[SW8800] vlan 201
 
[3Com-Vlan201] port gigabitethernet 2/1/1
 
[3Com-Vlan201] quit
 
[SW8800] interface vlan-interface 201
 
[3Com-Vlan-interface201] mpls
 
[3Com-vlan-interface201] mpls ldp enable 
mpls ldp hops-count
Syntax
mpls ldp hops-count hop-number
undo mpls ldp hops-count
View
System view
Parameter
hop-number: Maximum hop count of loop detection, ranging from 1 to 32.
Description
Use the mpls ldp hops-count command to set the maximum hop count of loop 
detection.
Use the undo mpls ldp hops-count command to restore the default value of the 
maximum hop count of loop detection.
By default, the maximum hop count of loop detection is 32.
If you need to enable loop detection, configure this command before LDP is 
enabled on all interfaces. Its value, which depends on actual networking, 
determines the loop detection speed during LSP creation
Related command: mpls ldp loop-detection and mpls ldp path-vector.