R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
46
• path-vectors
label advertise
Use label advertise to specify what type of label the egress should distribute to the penultimate hop.
Use undo label advertise to restore the default.
Syntax
label advertise { explicit-null | implicit-null | non-null }
undo label advertise
Default
The egress distributes an implicit null label to the penultimate hop.
Views
MPLS view
Default command level
2: System level
Parameters
explicit-null: Specifies the egress to distribute an explicit null label of 0 to the penultimate hop.
implicit-null: Specifies the egress to distribute an implicit null label of 3 to the penultimate hop.
non-null: Specifies the egress to distribute a normal label of not less than 1024 to the penultimate hop.
Usage guidelines
The type of label for an egress to distribute depends on whether the penultimate hop supports PHP. If the
penultimate hop supports PHP, you can configure the egress to distribute the explicit null or implicit null
label to the penultimate hop. If the penultimate hop does not support PHP, configure the egress to
distribute a normal label.
If LDP sessions have been established, use the reset mpls ldp command to reset the sessions to bring the
label advertise command into effect.
Examples
# Configure the egress to distribute an explicit null label to the penultimate hop.
<Sysname> system-view
[Sysname] mpls
[Sysname-mpls] label advertise explicit-null
label-distribution
Use label-distribution to specify the label distribution control mode.
Use undo label-distribution to restore the default.
Syntax
label-distribution { independent | ordered }
undo label-distribution










