Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

multiple filters on IOS output

Hello,

I was trying to create a filter for an IOS command.

My problem is that I need to know in a quick way the port mod/num + description

(as it was in the old CatOS command "sh port").

Now, if I do a

show interfaces | inc Giga

I get the port number but no description.

if I do a

show interfaces | inc Description

I get the description but no port number.

Is there any way to apply a "double filter" so I get 2 lines in output?

e.g.

GigabitEthernet1/32 is administratively down, line protocol is down (disabled)

Description: Link to Corporate Firewall

Regards

1 ACCEPTED SOLUTION

Accepted Solutions

Re: multiple filters on IOS output

Hi Friend,

Try "show interfaces description" or "sh int brief"

Output will be something like

Router> show interfaces description

Interface Status Protocol Description

PO0/0 admin down down First POS interface

PO0/1 admin down down

Gi1/0 up up GigE to server farm

HTH, if yes please rate the post.

Ankur

2 REPLIES

Re: multiple filters on IOS output

Hi Friend,

Try "show interfaces description" or "sh int brief"

Output will be something like

Router> show interfaces description

Interface Status Protocol Description

PO0/0 admin down down First POS interface

PO0/1 admin down down

Gi1/0 up up GigE to server farm

HTH, if yes please rate the post.

Ankur

New Member

Re: multiple filters on IOS output

Thanks!

show interface description

solved the problem

(by the way it is on a 6500 running in native mode)

658
Views
0
Helpful
2
Replies
CreatePlease to create content