H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 1 Routing Overview
1-10
Operation Command Remarks
Configure the router ID
router id router-id
Optional
If multiple OSPF processes
run on a router, you are
recommended to use the
router-id keyword in the ospf
command to specify different
router IDs for different
processes.
Enable OSPF and enter
OSPF view
ospf [ process-id
[ router-id router-id ] ]
Required
Enter OSPF view.
Enter OSPF area view
area area-id
Configure the network
segments in the area
network ip-address
wildcard-mask
Required
By default, an interface does
not belong to any area.
II. Configuring OSPF Area Attributes
Table 1-21 Configure OSPF area attributes
Operation Command Remarks
Enter system view
system-view
Enter OSPF view
ospf [ process-id
[ router-id router-id ] ]
Enter OSPF area view
area area-id
Configure the current
area to be a stub area
stub [ no-summary ]
Optional
By default, no area is
configured as a stub area.
Configure the current
area to be an NSSA
area
nssa
[ default-route-advertise
| no-import-route |
no-summary ] *
Optional
By default, no area is
configured as an NSSA area.
Configure the cost of
the default route
transmitted by OSPF
to a stub or NSSA area
default-cost cost
Optional
This can be configured on an
ABR only. By default, the cost
of the default route to a stub
or NSSA area is 1.