08-24-2007 05:01 AM - edited 03-15-2019 01:30 AM
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.
08-24-2007 05:19 AM
Hi,
Kindly use, "show ip interface brief | i up".
HTH,
Mohammed Mahmoud.
08-26-2007 09:53 PM
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
08-26-2007 11:51 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide