cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
559
Views
5
Helpful
2
Replies

Pipe command oddity C9300-48P

brianw360
Level 1
Level 1

I was trying to review the switch messages from a stacking error and I wanted the results of SHOW LOG be narrowed down to just the day that it was fixed (other messages have been deleted for brevity).

Jul 18 09:23:15: %STACKMGR-6-STACK_LINK_CHANGE: Switch 1 R0/0: stack_mgr: Stack port 1 on Switch 1 is up
Jul 18 09:23:15: %STACKMGR-6-STACK_LINK_CHANGE: Switch 3 R0/0: stack_mgr: Stack port 2 on Switch 3 is up

OR227-XMDFB1#sho switch stack-ports | inc Jul 18
OR227-XMDFB1#sho switch stack-ports | inc Jul
OR227-XMDFB1#sho switch stack-ports | inc Switch 1
OR227-XMDFB1#

There was no results for using the exact day, current month or what information was included in the message.  I am logged in with Privilege 15.

Why did this happen?  I thought the pipe would work with anything.

Thank you.

1 Accepted Solution

Accepted Solutions

balaji.bandi
Hall of Fame
Hall of Fame
sho switch stack-ports

forget about pipe - what is the output you get with the above command.

you need to look (if the buffer not overwritten the logs) - you get right results.

show logging  | in Jul 18

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

View solution in original post

2 Replies 2

balaji.bandi
Hall of Fame
Hall of Fame
sho switch stack-ports

forget about pipe - what is the output you get with the above command.

you need to look (if the buffer not overwritten the logs) - you get right results.

show logging  | in Jul 18

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

brianw360
Level 1
Level 1

How stupid of me!!!