cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Cloud



Etc


Reference














.

hardware:cisco:logging.html



Cisco Logging Configuration Examples

Show

Operation Command
switch#show logging


Configuration

Operation Command
Host# clear logging
Host(config)# logging on
Host(config)# no loging on
Host# clear logging


Syslog Server

Operation Command
Host(config)# logging 192.168.0.10
Host(config)# logging trap warnings
Host(config)# logging trap errors
Host(config)#logging buffered 8192

Example

Stopping interface up/down log to syslog server
Host(config)# interface FastEthernet4/0/18
Host(config-if)# no logging event link-status
Host(config-if)# no snmp trap link-status
Restarting interface up/down log to syslog server
Host(config)# interface FastEthernet4/0/18
Host(config-if)# logging event link-status
Host(config-if)# snmp trap link-status


Logging Level




hardware/cisco/logging.html.txt ยท Last modified: 2019/06/08 by admin

Page Tools