OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS Statistics Configuration : Configure Static-LSP
Configure Static-LSP
RTR1: Global Static configuration
 
(config)#mpls ftn-entry 44.44.44.44/32 100 10.10.10.2 xe1
Configure FTN entry for rtr4 loopback.
(config)#mpls ilm-entry 900 pop
Pop the incoming label
(config)#commit
Commit the transaction.
RTR1: Enabling label switching on interface
 
(config)#interface xe2
Enter interface mode for xe2.
(config-if)#label-switching
Enable Label switching on the interface.
(config)#commit
Commit the transaction.
RTR2: Global Static configuration
 
mpls ilm-entry 100 swap 200 xe2 20.20.20.2 44.44.44.44/32
Swap the incoming label
mpls ilm-entry 800 swap 900 xe1 10.10.10.1 11.11.11.11/32
Swap the incoming label
RTR2: Enabling label switching on interface
 
(config)#interface xe1
Enter interface mode for xe1.
(config-if)#label-switching
Enable Label switching on the interface.
(config-if)#exit
Exit interface mode.
(config)#interface xe2
Enter interface mode for xe2.
(config-if)#label-switching
Enable Label switching on the interface.
(config-if)#commit
Commit the transaction.
RTR3: Global Static configuration
 
(config)#mpls ilm-entry 200 swap 300 xe2 30.30.30.2 44.44.44.44/32
Swap the incoming label
(config)#mpls ilm-entry 700 swap 800 xe1 20.20.20.1 11.11.11.11/32
Swap the incoming label
(config)#commit
Commit the transaction.
RTR3: Enabling label switching on interface
 
(config)#interface xe1
Enter interface mode for xe1.
(config-if)#label-switching
Enable Label switching on the interface.
(config-if)#exit
Exit interface mode.
(config)#interface xe3
Enter interface mode for xe3.
(config-if)#label-switching
Enable Label switching on the interface.
(config-if)#commit
Commit the transaction.
RTR4: Global Static configuration
 
(config)#mpls ftn-entry 11.11.11.11/32 700 30.30.30.1 xe1
Configure FTN entry for RTR1 loopback.
(config)mpls ilm-entry 300 pop
Pop the incoming label.
(config)#commit
Commit the transaction.
RTR4: Enabling label switching on interface
 
(config)#interface xe1
Enter interface mode for xe1.
(config-if)#label-switching
Enable Label switching on the interface.
(config-if)#commit
Commit the transaction.
Last modified date: 10/17/2023