OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : Pseudowire Status : P
P
 
#configure terminal
Enter configure mode.
(config)#interface lo
Enter interface mode.
(config-if)#ip address 2.2.2.2/32
Set the IP address for the interface
(config-if)#label-switching
Enable label switching on interface lo
(config-if)#exit
Exit interface mode
(config)#interface eth1
Enter interface mode.
(config-if)#ip address 20.1.1.1/24
Set the IP address for the interface
(config-if)#label-switching
Enable label switching on interface eth1
(config-if)#exit
Exit interface mode
(config)#interface eth2
Enter interface mode.
(config-if)#ip address 10.1.1.2/24
Set the IP address for the interface
(config-if)#label-switching
Enable label switching on interface eth2
(config-if)#exit
Exit interface mode
(config)#mpls ilm-entry 200 eth2 swap 2000 eth1 20.1.1.2 3.3.3.3/32
Configure ILM Swap Entry for forward MPLS Tunnel
(config)#mpls ilm-entry 111 eth1 swap 2222 eth2 10.1.1.1 1.1.1.1/32
Configure ILM Swap Entry for reverse MPLS Tunnel
Last modified date: 07-13-2023