
CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches Page 131 of 350
DUT# configure terminal Enter the Configure mode.
DUT(config-if)# exit Exit the Interface mode and return to Configure mode.
DUT(config)# router ospf 100 Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.
DUT(config-router)# router-id 192.168.1.62 Configure OSPF Router ID (192.168.1.62) for this
router.
DUT(config-router)# network 10.10.21.0/24 area 0
DUT(config-router)# network 10.10.22.0/24 area 1
Define interfaces on which OSPF runs and associate the
area IDs (0 and 1) with the interface.
DUT(config-router)# area 1 virtual-link 192.168.2.63 Configure a virtual link between this router R1 and R2
(Router ID 192.168.2.63) through transit area 1.
R2
DUT(config)# interface loopback 20 Specify loopback as the interface you want to configure
DUT(config-if)# ip address 192.168.2.63/32 Configure the IP address on this interface.
DUT(config-if)# exit Exit the Interface mode and return to Configure mode.
DUT(config)# router ospf 100 Configure the Routing process and specify the Process
ID (100). The Process ID should be a unique positive
integer identifying the routing process.
DUT(config-router)# router-id 192.168.2.63 Configure OSPF Router ID (192.168.1.63) for this
router.
DUT(config-router)# network 10.10.23.0/24 area 1
DUT(config-router)# network 10.10.24.0/24 area 2
DUT(config-router)# network 192.168.2.63/32 area 2
Define interfaces on which OSPF runs and associate the
area IDs (1 and 2) with the interface.
DUT(config-router)# area 1 virtual-link 192.168.1.62 Configure a virtual link between this router R2 and
R1(Router ID 192.168.2.62) through transit area 1.
Validation Commands
show ip ospf virtual link, show ip ospf neighbor, show ip ospf, show ip ospf route
Komentarze do niniejszej Instrukcji