Cisco Cisco Packet Data Interworking Function (PDIF)
OSPF Configuration Mode Commands
network area ▀
Command Line Interface Reference, StarOS Release 16 ▄
7337
network area
Enables OSPF on an interface and defines the OSPF area for that network.
Product
PDSN
HA
GGSN
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > OSPF Configuration
configure > context context_name > router ospf
Entering the above command sequence results in the following prompt:
[local]host_name(config-ospf)#
Syntax
[ no ] network network_ip_address / network_mask area { area_id | area_ip_address }
no
Disables OSPF on an interface and defines the OSPF area for that network.
network_ip_address/network_mask
Specifies the network address and mask as well as the interface on which OSPF will be enabled.
network_ip_address
in entered in IPv4 dotted-decimal notation, followed by the “/” and the mask
(CIDR).
area_id
Specifies the OSPF area identification number for the specified network as an integer from 0 through
4294967295.
4294967295.
area_ip_address
Specifies the IP address of the OSPF area for this network. This must be entered in IPv4 dotted-decimal
notation.
notation.
Usage
Use this command to specify the IP address of the network interface that the OSPF router will use.
Example
The following command specified that the OSPF router will use the interface at IP address
192.168.1.0
with a netmask of
24
:
network 192.168.1.0/24