Configuring stub routers, Configuring ospf authentication – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 264

Advertising
background image

25-30

z

Different OSPF processes can disable the same interface from sending OSPF packets. Use of the

silent-interface

command disables only the interfaces associated with the current process rather

than interfaces associated with other processes.

z

After an OSPF interface is set to silent, other interfaces on the router can still advertise direct
routes of the interface in Router LSAs, but no OSPF packet can be advertised for the interface to
find a neighbor. This configuration can enhance adaptability of OSPF networking and reduce
resource consumption.

Configuring Stub Routers

A stub router is used for traffic control. It tells other OSPF routers not to use it to forward data, but they
can have a route to it.

The Router LSAs from the stub router may contain different link type values. A value of 3 means a link to
the stub network, so the cost of the link remains unchanged. A value of 1, 2 or 4 means a point-to-point
link, a link to a transit network or a virtual link. In such cases, a maximum cost value of 65535 is used.
Thus, other neighbors find the links to the stub router have such big costs, they will not send packets to
the stub router for forwarding as long as there is a route with a smaller cost.

Follow these steps to configure a router as a stub router:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPF view

ospf

[ process-id | router-id

router-id

] *

Configure the router as a stub
router

stub-router

Required
Not configured by default

A stub router has nothing to do with a stub area.

Configuring OSPF Authentication

By supporting packet authentication, OSPF receives packets that pass the authentication only, so failed
packets cannot establish neighboring relationships.

Follow these steps to configure OSPF authentication:

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

Advertising