cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2781
Views
0
Helpful
3
Replies

Show Commands Just for Physical Interfaces

FaisalAlBandar
Level 1
Level 1

Hello everyone,

 

There seems to be no specific command to show just physical interfaces next to their description. While 'show interfaces status' for IOS and 'show interfaces description' for IOS-XR are useful for this kind of thing, they list all ports, physical and virtual.

 

This could easily get overwhelming. For example, in an ASR1001 there could be 6 physical and thousands of virtual interfaces.

 

How do you go about achieving this? Do you use pipes? What is your preferred syntax?

1 Accepted Solution

Accepted Solutions

May be not possible on the shelf i guess. it can be done externally with syslog some scripting.

 

BB

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

How to Ask The Cisco Community for Help

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

May be try like below 

 

show run | in interface|description

 

let me know is this what you looking for ?

BB

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

How to Ask The Cisco Community for Help

Hello there BB, and thank you for your reply.

 

That is kind of helpful. But what I was looking for is a way to, let say "trim" the output of 'show interfaces description' to just physical interfaces. A way to list all physical ports, their description, and whether they're up or down; in an easily readable fashion.

May be not possible on the shelf i guess. it can be done externally with syslog some scripting.

 

BB

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

How to Ask The Cisco Community for Help