How to set the delay in reporting interface status changes

23

Frequent physical status changes of an interface result in extra system costs. You can run the carrier {up-hold-time | down-hold-time} interval command in the interface view to set the delay in reporting interface status changes. The system is unaware of physical status changes of interfaces within the delay. If the interface physical status is not recovered after the delay expires, the physical status changes are reported to the system.

# Set the delay in reporting an interface Up event to 1000 milliseconds on 10GE1/0/1.

system-view

[~HUAWEI] interface 10ge 1/0/1

[~HUAWEI-10GE1/0/1] carrier up-hold-time 1000

[*HUAWEI-10GE1/0/1] commit

Other related questions:
Configure the delay for reporting interface Down events
Run the carrier down-hold-time interval command in the interface view to configure the delay for reporting an interface Down event. The interval value ranges from 0 to 3600000, in milliseconds. By default, an interface Down event is reported immediately. # Configure the delay for reporting the Down event of 10GE1/0/1 to 5 minutes. system-view [~HUAWEI] interface 10ge 1/0/1 [~HUAWEI-10GE1/0/1] carrier down-hold-time 300000 [*HUAWEI-10GE1/0/1] commit Note: The system automatically adjusts the delay in reporting an interface Down event based on the physical layer status because interfaces of different attributes require different periods of time to restore to the Up state. The automatic adjustment ensures that fast interruption of signals on an interface does not trigger an interface Down event.

How to shield Up/Down status change alarms of a specified interface on a CE series switch
By default, the interface status trap function is globally disabled. Therefore, when an interface changes status, no trap message is generated. Run the snmp-agent trap enable feature-name ifnet [ trap-name { linkdown | linkup } ] command to enable the interface status trap function globally. After the linkUp and linkDown trap function is globally enabled, trap messages are generated once the interface status changes. To disable the trap function for a specified interface, perform the following steps: 1. Run the interface interface-type interface-number command to enter the interface view. 2. Run the undo enable snmp trap updown command to disable the interface status trap function.

Does a change in the MSTP status of an AR router interface affect the MSTP status of other interfaces in the same MST region
If the MSTP status of an interface changes, the device will recalculate the status of all other interfaces in the MST region.

Is the MSTP status of interfaces affected when the MSTP status of a member interface in the MST region changes
Yes. When the MSTP status of a member interface in the MST region changes, the device recalculates the MSTP status of all member interfaces in the MST region.

How do I set the delay for re-applying a routing policy
The AR120&AR150&AR160&AR200&AR500&AR510&AR1200&AR2200&AR3200&AR3600 provides the following rules for processing changes of a routing policy: After the command used to configure the routing policy changes, the RM module immediately notifies protocols of the change by default. You can run the route-policy-change notify-delay delay-time command to set the delay when the AR120&AR150&AR160&AR200&AR500&AR510&AR1200&AR2200&AR3200&AR3600 notifies protocols of re-applying a routing policy after the routing policy changes. The routing policy is re-applied after the delay. -If the configuration of the routing policy changes again during the delay, the RM module resets the timer. -If the routing policy is referenced by BGP, you can also run the refresh bgp all command to trigger BGP to apply the routing policy immediately during the delay.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top