OcNOS-RON : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS-TP Processing
MPLS-TP Processing
Overview
This feature performs ‘Time To Live’ (TTL) processing for Multi-Protocol Label Switching (MPLS) packets. The TTL processing is decided by the model chosen by you. This feature will provide TTL processing of MPLS packets on ingress, egress, and intermediate routers. TTL processing is compliant with RFC 3443. The details of TTL processing vary with the tunnel model that is configured for TTL processing.
The incoming and outgoing TTL of the packet is determined by the configured tunnel model. This feature implements different rules for processing of the TTL on I-LER, LSR, E-LER:
Short Pipe model is a slight variation of the Pipe Model and is used to differentiate between different egress forwarding and QoS treatments.Short Pipe Model is utilized when the customer and service provider are in different DiffServ domains. Hence the models provided to the users are uniform, Short Pipe, and Pipe.
In OcNOS, Uniform and Pipe model are present. Uniform model is taken by default. The Pipe Model for TTL is can be being used in multiple networks and is provided as a configurable option. This chapter shows Uniform, Short pipe, and Pipe models as per RFC 3443.
Configuring Tunnels Using IETF Identifiers
Topology
The procedures in this section use the topology in Figure 13-1.
TTL Processing Topology
Unidirectional Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 100 node-id 1.1.1.1
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 1001 eth1
Configure the NHLFE entry as push.
P1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 200 node-id 2.2.2.2
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode.
(config-if)#mpls-tp provider-interface 10.1.1.2
Configure the interface as provider and set the local identifier to 10.1.1.2.
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface eth2 as provider interface and the interface local ID as 30.1.1.1.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1001 eth1 swap 1002 eth2
Configure the ILM entry as swap.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 300 node-id 3.3.3.3
Configure the global identifier and node identifier.
(config)#interface eth2
Enter interface mode.
(config-if)#mpls-tp provider-interface 30.1.1.2
Configure the interface as provider and set the local identifier to 30.1.1.2.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1002 eth2 pop
Configure the ILM entry as pop.
Validation
PE1
PE1#sh mpls-tp tunnel
 
<============================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Source Tunnel Index : 1
Mode : UNIDIRECTIONAL Tunnel State : UP
 
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 1001 Outgoing-Interface : eth1
NHLFE Index : 1
BW-class : N/A
Status : UP
P1
P1#show mpls-tp tunnel
 
<============================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Transit Tunnel Index : 1
Mode : UNIDIRECTIONAL Tunnel State : UP
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1001 Incoming-Interface : eth1
ILM-Index : 1 Cross-Connect-Index : 1
Outgoing-Label : 1002 Outgoing-Interface : eth2
NHLFE Index : 1
BW-class : N/A
Status : UP
PE2
PE2#show mpls-tp tunnel
 
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Destination Tunnel Index : 1
Mode : UNIDIRECTIONAL Tunnel State : UP
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 1002 Incoming-Interface : eth2
ILM-Index : 1 Cross-Connect-Index : 1
Status : UP
Co-Routed Bi-Directional Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 100 node-id 1.1.1.1
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path nhlfe-entry 1001 eth1
Configure the NHLFE entry to push the label at ingress for the forward path.
(config-bidir-tnl)#reverse-path ilm-entry 2002 eth1 pop
Configure the ILM entry to pop the label at egress for the reverse path.
P1 (NSM)
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 200 node-id 2.2.2.2
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.2
Configure the interface as provider and set the local identifier to 10.1.1.2
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path ilm-entry 1001 eth1 swap 1002 eth2
Configure the ILM entry to swap the label at transit for the forward path.
(config-bidir-tnl)#reverse-path ilm-entry 2001 eth2 swap 2002 eth1
Configure the ILM entry to swap the label at transit for the reverse path.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 300 node-id 3.3.3.3
Configure the global identifier and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 30.1.1.2
Configure the interface as provider and set the local identifier to 20.1.1.2.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path ilm-entry 1002 eth2 pop
Configure the NHLFE entry to push the label at ingress for the forward path.
(config-bidir-tnl)#reverse-path nhlfe-entry 2001 eth2
Configure the ILM entry to pop the label at egress for the reverse path.
Validation
PE1
PE1#show mpls-tp tunnel
 
