Configuration procedure, Configuring ospf route control, Prerequisites – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 256

Advertising
background image

25-22

z

IP addresses for interfaces, making neighboring nodes accessible with each other at the network
layer.

z

OSPF basic functions.

Configuration Procedure

Follow these steps to configure OSPF area parameters:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPF view

ospf

[ process-id | router-id

router-id

] *

Enter area view

area

area-id

Configure the area as a stub
area

stub

[ no-summary ]

Optional
Not configured by default

Configure the area as an NSSA
area

nssa

[ default-route-advertise |

no-import-route

| no-summary ] *

Optional
Not configured by default

Specify a cost for the default
route advertised to the stub or
NSSA area

default-cost

cost

Optional
Defaults to 1.

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

] *

Optional
Configured on both ends of a
virtual link
Note that hello and dead
parameters must be identical on
both ends of the link.

Advertise a host route

host-advertise

ip-address cost

Optional
Not advertised by default

z

It is required to use the stub command on routers attached to a stub area.

z

It is required to use the nssa command on routers attached to an NSSA area.

z

Using the default-cost command only takes effect on the ABR of a stub area or the ABR/ASBR of
an NSSA area.

Configuring OSPF Route Control

This section covers how to control OSPF routing information advertisement and reception, and route
redistribution from other protocols.

Prerequisites

Before configuring this task, you have configured:

z

IP addresses for interfaces

Advertising