
Disabling Up/Down Log Output on a Port
103
Disabling Up/Down
Log Output on a Port
An Ethernet port has two physical link statuses: UP and Down. When the physical
link status of an Ethernet port changes, the switch will send log to the log server,
which in turn acts accordingly. If the 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.
n
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
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.
<4210> system-view
System View: return to User View with Ctrl+Z.
[4210] interface Ethernet 1/0/1
[4210-Ethernet1/0/1] shutdown
%Apr 5 07:25:37:634 2000 4210 L2INF/5/PORT LINK STATUS CHANGE:- 1 -
Ethernet1/0/1 is DOWN
[4210-Ethernet1/0/1] undo shutdown
%Apr 5 07:25:56:244 2000 4210 L2INF/5/PORT LINK STATUS CHANGE:- 1 -
Ethernet1/0/1 is UP
Table 67
Set the interval to perform statistical analysis on port traffic
Operation
Command
Description
Enter system view
system-view
-
Enter Ethernet port view
interface
interface-type
interface-number
-
Set the interval to perform
statistical analysis on port
traffic
flow-interval
interval
Optional
By default, this interval is 300
seconds.
Table 68
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
Summary of Contents for 4210 PWR
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION...
Page 340: ...338 CHAPTER 30 CLUSTER...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT...