Description
Examples
network (OSPF area view)
Syntax
View
Parameters
Description
Related commands:
Examples
nssa
Syntax
Use the
maximum-routes
specified type: inter-area, intra-area, external.
Use the
undo maximum-routes
maximum value of a specified type.
# Specify the maximum number of intra-area routes as 500.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] maximum-routes intra 500
network ip-address wildcard-mask
undo network ip-address wildcard-mask
OSPF area view
ip-address: IP address of a network
wildcard-mask: Wildcard mask of the IP address. For example, the wildcard mask
for the subnet mask 255.0.0.0 is 0.255.255.255.
Use the
command to enable OSPF on the interface attached to the
network
specified network in the area.
Use the
undo network
By default, an interface neither belongs to any area nor runs OSPF.
You can configure one or multiple interfaces in an area to run OSPF. Note that the
interface's primary IP address must fall into the specified network segment to
make the interface run OSPF. If only the interface's secondary IP address falls into
the network segment, the interface cannot run OSPF.
ospf.
# Specify the interface whose primary IP address falls into 131.108.20.0/24 to run
OSPF in Area 2.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] area 2
[Sysname-ospf-100-area-0.0.0.2] network 131.108.20.0 0.0.0.255
nssa [ default-route-advertise | no-import-route | no-summary ]*
command to specify the maximum route number of a
command to restore the default route
command to disable OSPF on an interface.
1141