#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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 |
#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 |
#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 |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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. |
#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 |
#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 |
#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 |
#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. |
#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. |