82
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Configure the LSA
generation interval.
lsa-generation-interval
maximum-interval [ minimum-interval
[ incremental-interval ] ]
By default:
• The maximum interval is 5
seconds.
• The minimum interval is 50
milliseconds.
• The incremental interval is 200
milliseconds.
Disabling interfaces from receiving and sending OSPF
packets
To enhance OSPF adaptability and reduce resource consumption, you can set an OSPF interface to
"silent." A silent OSPF interface blocks OSPF packets and cannot establish any OSPF neighbor
relationship. However, other interfaces on the router can still advertise direct routes of the interface in
Router LSAs.
To disable interfaces from receiving and sending routing information:
Step Command Remarks
1. Enter system view.
system-view
N/A
2. Enter OSPF view.
ospf
[
process-id |
router-id
router-id |
vpn-instance
vpn-instance-name ] *
N/A
3. Disable interfaces from
receiving and sending
OSPF packets.
silent-interface
{ interface-type
interface-number
|
all
}
By default, an OSPF interface can
receive and send OSPF packets.
The
silent-interface
command
disables only the interfaces
associated with the current
process rather than other
processes. Multiple OSPF
processes can disable the same
interface from receiving and
sending OSPF packets.
Configuring stub routers
A stub router is used for traffic control. It reports its status as a stub router to neighboring OSPF
routers. The neighboring routers can have a route to the stub router, but they do not use the stub
router to forward data.
Router LSAs from the stub router might 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 by default. To set the cost of the link to
65535, specify the include-stub keyword in the stub-router command. 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. Neighbors do not send packets to the stub router as long as they have a route with a
smaller cost.
To configure a router as a stub router: