To do...
Disable a port from generating
UP/Down log
Configuration examples
# In the default conditions, where UP/DOWN log output is enabled, execute the shutdown command or
the undo shutdown command on Ethernet 1/0/1. The Up/Down log information for Ethernet 1/0/1 is
generated and displayed on the terminal.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] shutdown
%Apr
5 07:25:37:634 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -
Ethernet1/0/1 is DOWN
[Sysname-Ethernet1/0/1] undo shutdown
%Apr
5 07:25:56:244 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -
Ethernet1/0/1 is UP
# Disable Ethernet 1/0/1 from generating Up/Down log information and execute the shutdown
command or the undo shutdown command on Ethernet 1/0/1. No Up/Down log information is
generated or output for Ethernet 1/0/1.
[Sysname-Ethernet1/0/1] undo enable log updown
[Sysname-Ethernet1/0/1] shutdown
[Sysname-Ethernet1/0/1] undo shutdown
Setting the Port State Change Delay
During a short period after you connect your switch to another device, the connecting port may go up
and down frequently due to hardware compatibility, resulting in service interruption.
To avoid situations like this, you may introduce a port state change delay.
The port state change delay takes effect when the port goes down but not when the port goes up.
Follow these steps to set the port state change delay:
To do ...
Enter system view
Enter Ethernet interface
view
Use the command...
undo enable log updown
Use the command ...
system-view
interface interface-type
interface-number
12-10
Remarks
Required
By default, UP/Down log output
is enabled.
Remarks
—
—