Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands
Huawei Technologies Proprietary
3-36
By default, a maximum of 20K exterior routes are allowed to be imported.
Example
# Set the maximum number of exterior routes allowed to be imported to 50K.
[Quidway-ospf-1] import-route-limit 50000
3.1.34 network
Syntax
network ip-address ip-mask
undo network ip-address ip-mask
View
OSPF Area view
Parameter
ip-address: Address of the network segment where the interface resides.
ip-mask: IP address wildcard (similar to the complement of the IP address mask), which
also supports IP address mask input.
Description
Use the network command to configure the interfaces running OSPF.
Use the undo network command to cancel the interfaces running OSPF.
By default, interfaces do not belong to any OSPF area.
With the two parameters, ip-address and ip-mask, one or more interfaces can be
configured as an area. To run the OSPF protocol on one interface, the main IP address
of this interface must belong to the network segment specified by this command. If only
the secondary IP address of the interface is in the range of the network segment
specified by this command, this interface will not run OSPF.
Related command: ospf.
Example
# Specify the interfaces whose main IP addresses are in the segment range of
10.110.36.0 to run OSPF and specify the number of the OSPF area (where these
interfaces are located) as 6.
[Quidway-ospf-1] area 6
[Quidway-ospf-1-area-0.0.0.6] network 10.110.36.0.0 0.0.0.255