3com S7906E Guide De Référence
1-29
Description
Use the hops-count command to set the maximum hop count for loop detection.
Use the undo hops-count command to restore the default.
By default, the maximum hop count for loop detection is 32.
Note that:
z
You need to configure this command before enabling LDP on any interface.
z
The maximum hop count dictates how fast LDP detects a loop. Adjust this argument as required.
Related commands: loop-detect, path-vectors.
Examples
# Set the maximum hop count for loop detection to 25 for the public network LDP instance.
<Sysname> system-view
[Sysname] mpls ldp
[Sysname-mpls-ldp] hops-count 25
# Set the maximum hop count for loop detection to 25 for LDP instance vpn1.
<Sysname> system-view
[Sysname] mpls ldp vpn-instance vpn1
[Sysname-mpls-ldp-vpn-instance-vpn1] hops-count 25
label advertise
Syntax
label advertise { explicit-null | implicit-null | non-null }
undo label advertise
View
MPLS view
Default Level
2: System level
Parameters
explicit-null: Specifies that the egress supports PHP and distributes to the penultimate hop an explicit
null label, whose value is 0.
implicit-null: Specifies that the egress supports PHP and distributes to the penultimate hop an implicit
null label, whose value is 3.
non-null: Specifies that the egress does not support PHP and distributes to the penultimate hop a
normal label, whose value is not less than 1024.
Description
Use the label advertise command to specify whether the egress should support PHP and what type of
label the egress should distribute to the penultimate hop.
Use the undo label advertise command to restore the default.