Configuring a virtual link, Configuring ospf network types – H3C Technologies H3C S12500 Series Switches User Manual

Page 94

Advertising
background image

78

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPF view.

ospf [ process-id | router-id router-id |
vpn-instance vpn-instance-name ] *

N/A

3.

Enter area view.

area area-id

N/A

4.

Configure the area as an

NSSA area.

nssa [ default-route-advertise |
no-import-route | no-summary |

translate-always |

translator-stability-interval value ] *

Not configured by default.

5.

Specify a cost for the default

route advertised to the
NSSA area.

default-cost cost

Optional.
Defaults to 1.
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 through the backbone area. Connectivity between

the backbone and non-backbone areas and within the backbone must be available.
You can configure virtual links to ensure the connectivity when physical links are not enough.
To configure a virtual link:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPF view.

ospf [ process-id | router-id
router-id | vpn-instance

vpn-instance-name ] *

N/A

3.

Enter area view.

area area-id

N/A

4.

Configure a virtual link.

vlink-peer router-id [ hello seconds
| retransmit seconds | trans-delay

seconds | dead seconds | { simple

[ cipher | plain ] password |
{ hmac-md5 | md5 } key-id [ cipher

| plain ] password } ] *

Configure this command on both
ends of a virtual link.
hello and dead intervals must be

identical on both ends of the virtual
link.

NOTE:

Virtual links cannot transit a stub area, totally stub area, NSSA area, or totally NSSA area.

MD5/HMAC-MD5 authentication supports key rollover. For more information, see "

Configuring OSPF

authentication

."

Configuring OSPF network types

OSPF classifies networks into the following types: broadcast, NBMA, P2MP, and P2P, upon the link layer

protocol.

Advertising