Cisco Cisco ASR 5000
OSPF VRF Configuration Mode Commands
network ▀
Command Line Interface Reference, StarOS Release 18 ▄
7613
network
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 > OSPF VRF Configuration
configure > context context_name > router ospf > ip vrf vrf_name
Entering the above command sequence results in the following prompt:
[local]host_name(config-ospf-vrf)#
Syntax
[ no ] network network_ip_address/mask area { area_id| area_ip_address }
no
Disables OSPF on an interface and defines the OSPF area for that network.
network_ip_address/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 in
CIDR notation.
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 /24 an
area ID 2345 and IP address 192.168.1.5:
area ID 2345 and IP address 192.168.1.5:
network 192.168.1.0/24 area 2345 192.168.1.5