<============================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Source Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 1001 Outgoing-Interface : eth1
NHLFE Index : 1
BW-class : N/A
Status : UP
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 2002 Incoming-Interface : eth1
ILM-Index : 1 Cross-Connect-Index : 2
Status : UP
<============================================================================>
P1
P1#show mpls-tp tunnel
 
<============================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Transit Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1001 Incoming-Interface : eth1
ILM-Index : 1 Cross-Connect-Index : 1
Outgoing-Label : 1002 Outgoing-Interface : eth2
NHLFE Index : 1
BW-class : N/A
Status : UP
Reverse-Path : ILM <OPCODE : Swap>
Incoming-Label : 2001 Incoming-Interface : eth2
ILM-Index : 2 Cross-Connect-Index : 2
Outgoing-Label : 2002 Outgoing-Interface : eth1
NHLFE Index : 2
BW-class : N/A
Status : UP
: N/A
Status : UP
<============================================================================>
PE2
PE2#show mpls-tp tunnel
 
<============================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Destination Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : ILM <OPCODE : Pop>
Incoming-Label : 1002 Incoming-Interface : eth2
ILM-Index : 1 Cross-Connect-Index : 1
Status : UP
Reverse-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 2001 Outgoing-Interface : eth2
NHLFE Index : 1
BW-class : N/A
Status : UP
: N/A
Status : UP
<============================================================================>
Associated Bi-Directional Tunnel
In this configuration, the associated tunnel reverse path travels in different nodes.
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 100 node-id 1.1.1.1
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1.
(config-if)#exit
Exit interface mode.
(config)#interface eth3
Enter interface mode.
(config-if)#mpls-tp provider interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1.
(config-if)#exit
Exit interface mode.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 1001 eth1
Configure the NHLFE entry to push label at ingress for the forward path.
(config)#mpls-tp tunnel 2 source 300 3.3.3.3 destination 100 1.1.1.1
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl2
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2002 eth3 pop
Configure the ILM entry to pop the label at ingress for the reverse path.
(config)#mpls-tp associate fwd-tunnel tnl1 rev-tunnel tnl2
Associate the forward and reverse tunnels.
P1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 200 node-id 2.2.2.2
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.2
Configure the interface as provider and set the local identifier to 10.1.1.2
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1001 eth1 swap 1002 eth2
Configure the ILM entry to swap the label at transit for the forward path.
P2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 400 node-id 4.4.4.4
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 60.1.1.1
Configure the interface as provider and set the local identifier to 60.1.1.1
(config-if)#exit
Exit interface mode.
(config)#interface eth3
Enter interface mode.
(config-tnl)#mpls-tp provider-interface 20.1.1.2
Configure the interface as provider and set the local identifier to 20.1.1.2
(config-if)#exit
Exit interface mode.
(config-tnl)#mpls-tp tunnel 2 source 300 3.3.3.3 destination 100 1.1.1.1
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl2
Set the tunnel name.
(config-tnl)#tunnel-mode undirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2001 eth1 swap 2002 eth3
Configure the ILM entry to swap the label at transit for the forward path.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp global-id 300 node-id 3.3.3.3
Configure the global identifier and node identifier.
(config)#interface eth1
Enter interface mode.
(config-if)#mpls-tp provider-interface 20.1.1.2
Configure the interface as provider and set the local identifier to 20.1.1.2
(config-if)#exit
Exit interface mode.
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config-if)#exit
Exit interface mode.
(config)#mpls-tp tunnel 1 source 100 1.1.1.1 destination 300 3.3.3.3
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl1
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1002 eth2 pop
Configure the ILM entry to pop the label for the forward path at egress.
(config)#mpls-tp tunnel 2 source 300 3.3.3.3 destination 100 1.1.1.1
Configure the tunnel identifier, the source global identifier and node identifier, and the destination global identifier and node identifier.
(config-tnl)#tunnel-name tnl2
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 2001
eth1
Configure NHFLE entry to push the label for the reverse path at egress.
(config)#mpls-tp associate fwd-tunnel tnl2 rev-tunnel tnl1
Associate the forward and reverse tunnels.
Validation
PE1
PE1#show mpls-tp tunnel
<=========================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Source Tunnel Index : 1
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl2
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 1001 Outgoing-Interface : eth1
NHLFE Index : 1
BW-class : N/A
Status : UP
 
