OcNOS-SP : Layer 2 Guide : Layer 2 Configuration Guide : PW Redundancy with MLAG Configuration : Uplink Interface and OSPF Configuration
Uplink Interface and OSPF Configuration
PE1
 
#configure terminal
Enter configure mode.
(config)#interface lo
Configure the Loopback interface.
(config-if)# ip address 35.35.35.35/32 secondary
Set the IP address of the loopback interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe5
Enter interface mode.
(config-if)# ip address 10.35.48.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe9
Enter interface mode.
(config-if)# ip address 10.35.33.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe10
Enter interface mode.
(config-if)# ip address 10.35.49.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)#router ospf 100
Enter the Router mode for OSPF.
(config-router)#ospf router-id 35.35.35.35
Configure OSPF router ID.
(config-router)# bfd all-interfaces
Configure BFD on OSPF.
(config-router)#network 10.35.48.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
 
(config-router)#network 10.35.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-router)#network 10.35.33.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#exit
Exit router mode.
PE2
 
#configure terminal
Enter configure mode.
(config)#interface lo
Configure the Loopback interface.
(config-if)# ip address 33.33.33.33/32 secondary
Set the IP address of the loopback interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe5
Enter interface mode.
(config-if)# ip address 10.33.49.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe9
Enter interface mode.
(config-if)# ip address 10.35.33.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe11
Enter interface mode.
(config-if)# ip address 10.33.48.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)#router ospf 100
Enter the Router mode for OSPF.
(config-router)#ospf router-id 33.33.33.33
Configure OSPF router ID.
(config-router)# bfd all-interfaces
Configure BFD on OSPF.
(config-router)#network 10.33.48.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.33.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.35.33.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-router)#exit
Exit router mode
 
P3
 
#configure terminal
Enter configure mode.
(config)#interface lo
Configure the Loopback interface.
(config-if)# ip address 48.48.48.48/32 secondary
Set the IP address of the loopback interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe5
Enter interface mode.
(config-if)# ip address 10.35.48.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe6
Enter interface mode.
(config-if)# ip address 10.48.32.1/30
Set the IP address of the interface
(config-if)#exit
Exit interface mode.
(config)# interface xe7
Enter interface mode.
(config-if)# ip address 10.48.49.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe11
Enter interface mode.
(config-if)# ip address 10.33.48.2/30
Set the IP address of the interface
(config-if)#exit
Exit interface mode.
(config)#router ospf 100
Enter the Router mode for OSPF.
(config-router)#ospf router-id 48.48.48.48
Configure OSPF router ID.
(config-router)# bfd all-interfaces
Configure BFD on OSPF.
(config-router)#network 10.35.48.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.48.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.48.32.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-router)#network 10.33.48.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-router)#exit
Exit router mode
 
P4
 
#configure terminal
Enter configure mode.
(config)#interface lo
Configure the Loopback interface.
(config-if)# ip address 49.49.49.49/32 secondary
Set the IP address of the loopback interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe5
Enter interface mode.
(config-if)# ip address 10.33.49.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe6
Enter interface mode.
(config-if)# ip address 10.49.32.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe7
Enter interface mode.
(config-if)# ip address 10.48.49.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe10
Enter interface mode.
(config-if)# ip address 10.35.49.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)#router ospf 100
Enter the Router mode for OSPF.
(config-router)#ospf router-id 49.49.49.49
Configure OSPF router ID.
(config-router)# bfd all-interfaces
Configure BFD on OSPF.
(config-router)#network 10.35.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.48.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.49.32.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-router)#network 10.33.49.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
(config-if)#exit
Exit interface mode.
 
P5
 
#configure terminal
Enter configure mode.
(config)#interface lo
Configure the Loopback interface.
(config-if)# ip address 32.32.32.32/32 secondary
Set the IP address of the loopback interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe6
Enter interface mode.
(config-if)# ip address 10.48.32.2/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)# interface xe7
Enter interface mode.
(config-if)# ip address 10.49.32.1/30
Set the IP address of the interface.
(config-if)#exit
Exit interface mode.
(config)#router ospf 100
Enter the Router mode for OSPF.
(config-router)#ospf router-id 32.32.32.32
Configure OSPF router ID.
(config-router)# bfd all-interfaces
Configure BFD on OSPF.
(config-router)#network 10.48.32.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-router)#network 10.49.32.0/30 area 0.0.0.0
Define the Network on which OSPF runs and associate the
area ID (area 0) with the interface.
 
(config-if)#exit
Exit interface mode.
 
Last modified date: 10/12/2023