R0106-HP MSR Router Series MPLS Command Reference(V7)

17
Usage guidelines
Execute this command on all interfaces that need to perform MPLS forwarding.
Examples
# Enable MPLS on interface GigabitEthernet 2/0/1.
<Sysname> System-view
[Sysname] interface gigabitethernet 2/0/1
[Sysname-GigabitEthernet2/0/1] mpls enable
Related commands
display mpls interface
mpls label advertise
Use mpls label advertise to specify the type of label the egress will advertise to the penultimate hop.
Use undo mpls label advertise to restore the default.
Syntax
mpls label advertise { explicit-null | implicit-null | non-null }
undo mpls label advertise
Default
As an egress, the device advertises an implicit null label to the penultimate hop.
Views
System view
Predefined user roles
network-admin
Parameters
explicit-null: Specifies the egress to advertise an explicit null label of 0 to the penultimate hop.
implicit-null: Specifies the egress to advertise an implicit null label of 3 to the penultimate hop.
non-null: Specifies the egress to advertise a normal label to the penultimate hop.
Usage guidelines
If the penultimate hop supports PHP, HP recommends that you configure the egress to advertise an
implicit null label to the penultimate hop. If you want to simplify packet forwarding on the egress but keep
labels to determine QoS policies, configure the egress to advertise an explicit null label to the
penultimate hop. HP recommends using non-null labels only in particular scenarios. For example, when
OAM is configured on the egress, the egress can get the OAM function entity status only through non-null
labels.
As a penultimate hop, the device accepts the implicit null label, explicit null label, or normal label
advertised by the egress device.
For LDP LSPs, the mpls label advertise command triggers LDP to delete the LSPs established before the
command is executed and reestablishes new LSPs.
For BGP LSPs, the mpls label advertise command takes effect only on the BGP LSPs established after the
command is executed. To apply the new setting to BGP LSPs established before the command is executed,
delete the routes corresponding to the BGP LSPs, and then redistribute the routes.