<==========================================================================>
Tunnel-id : 2 Tunnel-Name : tnl2
Source Global-Id : 300 Source Node-Id : 3.3.3.3
Destination Global-Id : 100 Destination Node-Id : 1.1.1.1
Role : Destination Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl1
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 2002 Incoming-Interface : eth3
ILM-Index : 1 Cross-Connect-Index : 2
Status : UP
P1
P1#show mpls-tp tunnel
 
<=========================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Transit Tunnel Index : 1
Mode : UNIDIRECTIONAL Tunnel State : UP
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1001 Incoming-Interface : eth1
ILM-Index : 1 Cross-Connect-Index : 1
Outgoing-Label : 1002 Outgoing-Interface : eth2
NHLFE Index : 1
BW-class : N/A
Status : UP
P2
P2#show mpls-tp tunnel
 
<=========================================================================>
Tunnel-id : 2 Tunnel-Name : tnl2
Source Global-Id : 300 Source Node-Id : 3.3.3.3
Destination Global-Id : 100 Destination Node-Id : 1.1.1.1
Role : Transit Tunnel Index : 2
Mode : UNIDIRECTIONAL Tunnel State : UP
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 2001 Incoming-Interface : eth1
ILM-Index : 2 Cross-Connect-Index : 1
Outgoing-Label : 2002 Outgoing-Interface : eth3
NHLFE Index : 2
BW-class : N/A
Status : UP
PE2
PE2#show mpls-tp tunnel
 
<=========================================================================>
Tunnel-id : 2 Tunnel-Name : tnl2
Source Global-Id : 300 Source Node-Id : 3.3.3.3
Destination Global-Id : 100 Destination Node-Id : 1.1.1.1
Role : Source Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl1
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 2001 Outgoing-Interface : eth1
NHLFE Index : 1
BW-class : N/A
Status : UP
 
