The label advertise command configures the labels to be assigned to the penultimate hop.
The undo label advertise command restores the default label.
By default, the egress node assigns implicit-null labels to the penultimate hop.
Parameter | Description | Value |
---|---|---|
explicit-null |
Enables the egress node to assign explicit null labels to the penultimate hop if the penultimate hop does not support the PHP feature. If the information contained in the label needs to be sent to the penultimate hop, this parameter is required. The value of the explicit null label is 0(ipv4). |
- |
implicit-null |
Enables the egress node to assign implicit null labels to the penultimate hop if the penultimate hop supports the PHP feature. The value of the implicit null label is 3. |
- |
non-null |
Enables the egress node to assign common labels to the penultimate hop if the penultimate hop does not support the PHP feature. If the penultimate hop does not support the PHP feature, this parameter is required. The value of the label must be greater than or equal to 16. |
- |
Usage Scenario
Run the label advertise command to configure the type of labels assigned to the penultimate hop on the egress. The default configuration implicit-null is recommended. The setting eases the forwarding burden on the egress, improving the forwarding efficiency.
You can choose a type as needed.Prerequisites
MPLS LDP has been enabled globally using the mpls command in the system view.
Precautions
The label advertise command takes effect on newly established LSPs. For existing LSPs, perform the one of following operations to make the command take effect: