cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2615
Views
0
Helpful
2
Replies

multiple filters on IOS output

bellocarico
Level 1
Level 1

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

ankurbhasin
Level 9
Level 9

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

View solution in original post

2 Replies 2

ankurbhasin
Level 9
Level 9

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

Thanks!

show interface description

solved the problem

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