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

Show Commands Just for Physical Interfaces

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
VIP Advisor

Re: Show Commands Just for Physical Interfaces

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

 

BB
*** Rate All Helpful Responses ***
3 REPLIES 3
VIP Advisor

Re: Show Commands Just for Physical Interfaces

May be try like below 

 

show run | in interface|description

 

let me know is this what you looking for ?

BB
*** Rate All Helpful Responses ***
Highlighted
Beginner

Re: Show Commands Just for Physical Interfaces

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.

VIP Advisor

Re: Show Commands Just for Physical Interfaces

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

 

BB
*** Rate All Helpful Responses ***
CreatePlease to create content
Content for Community-Ad