cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1795
Views
25
Helpful
4
Replies

command to check logs in IOS-XE

Hi Experts , 

 

What is the command to check the logs in IOS-XE ?

 

Show logging gives below output only , 

 

Syslog logging: enabled (0 messages dropped 1 messages rate-limited 9688 flushes 0 overruns xml disabled filtering disabled)
No Active Message Discriminator.
No Inactive Message Discriminator.
Console logging: level debugging 511718 messages logged xml disabled
filtering disabled
Monitor logging: level debugging 263 messages logged xml disabled
filtering disabled
Buffer logging: level debugging 430679 messages logged xml disabled
filtering disabled
Exception Logging: size (4096 bytes)
Count and timestamp logging messages: disabled
File logging: disabled
Persistent logging: disabled
No active filter modules.
Trap logging: level informational 2894 message lines logged
Logging to 10.51.105.25 (udp port 514 audit disabled
link up)
2826 message lines logged
0 message lines rate-limited
0 message lines dropped-by-MD
xml disabled sequence number disabled
filtering disabled
Logging Source-Interface: VRF Name:
Vlan810
Log Buffer (4096 bytes):
et of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.190: SSH2 0: computed MAC for sequence no.#75 type 94
Feb 28 12:24:29.191: SSH2 0: send:packet of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.191: SSH2 0: computed MAC for sequence no.#76 type 94
Feb 28 12:24:29.191: SSH2 0: send:packet of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.191: SSH2 0: computed MAC for sequence no.#77 type 94
Feb 28 12:24:29.192: SSH2 0: send:packet of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.192: SSH2 0: computed MAC for sequence no.#78 type 94
Feb 28 12:24:29.193: SSH2 0: send:packet of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.193: SSH2 0: computed MAC for sequence no.#79 type 94
Feb 28 12:24:29.193: SSH2 0: send:packet of length 32 (length also includes padlen of 17)
Feb 28 12:24:29.194: SSH2 0: computed MAC for sequence no.#80 type 94
Feb 28 12:24:29.194: SSH2 0: send:packet of length 32 (length also includes padlen of 16)
Feb 28 12:24:29.194: SSH2 0: computed MAC for sequence no.#81 type 94
Feb 28 12:24:29.195: SSH2 0: send:packet of length 48 (length also includes padlen of 6)
Feb 28 12:24:29.195: SSH2 0: computed MAC for sequence no.#82 type 94
Feb 28 12:24:29.310: SSH2 0: ssh_receive: 52 bytes received
Feb 28 12:24:29.310: SSH2 0: input: total packet length of 32 bytes
Feb 28 12:24:29.311: SSH2 0: partial packet length(block size)16 bytesneeded 16 bytes
maclen 20
Feb 28 12:24:29.311: SSH2 0: MAC compared for

4 Replies 4

Hello,

 

what output are you looking for exactly ? What output do you expect to see ?

few minutes back I did some config changes ..I don't see them in the logging output with command > show logging 

hi

this is normal output of logging.

if you want to see more, you can increase logging buffer.

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst9500/software/release/16-6/configuration_guide/sys_mgmt/b_166_sys_mgmt_9500_cg/b_166_sys_mgmt_9500_cg_chapter_0110.html

Please rate this and mark as solution/answer, if this resolved your issue
Good luck
KB

marce1000
VIP
VIP

 

 -FYI : https://www.cisco.com/c/en/us/td/docs/ios/ios_xe/fundamentals/configuration/guide/2_xe/cf_xe_book/cf_config-logger_xe.html

 M.



-- ' 'Good body every evening' ' this sentence was once spotted on a logo at the entrance of a Weight Watchers Club !
Review Cisco Networking products for a $25 gift card