show logging xml

<logging-exception size="8192 bytes"></logging-exception> <count-and-timestamp-logging status="disabled"></count-and-timestamp-logging> <trap-logging level="informational" messages-lines-logged="35"></trap-logging>

<logging-to><dest id="0" ipaddr="10.2.3.4" message-lines-logged="1"><xml>disabled</xml><dest></logging-to>

<logging-to><dest id="1" ipaddr="192.168.2.1" message-lines-logged="1"><xml>enabled</xml><dest></logging-to>

<log-xml-buffer size="44444 bytes"></log-xml-buffer>

<ios-log-msg><facility>SYS</facility><severity>5</severity><msg-id>CONFIG_I</msg-id><time> 00:04:20</time><args><arg id="0">console</arg><arg id="1">console</arg></args></ios-log-msg> <ios-log-msg><facility>SYS</facility><severity>5</severity><msg-id>CONFIG_I</msg-id><time> 00:04:41</time><args><arg id="0">console</arg><arg id="1">console</arg></args></ios-log-msg>

Router#

Table 96 describes the significant fields shown in the displays.

 

 

Table 96

show logging and show logging xml Field Descriptions

 

 

 

 

 

 

 

 

 

 

Field

 

 

Description

XML Tag

 

 

 

 

 

 

 

 

 

 

Syslog logging

 

 

The global state of system message

syslog-logging

 

 

 

 

 

logging (syslog); “enabled” or

 

 

 

 

 

 

 

“disabled.”

 

 

 

 

 

 

 

 

 

 

 

Console logging

 

State of logging to console connections.

console-logging

 

 

 

 

 

 

 

 

 

Monitor logging

 

State of logging to monitor (TTY and

monitor-logging

 

 

 

 

 

Telnet) connections.

 

 

 

 

 

 

 

 

 

 

 

 

Buffer logging

 

 

State of logging to the local system

buffer-logging

 

 

 

 

 

logging buffer.

 

 

 

 

 

 

 

 

 

 

 

Count and timestamp

 

Indicates whether the logging count

count-and-timestamp-logging

 

 

logging messages:

 

feature is enabled. Corresponds to the

 

 

 

 

 

 

 

logging count command.

 

 

 

 

 

 

 

 

 

 

 

 

Trap logging

 

 

State of logging to a remote host.

trap-logging

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Related Commands

 

Command

 

Description

 

 

 

 

 

 

 

 

 

 

show logging

 

Displays the contents of the standard syslog buffer.

 

 

 

 

 

 

 

show logging count

Displays counts of each system error message.

show logging history Displays the contents of the SNMP syslog history table.

 

 

Cisco IOS Configuration Fundamentals Command Reference

 

 

 

 

 

 

 

July 2008

 

 

CF-705

 

 

 

 

 

Page 29
Image 29
Cisco Systems 12000 series manual Field Description XML Tag, Logging count command, CF-705