4-45
Examples
# Specify the maximum number of intra-area routes as 500.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] maximum-routes intra 500
network (OSPF area view)
Syntax
network ip-address wildcard-mask
undo
network ip-address wildcard-mask
View
OSPF area view
Default Level
2: System level
Parameters
ip-address
: IP address of a network.
wildcard-mask
: Wildcard mask of the IP address. For example, the wildcard mask of mask 255.0.0.0 is
0.255.255.255.
Description
Use the
network
command to enable OSPF on the interface attached to the specified network in the
area.
Use the
undo network
command to disable OSPF for the interface attached to the specified network
in the area.
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.
Related commands:
ospf
.
Examples
# 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
Syntax
nssa
[
default-route-advertise
|
no-import-route
|
no-summary | translate-always |
translator-stability-interval value
] *
undo nssa