Cisco Systems 78-6897-01 Example, Verify, Configuring the Routing Protocol, Switch# show ip ospf

Models: 78-6897-01

1 87
Download 87 pages 25.07 Kb
Page 78
Image 78
Configuring the Routing Protocol

Configuring the Routing Protocol

Example

Note An IP address of 1.1.1.1 with a subnet mask of 255.255.255.0 is entered as an IP network prefix of 1.1.1.0 with a subnet mask of 0.0.0.255. Likewise, an IP address of

1.2.1.1with a subnet mask of 255.255.255.0 is entered as an IP network prefix of 1.2.1.0 with a subnet mask of 0.0.0.255.

Switch(config)# router ospf 10000 Switch(config-router)# network 1.1.1.0 0.0.0.255 area 0 Switch(config-router)# network 1.2.1.0 0.0.0.255 area 0 Switch(config-router)# network 1.3.0.0 0.0.255.255 area 0 Switch(config-router)# network 200.2.2.0 0.0.0.255 area 0 Switch(config-router)# network 1.0.1.0 0.0.0.255 area 0 Switch(config-router)# network 1.18.0.0 0.0.255.255 area 0 Switch(config-router)# exit

Switch(config)#

Verify

Switch# show ip ospf

Routing Process "ospf 10000" with ID 1.0.1.11

Supports only single TOS(TOS0) routes

SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Number of DCbitless external LSA 0

Number of DoNotAge external LSA 0

Number of areas in this router is 1. 1 normal 0 stub 0 nssa Area BACKBONE(0) (Inactive)

Number of interfaces in this area is 4

Area has no authentication

SPF algorithm executed 2 times

Area ranges are

Link State Update Interval is 00:30:00 and due in 00:14:42 Link State Age Interval is 00:20:00 and due in 00:14:10 Number of DCbitless LSA 0

Number of indication LSA 0

Number of DoNotAge LSA 0

Switch#

Configuring Tag Switching 5-5

Page 78
Image 78
Cisco Systems 78-6897-01 manual Example, Verify, Configuring the Routing Protocol, Switch# show ip ospf