H3C LS-5100-16P-SI-OVS-H3 Configuration page 112

Low-end ethernet switches
Table of Contents

Advertisement

Routing
H3C Low-End Ethernet Switches Configuration Examples
I. Basic OSPF configuration
Table 1-21 Basic OSPF configuration
Enter system view
Configure the router ID
Enable OSPF and enter
OSPF view
Enter OSPF area view
Configure the network
segments in the area
II. Configuring OSPF Area Attributes
Table 1-22 Configure OSPF area attributes
Operation
Enter system view
Enter OSPF view
Enter OSPF area view
Configure the current
area to be a stub area
Configure the current
area to be an NSSA
area
Configure the cost of
the default route
transmitted by OSPF to
a stub or NSSA area
Operation
system-view
router id router-id
ospf [ process-id
[ router-id router-id ] ]
area area-id
network ip-address
wildcard-mask
system-view
ospf [ process-id
[ router-id router-id ] ]
area area-id
stub [ no-summary ]
nssa
[ default-route-advertis
e | no-import-route |
no-summary ] *
default-cost cost
Command
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.
Required
Enter OSPF view.
Required
By default, an interface does
not belong to any area.
Command
Optional
By default, no area is
configured as a stub area.
Optional
By default, no area is
configured as an NSSA area.
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.
1-10
Chapter 1 Routing Overview
Remarks
Remarks

Advertisement

Table of Contents
loading

Table of Contents