To do...
Configure the egress to support
PHP and specify the type of the
label to be distributed to the
penultimate hop
For the S7900 series Ethernet switches, a label with a value of 0 can be at the top of a label stack. After
receiving a packet with such a label, the switch will pop the label directly and check whether there is any
inner layer label. If finding an inner layer label, the switch will forward the packet based on the inner
layer label; otherwise, the switch will forward the packet based on the IP address.
Configuring a Static LSP
An LSP can be static or dynamic. A static LSP is manually configured, while a dynamic LSP is
established by MPLS LDP.
For a static LSP to work, all LSRs along the LSP must be configured properly.
Static LSPs can be used in MPLS L2VPN.
For configuration of MPLS L2VPN, refer to MPLS L2VPN Configuration in the MPLS Volume.
Configuration Prerequisites
Before configuring a static LSP, be sure to complete these tasks:
Determining the ingress, transit LSRs, and egress for the static LSP,
Configuring MPLS basic capability on all the LSRs.
Configuration Procedure
Follow these steps to configure a static LSP:
To do...
Enter system view
Use the command...
label advertise { explicit-null |
implicit-null | non-null }
Use the command...
system-view
1-19
Remarks
Optional
By default, an egress supports
PHP and distributes to the
penultimate hop an implicit null
label.
Note that you must reset LDP
sessions for the configuration
to take effect.
Remarks
—