Alcatel-Lucent 6850-48 ネットワークガイド

ページ / 1162
Configuring MPLS
Configuring MPLS
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 10-25
• LSP tunnels forward packets in one direction. As a result, two uni-directional static LSP tunnels are 
required to form a bi-directional tunnel communication between two routers in a Provider network. 
Configuring the MPLS Interface
An MPLS interface is required on each switch (ingress, transit, and egress) that will participate in the 
static LSP tunnel. This interface is created on an IP interface that already exists in the switch configuration
To configure MPLS on an interface, use the 
 command and specify the 
name of an existing IP interface name. For example, the following command enables MPLS support on 
the IP interface named “mpls-vlan-10”:
-> configure router mpls interface mpls-vlan-10
By default, the interface is enabled. To administratively disable the interface, use the 
 command. For example:
-> configure router mpls interface mpls-vlan-10 shutdown
To enable an interface that was previously disabled, use the configure router mpls interface shutdown 
command with the no shutdown option. For example:
-> configure router mpls interface mpls-vlan-10 no shutdown
Configuring the MPLS Label-Map
The MPLS label-map specifies an incoming label number that a transit or egress router will act upon. To 
configure the label-map number, use th
 command to associ-
ate an incoming label number with the specified MPLS router interface. For example:
-> configure router mpls interface mpls-vlan-10 label-map 777
Once the label-map is created, configure a label-map swap (transit router) or pop (egress router) action to 
associate with the label-map number. 
Configuring the MPLS Label-Map Swap
A label-map swap action exchanges the incoming label number with an outgoing label number and 
forwards the packet on to the next-hop router in the static LSP. This type of action is only configured for 
MPLS interfaces on transit routers.
To configure a label-map swap action, use the 
 command and specify the MPLS interface name, the incoming label number, an outgoing label 
number, and the next-hop IP address. For example:
-> configure router mpls interface mpls-vlan-10 label-map 777 swap 888 next-hop 
192.168.30.1
The above command swaps incoming label number 777 for outgoing label number 888 and forwards the 
packet to the next-hop router (192.168.30.1). The incoming label-map for label 777 was previously 
configured using th
 command.
Note that if an ARP entry for the specified next hop exists, then the static LSP is marked as operational. If 
an ARP entry does not exist, then the static LSP is marked as operationally down and the local router 
continues to ARP for the configured next hop at a fixed interval.