Network (Ospf Area View) - H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

intra: Specifies the maximum number of intra-area routes.
number: Maximum route number. The maximum and default route numbers vary with devices.
Description
Use the maximum-routes command to specify the maximum route number of a specified type, inter-area,
intra-area or external.
Use the undo maximum-routes command to restore the default route maximum value of a specified type.
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. 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
106

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents