beautypg.com

Configuring stub routers – H3C Technologies H3C S7500E Series Switches User Manual

Page 110

background image

4-41

To do…

Use the command…

Remarks

Enter system view

system-view

Enter OSPF view

ospf [ process-id | router-id router-id

| vpn-instance instance-name ] *

Disable interfaces from sending

OSPF packets

silent-interface { interface-type

interface-number | all }

Optional

Not disabled by default

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 | vpn-instance

instance-name ] *

Configure the router

as a stub router

stub-router

Required

Not configured by default.