![Huawei S6700 Series Configuration Manual Download Page 126](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517126.webp)
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ospf
[
process-id
]
The OSPF process view is displayed.
Step 3
Run:
stub-router
[
on-startup
[
interval
] ]
A stub router is configured.
By default, no switch is configured as a stub router.
If a switch is configured as a stub router, the switch keeps functioning as a stub router for 500s.
NOTE
The stub router configured in this manner is irrelevant to the switch in the stub area.
----End
4.5.5 Suppressing an Interface from Receiving and Sending OSPF
Packets
After an interface is suppressed from receiving and sending OSPF packets, routing information
can bypass a specific switch and the local switch can reject routing information advertised by
another switch.
Context
Suppressing an interface from receiving and sending OSPF packets helps routing information
to bypass a specific switch and enables the local switch to reject routing information advertised
by another switch. This ensures that an optimal route is provided.
Perform the following steps on the switch running OSPF.
Procedure
Step 1
Run:
system-view
The system view is displayed.
Step 2
Run:
ospf
[
process-id
]
The OSPF process view is displayed.
Step 3
Run:
silent-interface
{
all
|
interface-typeinterface-number
}
An interface is suppressed from receiving and sending OSPF packets.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
4 OSPF Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
107