Cisco Stack Diagram

Is there any way I can map using the CLI and some mental math how a stack is physically connected?
LVL 6
fluk3dAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Nayyar HH (CCIE RS)Network ArchitectCommented:
The "show switch detail" user EXEC command show how the stack ports are connected between stack members

also "show switch stack-ports summary" is a good one

Switch# show switch stack-ports summary
Switch#/  Stack   Neighbor   Cable    Link   Link   Sync      #         In  
 Port#     Port              Length    OK   Active   OK    Changes   Loopback
          Status                                          To LinkOK          
--------  ------  --------  --------  ----  ------  ----  ---------  --------
  1/1     OK         3      50 cm     Yes    Yes    Yes        1        No
  1/2     OK         2      3 m       Yes    Yes    Yes        1        No
  2/1     OK         1      3 m       Yes    Yes    Yes        1        No
  2/2     OK         3      50 cm     Yes    Yes    Yes        1        No
  3/1     OK         2      50 cm     Yes    Yes    Yes        1        No
  3/2     OK         1      50 cm     Yes    Yes    Yes        1        No
0
fluk3dAuthor Commented:
I found that command but how do I make the mental connection which cable goes to which switch? Can you give me a brief explanation?
0
Nayyar HH (CCIE RS)Network ArchitectCommented:
Sure, the key is the bold items below- as you already know each stack member has two stack ports - Port 1 and Port 2

Consider the output below;

we have 2 switch in the stack 1 & 6

The first line is interpreted as:
     switch1:port1  connected to switch6
     switch1:port2  connected to none

The second line is interpreted as:
     switch6:port1  connected to none
     switch6:port2  connected to switch1





Switch> show switch detail
.
output suppressed
.
.
         Stack Port Status             Neighbors    
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
  1       Ok        Down             6        None
  6       Down      Ok               None       1
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.