Alcatel-Lucent 6850-48 Network Guide

Page of 1162
Configuring MPLS
MPLS Application Example
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
page 10-31
Configuring the Example MPLS Network
The following commands are used on each router to configure the LDP-based MPLS network example on 
. The resulting network configuration provides the MPLS core upon which VPLS services are 
provisioned. 
Note. Configuring VPLS is not included in this chapter, but example commands used to configure 
services for the example MPLS network are provided in 
. For more information, see the “Configuring VPLS” chapter in the OmniSwitch AOS Release 6 
Network Configuration Guide.
Router 1 (connects to R2 over VLAN 1 and R3 over VLAN 30)
Prepare the router by setting up VLANs, port assignments, and interfaces.
-> vlan 1
-> ip interface vlan-1 address 192.168.10.1 vlan 1
-> vlan 1 port default 1/3
-> vlan 30
-> ip interface vlan-30 address 192.168.30.1 vlan 30
-> vlan 30 port default 1/4
-> ip interface Loopback0 address 10.10.10.2
The above commands created VLANs 1 (VLAN 1 already exists on the switch), VLAN 30, IP inter-
faces for the VLANs, and the Loopback0 interface address.
• VLAN 1 handles the connection between R1 and R2, using IP interface 192.168.10.1 and port 1/3.
• VLAN 30 handles the connection between R1 and R3, using IP interface 192.168.30.1 and port 1/4.
• The Loopback0 interface was assigned 10.10.10.2, which serves as the MPLS system IP interface.
Enable the MPLS instance (enabled by default), create and enable MPLS interfaces and label-map 
actions.
-> configure router mpls no shutdown
-> configure router mpls interface vlan-30
-> configure router mpls interface vlan-30 no shutdown
-> configure router mpls interface vlan-30 label-map 555
-> configure router mpls interface vlan-30 label-map 555 swap 667 next-hop 
192.168.10.2
-> configure router mpls interface vlan-30 label-map 555 no shutdown              
-> configure router mpls interface vlan-30 label-map 556
-> configure router mpls interface vlan-30 label-map 556 swap 666 next-hop
192.168.10.2
-> configure router mpls interface vlan-30 label-map 556 no shutdown 
-> configure router mpls interface vlan-1
-> configure router mpls interface vlan-1 no shutdown
-> configure router mpls interface vlan-1 label-map 777
-> configure router mpls interface vlan-1 label-map 777 swap 888 next-hop
192.168.30.3
-> configure router mpls interface vlan-1 label-map 777 no shutdown