1652
Syslog Commands
Example
console(config)#logging cli-command
console(config)#do show logging
Logging is enabled
Console Logging: level warnings. Console Messages: 384 Dropped.
Buffer Logging: level informational. Buffer Messages: 71 Logged,
File Logging: level notActive. File Messages: 385 Dropped.
CLI Command Logging : enabled
Switch Auditing : enabled
Web Session Logging : disabled
SNMP Set Command Logging : disabled
Syslog server hostname logging: informational. Messages: 0 dropped
Syslog server
a12345678901234567890123456789012345678901234567890123456789012 logging:
informational. Messages: 0 dropped
170 Messages dropped due to lack of resources.
Buffer Log:
<189> JAN 10 18:59:09 10.27.21.22-2 CMDLOGGER[209809328]:
cmd_logger_api.c(83) 367 %% CLI:EIA-232:----:configure
<190> JAN 10 18:59:17 10.27.21.22-2 CLI_WEB[209809328]:
cmd_logger_api.c(260) 369 %% [CLI:----:EIA-232] Access level of user admin
has been set to 15
<189> JAN 10 18:59:19 10.27.21.22-2 CMDLOGGER[209809328]:
cmd_logger_api.c(83) 370 %% CLI:EIA-232:----:exit
<189> JAN 10 18:59:22 10.27.21.22-2 CMDLOGGER[209809328]:
cmd_logger_api.c(83) 371 %% CLI:EIA-232:----:telnet 10.27.21.22
<189> JAN 10 18:59:27 10.27.21.22-2 TRAPMGR[209809328]: traputil.c(614) 372
%% Multiple Users: Unit: 0 Slot: 5 Port: 1
<189> JAN 10 18:59:27 10.27.21.22-2 CMDLOGGER[209809328]:
cmd_logger_api.c(83) 373 %% CLI:10.27.21.22:admin:User admin logged in
<190> JAN 10 18:59:27 10.27.21.22-2 CLI_WEB[209809328]:
cmd_logger_api.c(260) 374 %% [CLI:admin:10.27.21.22] User has successfully
logged in
<190> JAN 10 18:59:28 10.27.21.22-2 CLI_WEB[209809328]:
cmd_logger_api.c(260) 375 %% [CLI:admin:10.27.21.22] User admin logged in to
enable mode.
logging
Use the
logging
command in Global Configuration mode to log messages to a
syslog server. To delete the syslog server with the specified address from the
list of syslogs, use the
no
form of this command.
Syntax
logging
{
ip-address
|
hostname
}
2CSNXXX_SWUM200.book Page 1652 Tuesday, December 10, 2013 1:22 PM
Summary of Contents for Networking 2048
Page 82: ...Contents 82 ...
Page 216: ...216 Layer 2 Switching Commands ...
Page 248: ...248 AAA Commands ...
Page 256: ...256 Administrative Profiles Commands ...
Page 278: ...278 ACL Commands ...
Page 296: ...296 Address Table Commands ...
Page 344: ...344 DHCP Snooping Commands ...
Page 356: ...356 Dynamic ARP Inspection Commands 12 Enabled Disabled ...
Page 414: ...414 Ethernet Configuration Commands ...
Page 466: ...466 IGMP Snooping Commands ...
Page 476: ...476 IGMP Snooping Querier Commands ...
Page 508: ...508 IPv6 Access List Commands ...
Page 520: ...520 IPv6 MLD Snooping Commands ...
Page 528: ...528 IPv6 MLD Snooping Querier Commands ...
Page 550: ...550 Link Dependency Commands ...
Page 574: ...574 LLDP Commands ...
Page 606: ...606 Port Channel Commands ...
Page 626: ...626 MLAG ...
Page 634: ...634 Port Monitor Commands ...
Page 728: ...728 RADIUS Commands ...
Page 780: ...780 TACACS Commands ...
Page 790: ...790 UDLD Commands User Guidelines This command has no user guidelines ...
Page 840: ...840 Voice VLAN Commands ...
Page 878: ...878 802 1x Commands ...
Page 880: ...880 Data Center Technology Commands ...
Page 915: ...Priority Flow Control Commands 915 Te1 0 23 0 2 4 7 3 Active Te1 0 24 0 7 Inactive ...
Page 916: ...916 Priority Flow Control Commands ...
Page 918: ...918 Layer 3 Commands ...
Page 958: ...958 DHCP Server and Relay Agent Commands ...
Page 994: ...994 DHCPv6 Snooping Commands ...
Page 1002: ...1002 DVMRP Commands ...
Page 1006: ...1006 GMRP Commands ...
Page 1028: ...1028 IGMP Proxy Commands ...
Page 1080: ...1080 IP Routing Commands ...
Page 1131: ...IPv6 Routing Commands 1131 2 2001 2 12 msec 13 msec 12 msec 3 2001 2 14 msec 9 msec 11 msec ...
Page 1132: ...1132 IPv6 Routing Commands ...
Page 1136: ...1136 Loopback Interface Commands ...
Page 1165: ...Multicast Commands 1165 ...
Page 1166: ...1166 Multicast Commands ...
Page 1188: ...1188 IPv6 Multicast Commands ...
Page 1189: ...IPv6 Multicast Commands 1189 ...
Page 1190: ...1190 IPv6 Multicast Commands ...
Page 1276: ...1276 OSPF Commands console config router timers spf 20 30 ...
Page 1356: ...1356 Routing Information Protocol Commands ...
Page 1362: ...1362 Tunnel Interface Commands ...
Page 1384: ...1384 Virtual Router Redundancy Protocol Commands ...
Page 1386: ...1386 Utility Commands ...
Page 1426: ...1426 Captive Portal Commands ...
Page 1450: ...1450 Clock Commands ...
Page 1456: ...1456 Command Line Configuration Scripting Commands ...
Page 1476: ...1476 Configuration and Image File Commands ...
Page 1520: ...1520 Password Management Commands ...
Page 1564: ...1564 SDM Templates Commands ...
Page 1596: ...1596 Serviceability Tracing Packet Commands ...
Page 1608: ...1608 Sflow Commands ...
Page 1634: ...1634 SNMP Commands ...
Page 1668: ...1668 Syslog Commands ...
Page 1744: ...1744 System Management Commands ...
Page 1750: ...1750 Terminal Length Commands ...
Page 1762: ...1762 USB Flash Drive Commands ...
Page 1786: ...1786 Web Server Commands ...
Page 1821: ...W write 1474 write core 1593 ...
Page 1822: ...www dell com support dell com Printed in the U S A ...
Page 1823: ......