Disable up/down log output on a port, Configuration example, Configuring storm control on a port – H3C Technologies H3C S3100 Series Switches User Manual

Page 150

Advertising
background image

1-9

status of Ethernet ports in a network changes frequently, large amount of log information may be sent,

which increases work load of the log server and consumes more network resources.

You can limit the amount of the log information sent to the log server by disabling the Up/Down log

output function on Ethernet ports.

After you allow a port to output the Up/Down log information, if the physical link status of the port does

not change, the switch does not send log information to the log server but monitors the port in real time.

Disable Up/Down log output on a port

Table 1-10 Disable UP/Down log output on a port

Operation

Command

Remarks

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Disable a port from outputting
UP/Down Log Information

undo enable log updown

Required

By default, UP/Down log
information output is enabled.

Configuration example

# By default, a port is allowed to output the Up/Down log information. Execute the shutdown command

or the undo shutdown command on Ethernet 1/0/1, and the system outputs Up/Down log information

of Ethernet 1/0/1.

<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

# After you disable Ethernet 1/0/1 from outputting 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 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

Configuring Storm Control on a Port

The storm control function is used to control traffic received on an Ethernet port.

Advertising