OcNOS-SP : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : Static VPLS Service Mapping Configuration : Configuration
Configuration
PE1: Loopback Interface
 
#configure terminal
Enter configuration mode.
(config)#interface lo
Enter interface mode for the loopback interface.
(config-if)#ip address 21.21.21.21/32 secondary
Configure IP address on loopback interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
PE1: Interface Configuration
 
(config)#interface xe2
Enter interface mode for xe2.
(config-if)#ip address 10.10.23.21/24
Configure IP address on the interface.
(config-if)#label-switching
Enable label switching on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
PE1: Static VPLS Configuration
 
(config)#mpls vpls v1 25
Enter VPLS configuration mode
(config-vpls)#vpls-peer 23.23.23.23 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration mode
(config)#mpls vpls v2 26
Enter VPLS configuration mode
(config-vpls)#vpls-peer 23.23.23.23 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration mode
(config)#mpls vpls v3 27
Enter VPLS configuration mode
(config-vpls)#vpls-peer 23.23.23.23 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration and configuration mode
(config)#mpls vpls v4 28
Enter VPLS configuration mode
(config-vpls)#vpls-peer 23.23.23.23 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#commit
Commit the candidate configuration to the running configuration.
(config-vpls)#end
Exit from VPLS configuration and configuration mode
PE1: FIB Entry Configuration
 
#configure terminal
Enter configuration mode.
(config)#mpls ftn-entry tunnel-id 1 23.23.23.23/32 100 10.10.23.22 xe2 primary
Configure Static LSP FTN entry
(config)#mpls ilm-entry 250 pop
Configure ILM entry
(config)#commit
Commit the candidate configuration to the running configuration.
(config)#exit
Exit
P: Loopback Interface
 
#configure terminal
Enter configuration mode.
(config)#interface lo
Enter interface mode for the loopback interface.
(config-if)#ip address 22.22.22.22/32 secondary
Configure IP address on loopback interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
P: Interface Configuration
 
(config)#interface xe1
Enter interface mode for xe1.
(config-if)#ip address 10.10.23.22/24
Configure IP address on the interface.
(config-if)#label-switching
Enable label switching on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
(config)#interface xe2
Enter interface mode for xe2.
(config-if)#ip address 10.10.21.22/24
Configure IP address on the interface.
(config-if)#label-switching
Enable label switching on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
P: FIB Entry Configuration
 
#configure terminal
Enter configure mode.
(config)#mpls ilm-entry 100 swap 200 xe2 10.10.21.23 23.23.23.23/32
Configure Static LSP ILM entry
(config)#mpls ilm-entry 150 swap 250 xe1 10.10.23.21 21.21.21.21/32
Configure ILM entry
(config)#commit
Commit the candidate configuration to the running configuration.
(config)#exit
Exit
PE2: Loopback Interface
 
#configure terminal
Enter configuration mode.
(config)#interface lo
Enter interface mode for the loopback interface.
(config-if)#ip address 23.23.23.23/32 secondary
Configure IP address on loopback interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
PE2: Interface Configuration
 
(config)#interface xe1
Enter interface mode for xe1.
(config-if)#ip address 10.10.21.23/24
Configure IP address on the interface.
(config-if)#label-switching
Enable label switching on the interface.
(config-if)#commit
Commit the candidate configuration to the running configuration.
(config-if)#exit
Exit interface mode
PE2: Static VPLS Configuration
 
(config)#mpls vpls v1 25
Enter VPLS configuration mode
(config-vpls)#vpls-peer 21.21.21.21 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration mode
(config)#mpls vpls v2 26
Enter VPLS configuration mode
(config-vpls)#vpls-peer 21.21.21.21 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration mode
(config)#mpls vpls v3 27
Enter VPLS configuration mode
(config-vpls)#vpls-peer 21.21.21.21 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#exit
Exit from VPLS configuration and configuration mode
(config)#mpls vpls v4 28
Enter VPLS configuration mode
(config-vpls)#vpls-peer 21.21.21.21 tunnel-id 1 manual
Configure VPLS peer
(config-vpls)#commit
Commit the candidate configuration to the running configuration.
(config-vpls)#exit
Exit from VPLS configuration and configuration mode
PE2: FIB Entry Configuration
 
(config)#mpls ftn-entry tunnel-id 1 21.21.21.21/32 150 10.10.21.22 xe1
Configure Static LSP FTN entry
(config)#mpls ilm-entry 200 pop
Configure ILM entry
(config)#commit
Commit the candidate configuration to the running configuration.
(config)#exit
Exit
 
Last modified date: 07/17/2023