How to send information based on log severity on S series switches

14

For S series switches (except the S1700), run the following commands in the system view to configure an information channel to send only logs with a specified log severity:
- Log: info-center source (specifies the module) channel (specifies the channel) log level (specifies the severity of output logs)
- Trap: info-center source (specifies the module) channel (specifies the channel) trap level (specifies the severity of output traps)
- Debug: info-center source (specifies the module) channel (specifies the channel) debug level (specifies the severity of output debug messages)

Other related questions:
How to configure a switch to send debugging information to the log server
To configure a switch to send debugging information to the log server, run the following commands in the system view. [HUAWEI] info-center source default channel 2 debug state on [HUAWEI] info-center loghost x.x.x.x By default, a switch sends only logs and traps to the log server.

How to configure an AR to send log information to the log host
For details about how to configure an AR to send log information to the log host, see Example for Outputting Log Information to a Log Host.

What is SNMP for S series switches
The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. Devices function as agents and can be managed and monitored by the manager (NMS). A network administrator can query information, modify data, and locate faults on devices through SNMP, greatly improving work efficiency.

How to view log and alarm information on CE series switches
Run the following command to view log information:
<HUAWEI> display logbuffer
Run the following command to view alarm information:
<HUAWEI>display trapbuffer

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top