Router configuration mode is a Cisco IOS CLI state for configuring a routing-protocol process. Enter it from global configuration mode with router ospf process-id. section 17.4
Use router configuration mode to configure the network command, which:
- Finds interfaces whose IP addresses fall within the specified range. section 17.5
- Activates the routing protocol on matching interfaces. section 17.5
- Advertises the interfaces’ network prefixes to neighbors. section 17.5
Entering the mode and activating OSPF
R1(config)# router ospf 1 R1(config-router)# network 192.168.1.0 0.0.0.7 area 0 R1(config-router)# network 192.168.2.1 0.0.0.0 area 0 The config-router prompt identifies router configuration mode. The first network command can match multiple interfaces; the second matches one exact address. section 17.4
