network (OSPF)

Last Updated : Nov 06, 2012 |
Enables OSPF in this network. Use no network to disable OSPF in this network. The default value is disabled.
Prolog information

Syntax

network net_addr [wildcard_mask [area area_id]]

Parameters

Parameter
Description
Possible Values
Default Value
net_addr
The IP address
wildcard_mask
The wildcard mask
area
Keyword specifying an area
area_id
The area ID number

User level

read-write

Context

Router: ospf

Example

To enable OPSF on the range of IP addresses from 192.168.0.0 to 192.168.255.255 in area ID 0.0.0.0:
Gxxx-001(router:ospf)# network 192.168.0.0 0.0.255.255 area 0.0.0.0