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.
To configure a label-map protect-swap action, use the configure router mpls interface label-map
protect-swap next-hop 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:
-> 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
“Using Static Fast ReRoute (FRR)” on page 10-27 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.
To configure a label-map pop action, use the configure router mpls interface label-map pop 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.
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 configure router mpls interface
label-map shutdown 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.
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 configure router mpls
static-lsp 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 “Enable or Disable
the Static LSP Instance” on page 10-27) 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