How to Identify the range of only connected ports

Unanswered Question
Aug 24th, 2007

Hi all,

How do I identify the range of all connected ports in 6509 IOS ver 12.1.

Show interface description provide list of all ports with their status, I am interested in identifying only the range of ports which are connected or in 'up up' status.


3/10 up

3/11 up

3/12 up

3/13 down

3/14 up

3/15 down

3/16 up

.... there are bout 300 ports

Desired output is 3/10 - 12,3/14, 3/16 so that I can use range command to work on all the ports in up status. Any tool, tip is greately appreciated.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
rajatsetia Sun, 08/26/2007 - 21:53


I think better to use "show ip interface brief | exclude down "

This will show you interface with both interface and protocol UP status and will exclude all the "DOWN" status (with even protocol down)



anandramapathy Sun, 08/26/2007 - 23:51

This command will give the Interfaces which are up & the VLAN they are in & the Description

show interfaces status | include connected

HTH - Pls rate if useful


This Discussion