<===========================================================================>
Tunnel-id : 1 Tunnel-Name : tnl1
Source Global-Id : 100 Source Node-Id : 1.1.1.1
Destination Global-Id : 300 Destination Node-Id : 3.3.3.3
Role : Destination Tunnel Index : 1
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl2
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 1002 Incoming-Interface : eth2
ILM-Index : 1 Cross-Connect-Index : 1
Status : UP
Configuring Tunnels Using ITU-T Identifiers
Topology
The procedures in this section use the topology in Figure 13-2.
MPLS-TP Tunnel Topology (ITUT-T)
Unidirectional Tunnel
Forward Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 1.1.1.1
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1.
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 1001 eth1
Configure the NHFE entry to push the label at ingress for the forward path.
P1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 2.2.2.2
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1001 eth2 swap 1002 eth3
Configure the ILM entry to swap the label at transit for the forward path
P2 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 3.3.3.3
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1002 eth2 swap 1003 eth3
Configure the ILM entry to swap the label at transit for the forward path
PE2 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 4.4.4.4
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1003 eth2 pop
Configure the ILM entry to pop the label for the forward path at egress
Validation
PE1
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Source Tunnel Index : 2
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 1001 Outgoing-Interface : eth1
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 11
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P1
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 2
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1001 Incoming-Interface : eth2
ILM-Index : 3 Cross-Connect-Index : 3
Outgoing-Label : 1002 Outgoing-Interface : eth3
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 22
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P2
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 2
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1002 Incoming-Interface : eth2
ILM-Index : 6 Cross-Connect-Index : 3
Outgoing-Label : 1003 Outgoing-Interface : eth3
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 33
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
PE2
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Destination Tunnel Index : 2
Mode : UNIDIRECTIONAL Tunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 1003 Incoming-Interface : eth2
ILM-Index : 2 Cross-Connect-Index : 3
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 444
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
Reverse Tunnel
PE2 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 4.4.4.4
Configure the country code, carrier code, and node identifier.
(config)#interface eth4
Enter interface mode for eth4
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 2002 eth4
Configure the NHFE entry to push the label for the reverse path.
P1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 2.2.2.2
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#interface eth4
Enter interface mode for eth4
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2003
eth4 swap 2004 eth1
Configure the ILM entry to swap the label at transit for the forward path.
P2 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 3.3.3.3
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#interface eth4
Enter interface mode for eth3.
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2002 eth4 swap 2003 eth1
Configure the ILM entry to swap the label at transit for the forward path.
PE1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 1.1.1.1
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2004 eth2 pop
Configure the ILM entry to pop the label at egress for the reverse path.
Validation
PE1
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Destination Tunnel Index : 3
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 2004 Incoming-Interface : eth2
ILM-Index : 2 Cross-Connect-Index : 4
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 11
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P1
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Transit Tunnel Index : 3
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 2003 Incoming-Interface : eth4
ILM-Index : 4 Cross-Connect-Index : 4
Outgoing-Label : 2004 Outgoing-Interface : eth1
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 222
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P2
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Transit Tunnel Index : 3
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 2002 Incoming-Interface : eth4
ILM-Index : 7 Cross-Connect-Index : 4
Outgoing-Label : 2003 Outgoing-Interface : eth1
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 333
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
PE2
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Source Tunnel Index : 3
Mode : UNIDIRECTIONALTunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 2002 Outgoing-Interface : eth4
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 44
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
Co-Routed Bi-Directional Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 1.1.1.1
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#mpls-tp tunnel 1 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_co
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path nhlfe-entry 3001 eth1
Configure the NHFE entry to push the label at ingress for the forward path.
(config-bidir-tnl)#reverse-path
ilm-entry 4002 eth1 pop
Configure the ILM entry to pop the label for the reverse path.
P1 (NSM)
 
