System Log Configuration Example; System Log Troubleshooting - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

DCS-3950 series Ethernet switch manual

5.6.3 System Log Configuration Example

When managing VLAN the IPv4 address of the switch is 100.100.100.1, and the IPv4
address of the remote log server is 100.100.100.5. It is required to send the log
information with a severity equal to or higher than warnings to this log server and save in
the log record equipment local1, Output the log information of a module shell if its Severity
Level is warning or critical.
configure:
Switch(Config)#logging on↵
Switch(Config)#logging 100.100.100.5 facility local1↵
Switch(Config)#logging source m_shell channel loghost level debugging state on↵
Switch(Config)#logging source sys_event channel loghost level debugging state on↵
Switch(Config)#logging logbuffed 1000↵
Switch(Config)#logging source m_shell channel logbuff level warning state on↵

5.6.4 System Log troubleshooting

5.6.4.1 Monitor and Debug Command List
5.6.4.1.1 show channel
Command:show channel [console | monitor | logbuff | loghost ]
Function:Display brief information of the log channel.
Parameters: console the output channel of log is console; monitor the output channel of
log is the user's terminal; logbuff the output channel of log is the log buffer;loghost the
output channel of log is the log host.
Command mode:Privileged configuration mode.
Default Setting:show channel will display the brief information of all the channels
without any parameter.
Usage Guide: This command can be used to view logs from some certain logging path.
Example: View the logs in loghost.
Switch# show channel loghost↵
/********* Loghost Channel ***************/
Channel ID:2, channel name:loghost
State: On
Send messages:0,Dropped messages:0
Loghosts:
IPAddress
Facility
100.100.100.5
local1
100

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents