OcNOS-RON-6.3.1 : Multi-Protocol Label Switching Guide : Multi-Protocol Label Switching Configuration Guide : MPLS OAM Configuration : P
P
 
#configure terminal
Enter configure mode.
(config)#interface lo
Enter interface mode for loopback.
(config-if)#ip address 2.3.4.5/32
Configure the loopback IP address.
(config-if)#interface eth1
Enter interface mode.
(config-if)#ip address 100.1.1.2/24
Configure the IP address for interface eth1.
(config-if)#interface eth2
Enter interface mode.
(config-if)#ip address 200.1.1.1/24
Configure the IP address for interface eth2.
#exit
Exit interface mode.
(config)#router ospf 100
Configure OSPF.
(config-router)#network 2.3.4.5/32 area 0
Add loopback IP address to OSPF network.
(config)-router#network 100.1.1.0/24 area 0
Add eth1 IP address to OSPF network.
(config)-router#network 200.1.1.0/24 area 0
Add eth2 IP address to OSPF network.
Last modified date: 07-13-2023