Command Manual (For Soliton) – Port Basic Configuration
H3C S3100 Series Ethernet Switches
Chapter 1 Port Basic Configuration
Commands
1-19
1.1.12 enable log updown
Syntax
enable log updown
undo enable log updown
View
Ethernet port view
Parameter
None
Description
Use the
enable log updown
command to enable Up/Down log information output.
Use the
undo
log
enable updown
command to disable Up/Down log information
output.
By default, a port is allowed to output Up/Down log information.
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
# Disable Ethernet 1/0/1 from outputting Up/Down log information, execute the
shutdown
command or the
undo shutdown
command on Ethernet 1/0/1, and 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