#configure terminal | Enter configure mode. |
(config)#mpls-tp global-id 777 node-id 2.2.2.2 | Configure MPLS-TP Global ID |
(config)#interface eth1 | Enter interface mode. |
(config-if)# mpls-tp provider-interface 22.22.22.22 | Set the interface eth1 as provider interface with local interface id as 22.22.22.22 |
(config-if)#exit | Exit interface mode |
(config)#interface eth2 | Enter interface mode. |
(config-if)# mpls-tp provider-interface 33.33.33.33 | Set the interface eth2 as provider interface with local interface id as 33.33.33.33 |
(config-if)#exit | Exit interface mode |
(config)#mpls l2-circuit-fib-entry 1 555 666 tp-tunnel T1 eth1 | Configure a FIB Entry for the PW1 |
(config)#mpls-tp tunnel 1 source 999 1.1.1.1 destination 888 3.3.3.3 | Configure a FTN Entry for MPLS Tunnel |
(config-tnl)# tunnel-name T1 | Configure Tunnel Name |
(config-tnl)# tunnel-mode bidirectional | Configure Tunnel Mode as Bidirectional |
(config-bidir-tnl)# forward-path ilm-entry 1000 eth2 swap 1500 eth1 | Configure Forward Path nhlfe entry |
(config-bidir-tnl)# reverse-path ilm-entry 1500 eth1 swap 2000 eth2 | Configure Reverse Path ilm pop entry |