Configuring stub routers, Configuring ospf authentication – H3C Technologies H3C S10500 Series Switches User Manual
Page 106

91
Disabling interfaces from receiving and sending OSPF packets
Follow these steps to disable interfaces from receiving and sending routing information:
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 ] *
—
Disable interfaces from
receiving and sending OSPF
packets
silent-interface { interface-type
interface-number | all }
Optional
Not disabled by default
NOTE:
•
Different OSPF processes can disable the same interface from receiving and sending OSPF packets. The
silent-interface command disables only the interfaces associated with the current process rather than
interfaces associated with other processes.
•
After an OSPF interface is set to silent, other interfaces on the router can advertise direct routes of the
interface in Router LSAs, but the interface cannot send any packet. This configuration can enhance
OSPF adaptability and reduce resource consumption.
Configuring stub routers
A stub router is used for traffic control. It tells other OSPF routers to not use it to forward data.
The Router LSAs from the stub router may contain different link type values. A value of 3 means a link to
a stub network, and the cost of the link will not be changed. A value of 1, 2, or 4 means a point-to-point
link, a link to a transit network, or a virtual link. On such links, a maximum cost value of 65535 is used.
Thus, neighbors find that the links to the stub router have large costs that they will not send packets to the
stub router for forwarding as long as another route with a smaller cost exists.
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 vpn-instance-name ] *
—
Configure the router as a stub
router
stub-router
Required
Not configured by default.
NOTE:
A stub router has nothing to do with a stub area.
Configuring OSPF authentication
You can configure OSPF packet authentication to ensure the security of packet exchanges.
After authentication is configured, OSPF only receives packets that pass authentication. Failed packets
cannot establish neighboring relationships.