To do…
Use the command…
Remarks
Enable information
output to the SNMP NMS
-
name
}
info-center snmp channel
{
channel
-
number |
channel
Optional
By default, the switch outputs trap
information to SNMP through
channel 5.
Configure the
rules of sy
information
output
stem
info
-
center source
{
modu
-
name
|
default
}
channel
{
channel
-
number |
channel
-
name
} [ {
log
|
trap
|
debug
} {
level
severity
|
state
Optional
Refer to
Table 59-4
for the default
output rules of system information.
state
} ]*
Set the format of time
info-center timestamp
{
log
|
trap
Optional
stamp in the output
information
|
debugging
} {
boot
|
date
|
none
}
By default, the time stamp format
of the information output to the
SNMP NMS is
date
.
To send information to a remote SNMP NMS properly, related configurations are required on both the
ch and the SNMP NMS. For the detailed configuration, refer to the
swit
SNMP-RMON
part.
Disabling a Port from Generating Link Up/Down Logging Information
By default, a
s of the device g
gging informatio
e port state
changes. Therefore, you may need to use this function in some cases, for example:
z
You only concern the states of some of the ports. In this case, you can use this function to disable
m generatin
rmation
z
The state of a port is not stable, and therefore redundant logging
be generated. In
use this function to disable the port from
F
to disable a port from generating link up/down
ll the port
enerate link up/down lo
n when th
the other ports fro
g link up/down logging info
.
information will
generating
this case, you can
information.
ollow the steps below
link up/down logging
logging information:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter interface view
interface interface-type
interface-number
—
Disable the port from
generating link up/down
logging information
undo enable log updown
Required
By default, all ports are allowed
to generate link up/down
logging information when the
port state changes.
59-14