router : ospf : config network
config network
Use this subcommand to identify the interfaces to include in the specified OSPF area. The prefix field can define one or multiple interfaces.
The area and prefix fields are required.
edit <network_id>
Enter an ID number for the network. The number must be an integer.
No default.
area <id-address_ipv4>
The ID number of the area to be associated with the prefix.
prefix <address_ipv4mask>
Enter the IP address and netmask for the OSPF network.
Use the following command to enable OSPF for the interfaces attached to networks specified by the IP address and the netmask and to add these interfaces to area
config router ospf
config network
edit 2
set area
set prefix