#configure terminal
Enter configure mode
(config)#mpls-tp itut cc IN icc AIRTEL node-id 2.2.2.2
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 1 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_co
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path ilm-entry 3001 eth2 swap 3002 eth3
Configure the ILM entry to swap the label at transit for the forward path.
(config-bidir-tnl)#reverse-path ilm-entry 4001 eth3 swap 4002 eth2
Configure the ILM entry to swap the label at transit for the reverse path.
P2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 3.3.3.3
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2.
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_co
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path ilm-entry 3002 eth2 swap 3003 eth3
Configure the ILM entry to swap the label at transit for the forward path.
(config-bidir-tnl)#reverse-path ilm-entry 4000 eth3 swap 4001 eth2
Configure the ILM entry to swap the label at transit for the reverse path.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 4.4.4.4
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#mpls-tp tunnel 1 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_co
Set the tunnel name.
(config-tnl)#tunnel-mode bidirectional
Make the tunnel bidirectional.
(config-bidir-tnl)#forward-path ilm-entry 3003 eth2 pop
Configure the ILM entry to pop the label for the forward path at egress.
(config-bidir-tnl)#reverse-path nhlfe-entry 4000 eth2
Configure the NHFE entry to push the label for the reverse path at egress.
Validation
PE1
#sh mpls-tp tunnel tnl_co
PE1#sh mpls-tp tunnel tnl_co
Tunnel-id : 1 Tunnel-Name : tnl_co
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Source Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 3001 Outgoing-Interface : eth1
NHLFE Index : 1
BW-class : N/A
Status : UP
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 4002 Incoming-Interface : eth1
ILM-Index : 1 Cross-Connect-Index : 2
Status : UP
---------------------------------------------------------
MEG Index : 1 ME Index : 1
---------------------------------------------------------
Lock : Enabled
Loopback : Disabled
P1
#sh mpls-tp tunnel tnl_co
Tunnel-id : 1 Tunnel-Name : tnl_co
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 3001 Incoming-Interface : eth2
ILM-Index : 1 Cross-Connect-Index : 1
Outgoing-Label : 3002 Outgoing-Interface : eth3
NHLFE Index : 1
BW-class : N/A
Status : UP
Reverse-Path : ILM <OPCODE : Swap>
Incoming-Label : 4001 Incoming-Interface : eth3
ILM-Index : 2 Cross-Connect-Index : 2
Outgoing-Label : 4002 Outgoing-Interface : eth2
NHLFE Index : 2
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 1 ME Index : 2
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P2
#sh mpls-tp tunnel tnl_co
Tunnel-id : 1 Tunnel-Name : tnl_co
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 3002 Incoming-Interface : eth2
ILM-Index : 3 Cross-Connect-Index : 1
Outgoing-Label : 3003 Outgoing-Interface : eth3
NHLFE Index : 1
BW-class : N/A
Status : UP
Reverse-Path : ILM <OPCODE : Swap>
Incoming-Label : 4000 Incoming-Interface : eth3
ILM-Index : 4 Cross-Connect-Index : 2
Outgoing-Label : 4001 Outgoing-Interface : eth2
NHLFE Index : 2
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 1 ME Index : 3
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
PE2
#sh mpls-tp tunnel tnl_co
Tunnel-id : 1 Tunnel-Name : tnl_co
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Destination Tunnel Index : 1
Mode : COROUTED(bidirectional) Tunnel State : UP
 
 
Forward-Path : ILM <OPCODE : Pop>
Incoming-Label : 3003 Incoming-Interface : eth2
ILM-Index : 1 Cross-Connect-Index : 1
Status : UP
Reverse-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 4000 Outgoing-Interface : eth2
NHLFE Index : 2
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 1 ME Index : 4
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
Associated Bi-Directional Tunnel
Forward Tunnel
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 1.1.1.1
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 1001 eth1
Configure the NHFE entry to push the label at ingress for the forward path.
P1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 2.2.2.2
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1001 eth2 swap 1002 eth3
Configure the ILM entry to swap the label at transit for the forward path.
P2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 3.3.3.3
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#interface eth3
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 30.1.1.1
Configure the interface as provider and set the local identifier to 30.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1002 eth2 swap 1003 eth3
Configure the ILM entry to swap the label at transit for the forward path.
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 4.4.4.4
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#mpls-tp tunnel 2 source IN AIRTEL 1.1.1.1 destination IN AIRTEL 4.4.4.4
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_fwd
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 1003 eth2 pop
Configure the ILM entry to pop the label for the forward path at egress.
Reverse Tunnel
PE2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 4.4.4.4
Configure the country code, carrier code, and node identifier.
(config)#interface eth4
Enter interface mode for eth4
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#nhlfe-entry 2002 eth4
Configure the NHFE entry to push the label for the reverse path.
P1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 2.2.2.2
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#interface eth4
Enter interface mode for eth4
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2003
eth4 swap 2004 eth1
Configure the ILM entry to SWAP the labels at transit for the forward path
P2 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 3.3.3.3
Configure the country code, carrier code, and node identifier.
(config)#interface eth1
Enter interface mode for eth1
(config-if)#mpls-tp provider-interface 10.1.1.1
Configure the interface as provider and set the local identifier to 10.1.1.1
(config)#interface eth4
Enter interface mode for eth3
(config-if)#mpls-tp provider-interface 40.1.1.1
Configure the interface as provider and set the local identifier to 40.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2002 eth4 swap 2003 eth1
Configure the ILM entry to swap the label at transit for the forward path
PE1 (NSM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp itut cc IN icc AIRTEL node-id 1.1.1.1
Configure the country code, carrier code, and node identifier.
(config)#interface eth2
Enter interface mode for eth2
(config-if)#mpls-tp provider-interface 20.1.1.1
Configure the interface as provider and set the local identifier to 20.1.1.1
(config)#mpls-tp tunnel 3 source IN AIRTEL 4.4.4.4 destination IN AIRTEL 1.1.1.1
Configure the tunnel identifier as well as the country code, carrier code, and node identifier for the source and destination.
(config-tnl)#tunnel-name tnl_as_rev
Set the tunnel name.
(config-tnl)#tunnel-mode unidirectional
Make the tunnel unidirectional.
(config-unidir-tnl)#ilm-entry 2004 eth2 pop
Configure the ILM entry to pop the label at egress for the reverse path
Associate Forward and Reverse Tunnel
PE1 (OAM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp associate fwd-tunnel tnl_as_fwd rev-tunnel tnl_as_rev
Associate the forward and reverse tunnels.
PE2 (OAM)
 
#configure terminal
Enter configure mode.
(config)#mpls-tp associate fwd-tunnel tnl_as_rev rev-tunnel tnl_as_fwd
Associate the forward and reverse tunnels.
Validation: Forward Tunnel
PE1
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Source Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 1001 Outgoing-Interface : eth1
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 11
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P1
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1001 Incoming-Interface : eth2
ILM-Index : 3 Cross-Connect-Index : 3
Outgoing-Label : 1002 Outgoing-Interface : eth3
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 22
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P2
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Transit Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 1002 Incoming-Interface : eth2
ILM-Index : 6 Cross-Connect-Index : 3
Outgoing-Label : 1003 Outgoing-Interface : eth3
NHLFE Index : 3
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 33
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
PE2
#sh mpls-tp tunnel tnl_as_fwd
Tunnel-id : 2 Tunnel-Name : tnl_as_fwd
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 1.1.1.1
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 4.4.4.4
Role : Destination Tunnel Index : 2
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_rev
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 1003 Incoming-Interface : eth2
ILM-Index : 2 Cross-Connect-Index : 3
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 444
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
Validation: Reverse Tunnel
PE1
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Destination Tunnel Index : 3
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Reverse-Path : ILM <OPCODE : Pop>
Incoming-Label : 2004 Incoming-Interface : eth2
ILM-Index : 2 Cross-Connect-Index : 4
Status : UP
MEG Index : 2 ME Index : 11
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P1
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Transit Tunnel Index : 3
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 2003 Incoming-Interface : eth4
ILM-Index : 4 Cross-Connect-Index : 4
Outgoing-Label : 2004 Outgoing-Interface : eth1
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 222
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
P2
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Transit Tunnel Index : 3
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : ILM <OPCODE : Swap>
Incoming-Label : 2002 Incoming-Interface : eth4
ILM-Index : 7 Cross-Connect-Index : 4
Outgoing-Label : 2003 Outgoing-Interface : eth1
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 3 ME Index : 333
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled
PE2
#sh mpls-tp tunnel tnl_as_rev
Tunnel-id : 3 Tunnel-Name : tnl_as_rev
Source ICC-Oper-ID : INAIRTEL Source Node-Id : 4.4.4.4
Destination ICC-Oper-ID: INAIRTEL Destination Node-Id : 1.1.1.1
Role : Source Tunnel Index : 3
Mode : ASSOCIATED(unidirectional) Tunnel State : UP
Associated-Tunnel : tnl_as_fwd
 
Forward-Path : NHLFE <OPCODE : Push>
Outgoing-Label : 2002 Outgoing-Interface : eth4
NHLFE Index : 4
BW-class : N/A
Status : UP
---------------------------------------------------------
MEG Index : 2 ME Index : 44
---------------------------------------------------------
Lock : Disabled
Loopback : Disabled