Alcatel-Lucent 6850-48 Guida Di Rete
Configuring MPLS
Configuring MPLS
page 10-26
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
Configuring the MPLS Label-Map Protect Swap
A label-map protect-swap action provides a backup static label-map swap in the event the primary static
path to the next-hop router goes down. This type of action is only configured for MPLS interfaces on tran-
sit routers.
path to the next-hop router goes down. This type of action is only configured for MPLS interfaces on tran-
sit routers.
To configure a label-map protect-swap action, use the
command and specify the MPLS interface name, the incoming label number, and
an outgoing label number and next-hop IP address that is different from the primary label-map swap path.
For example:
For example:
-> configure router mpls interface mpls-vlan-10 label-map 777 protect-swap 999
next-hop 192.168.10.1
When a label-map protect-swap action is configured, the static Fast ReRoute (FRR) mechanism is auto-
matically invoked and will use the protect-swap label-map to redirect packets to the alternate path. See
matically invoked and will use the protect-swap label-map to redirect packets to the alternate path. See
for more information.
Configuring the MPLS Label-Map Pop
A label-map pop action removes the incoming label number from the top of the packet. This type of action
is only configured on egress routers and identifies the router as the static LSP tunnel endpoint.
is only configured on egress routers and identifies the router as the static LSP tunnel endpoint.
command
and specify the MPLS interface name and the incoming label number. For example:
-> configure router mpls interface mpls-vlan-10 label-map 888 pop
When the label is popped off the top of the packet, MPLS switching stops and the packet is forwarded
according to the service header information.
according to the service header information.
Enable or Disable the MPLS Label-Map
By default, an MPLS label-map is disabled at the time the label-map is created. Once the label-map is
created and associated with a label-map action (swap or pop), use the
created and associated with a label-map action (swap or pop), use the
command with the no shutdown option to enable the label-map. For example:
-> configure router mpls interface mpls-vlan-10 label-map no shutdown.
To disable the label-map configuration, enter the following command:
-> configure router mpls interface mpls-vlan-10 label-map shutdown.
Note that disabling the label-map does not remove the label-map configuration from the switch. However,
incoming packets are dropped if they contain a label number that matches the disabled label-map number.
incoming packets are dropped if they contain a label number that matches the disabled label-map number.
Configuring the Static LSP Instance
The static LSP instance is configured on the ingress router and identifies the origination point of the static
LSP tunnel. To configure a static LSP instance on the ingress router, use the
LSP tunnel. To configure a static LSP instance on the ingress router, use the
command and specify a name to associate with the instance. For example:
-> configure router mpls static-lsp to-R3
To remove a static LSP instance from the ingress router, administratively disable (see
) the LSP instance and then use the no form of the configure
router mpls static-lsp command. For example:
-> configure router mpls static-lsp to-R3 shutdown