![H3C S5500-EI series Configuration Manual Download Page 107](http://html2.mh-extra.com/html/h3c/s5500-ei-series/s5500-ei-series_configuration-manual_3726960107.webp)
90
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.
To configure OSPF authentication, you must configure the same area authentication mode on all the
routers in the area. In addition, the authentication mode and password for all interfaces attached to the
same area must be identical.
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
|
vpn-instance
vpn-instance-name
] *
—
Enter area view
area
area-id
—