OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS-TP Processing : Configuring Tunnels Using ITU-T Identifiers
Configuring Tunnels Using ITU-T Identifiers
Topology
The procedures in this section use the topology in Figure 13-2.
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
 
Last modified date: 07-13-2023