H3C S7500E Series Command Manual page 348

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Examples
# Specify the maximum number of intra-area routes as 500.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] maximum-routes intra 500
3.1.36 network
Syntax
network ip-address wildcard-mask
undo network ip-address wildcard-mask
View
OSPF area view
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 on an interface.
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
Chapter 3 OSPF Configuration Commands
3-41

Advertisement

Table of Contents
loading

Table of Contents