Jump to content

Configure Cisco Syslog


wildweaselmi
 Share

Recommended Posts

A very helpful tool that all Cisco hardware provides is sending the system logs (or syslog) to a central server.



CatOS




set ip permit 10.58.128.39

set logging console enable

set logging telnet enable

set logging server enable

set logging server 10.58.128.39

set logging level cdp 4 default

set logging level mcast 4 default

set logging level dtp 4 default

set logging level dvlan 4 default

set logging level earl 4 default

set logging level ip 4 default

set logging level pruning 4 default

set logging level snmp 4 default

set logging level spantree 4 default

set logging level sys 4 default

set logging level tac 4 default

set logging level tcp 4 default

set logging level telnet 4 default

set logging level tftp 4 default

set logging level vtp 4 default

set logging level vmps 4 default

set logging level kernel 4 default

set logging level filesys 4 default

set logging level mgmt 4 default

set logging level mls 4 default

set logging level protfilt 4 default

set logging level security 4 default

set logging level radius 4 default

set logging level udld 4 default

set logging level gvrp 4 default

set logging level cops 4 default

set logging level qos 4 default

set logging level acl 4 default

set logging level rsvp 4 default

set logging level ld 4 default

set logging level privatevlan 4 default

set logging level ethc 5 default

set logging level gl2pt 4 default

set logging server facility LOCAL7

set logging server severity 6

set logging timestamp enable

set logging buffer 500

copy config tftp





IOS

switch#:config t

switch(config)# logging on

switch(config)# logging host 10.58.128.39

switch(config)# logging trap informational

switch(config)# access-list 120 permit ip host 10.58.1287.39

switch(config)# logging console debug

switch(config)# logging monitor debug

switch(config)# logging trap debug

switch(config)# copy running-config startup-config

switch(config)# copy running-config tftp:

Link to comment
Share on other sites

  • 5 months later...
 Share

×
×
  • Create New...