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

How to Identify the range of only connected ports

khaderbasha
Level 1
Level 1

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.

Ex:

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.

3 Replies 3

mohammedmahmoud
Level 11
Level 11

Hi,

Kindly use, "show ip interface brief | i up".

HTH,

Mohammed Mahmoud.

Hi

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)

HTH

rgds

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card