Configuring a virtual link, Configuring ospf network types, Configuring ospf – H3C Technologies H3C S10500 Series Switches User Manual
Page 94: Network types

79
To do…
Use the command…
Remarks
Configure the area as an NSSA
area
nssa [ default-route-advertise |
no-import-route | no-summary |
translate-always |
translator-stability-interval value ]
*
Required
Not configured by default.
Specify a cost for the default
route advertised to the NSSA
area
default-cost cost
Optional
1 by default.
NOTE:
•
You must use the nssa command on all the routers attached to an NSSA area.
•
The default-cost command is available only on the ABR/ASBR of an NSSA area.
Configuring a virtual link
Non-backbone areas exchange routing information via the backbone area. Connectivity between the
backbone and non-backbone areas and within the backbone must be maintained.
If the required physical links are not available for this connectivity maintenance, you can configure virtual
links to resolve it.
Follow these steps to configure a virtual link:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id | router-id
router-id | vpn-instance
vpn-instance-name ] *
—
Enter area view
area area-id
—
Configure a virtual link
vlink-peer router-id [ hello seconds
| retransmit seconds | trans-delay
seconds | dead seconds | simple
[ plain | cipher ] password | { md5
| hmac-md5 } key-id [ plain |
cipher ] password ] *
Required
You must configure this command on
both ends of a virtual link.
hello and dead intervals must be
identical on both ends of the virtual
link.
Configuring OSPF network types
OSPF classifies networks into the following types by the link layer protocol:
•
Broadcast—When the link layer protocol is Ethernet or FDDI, OSPF considers the network type as
broadcast by default.
•
NBMA—When the link layer protocol is Frame Relay, ATM, or X.25, OSPF considers the network
type as NBMA by default.
•
P2P—When the link layer protocol is PPP, LAPB, or HDLC, OSPF considers the network type as P2P
by default.
The following are examples of how you can change the network type of an interface as needed: