108
Use
undo network
to disable OSPF for the interface attached to the specified network in the area.
Syntax
network
ip-address wildcard-mask
undo
network
ip-address wildcard-mask
Default
OSPF is not enabled for any interface.
Views
OSPF area view
Predefined user roles
network-admin
View
OSPF area view
Parameters
ip-address
: Specifies the IP address of a network.
wildcard-mask
: Specifies the wildcard mask of the IP address. For example, the wildcard mask of mask
255.0.0.0 is 0.255.255.255.
Usage guidelines
This command enables OSPF on the interface attached to the specified network
.
The interface's primary
IP address must be in the specified network. If only the interface's secondary IP address is in the network,
the interface cannot run 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
Related commands
ospf
nssa
Use
nssa
to configure the current area as an NSSA area.
Use
undo nssa
to restore the default.
Syntax
nssa
[
default-route-advertise
|
no-import-route
|
no-summary
|
translate-always |
translator-stability-interval
value
] *
undo nssa
Default
No area is configured as an NSSA area.