cancel
Showing results for 
Search instead for 
Did you mean: 

command to find all active ports & their state

command to find all active ports & their state

Chris_Forbes
New Contributor
I am looking for a way to find all the active ports and their states on a couple stacks. Does anyone know of a command I can run to get that from the stacks?

Thanks
10 REPLIES 10

Drew_C
Valued Contributor III
Hi Chris,
Does this look like what you're expecting to see?
X460-48t.1 # show port config no-refresh
Port Configuration
Port Virtual Port Link Auto Speed Duplex Flow Load Media
router State State Neg Cfg Actual Cfg Actual Cntrl Master Pri Red
================================================================================
1 VR-Default E A ON AUTO 1000 AUTO FULL SYM UTP
2 VR-Default E A ON AUTO 1000 AUTO FULL NONE UTP
3 VR-Default E R ON AUTO AUTO UTP
4 VR-Default E R ON AUTO AUTO UTP
5 VR-Default E R ON AUTO AUTO UTP
6 VR-Default E A ON AUTO 1000 AUTO FULL SYM UTP
7 VR-Default E R ON AUTO AUTO UTP
8 VR-Default E R ON AUTO AUTO UTP
9 VR-Default E A ON AUTO 1000 AUTO FULL SYM UTP

48 VR-Default E A ON AUTO 100 AUTO FULL NONE UTP
49 VR-Default E R ON AUTO AUTO NONE
50 VR-Default E R ON AUTO AUTO NONE
51 VR-Default E A ON AUTO 1000 AUTO FULL SYM 51 SX
52 VR-Default E R ON AUTO AUTO 51 NONE
53 VR-Default E A OFF 10000 10000 FULL FULL NONE 53 SF+_SR
54 VR-Default E A OFF 10000 10000 FULL FULL NONE 53 SF+_SR
55 VR-Default E NP OFF 10000 FULL NONE
56 VR-Default E NP OFF 10000 FULL NONE
57 VR-Default E NP OFF 10000 FULL NONE
58 VR-Default E NP OFF 10000 FULL NONE
================================================================================
> indicates Port Display Name truncated past 8 characters
Link State: A-Active, R-Ready, NP-Port Not Present, L-Loopback
Port State: D-Disabled,E-Enabled, Media: %-Licensed, !-Unsupported, $-Unlicensed
Media Red: * - use "show port info detail" for redundant media type
Flow Cntrl: Shows link partner's abilities. NONE if Auto Neg is OFFYou can also do
code:
show port no-refresh
to get a simpler list that shows the VLAN or number of VLANs and link state.
GTM-P2G8KFN