08-11-2015 08:36 AM - edited 03-08-2019 01:19 AM
How would I be able to determine which switch a physical interface is tied to from the CLI? In other words, I'm sitting at the prompt on the active 4500x and need to setup one port on one of the switches. How do I know which switch hosts the interface on 1/1/1?
If I'm sitting next to the 4500x, I can see the MAC address of the switch on a factory label, but of course I won't always be next to it, and show module displays both switches as module 1. And sh switch virtual doesn't give me much to go on either.
thank you
PSQ_4500X_VSS#sh module 1
Mod Ports Card Type Model Serial No.
---+-----+--------------------------------------+------------------+-----------
1 32 4500X-32 10GE (SFP+) WS-C4500X-32 JAE191801HP
M MAC addresses Hw Fw Sw Status
--+--------------------------------+---+------------+----------------+---------
1 78ba.f985.1e80 to 78ba.f985.1e9f 2.0 15.0(1r)SG10 03.04.06.SG Ok
PSQ_4500X_VSS#sh module 2
% Module 2 not present.
PSQ_4500X_VSS#sh module all
Switch Number: 1 Role: Virtual Switch Active
Chassis Type : WS-C4500X-32
Mod Ports Card Type Model Serial No.
---+-----+--------------------------------------+------------------+-----------
1 32 4500X-32 10GE (SFP+) WS-C4500X-32 JAE191801HP
M MAC addresses Hw Fw Sw Status
--+--------------------------------+---+------------+----------------+---------
1 78ba.f985.1e80 to 78ba.f985.1e9f 2.0 15.0(1r)SG10 03.04.06.SG Ok
Mod Redundancy role Operating mode Redundancy status
----+-------------------+-------------------+----------------------------------
1 Active Supervisor SSO Active
System Failures:
----------------
Power Supply: bad/off (see 'show power')
Switch Number: 2 Role: Virtual Switch Standby
Chassis Type : WS-C4500X-32
Power consumed by backplane : 0 Watts
Mod Ports Card Type Model Serial No.
---+-----+--------------------------------------+------------------+-----------
1 32 4500X-32 10GE (SFP+) WS-C4500X-32 JAE191801CY
M MAC addresses Hw Fw Sw Status
--+--------------------------------+---+------------+----------------+---------
1 78ba.f985.22c0 to 78ba.f985.22df 2.0 15.0(1r)SG11 03.04.06.SG Ok
Mod Redundancy role Operating mode Redundancy status
----+-------------------+-------------------+----------------------------------
1 Standby Supervisor SSO Standby hot
Solved! Go to Solution.
08-11-2015 08:45 AM
https://supportforums.cisco.com/document/124626/virtual-switching-system-vss-configuration-cisco-4500-series-switches#Configuration_Steps
interface-type switch-number/slot/port"
Example:-
starting letter "1/2" indicates the VSS 1 primary and 2 is secondary.
VSS 1st device uses 1/1/2 and for module 4 example : 1/4/1-- 1 is the active, 4/1 is the interface of module 4.
VSS 2nd device starts with letter 2. ( 2/1/1-- secondary chasis module 1 port 1).
HTH
regards
Inayath
***********Please do not forget to rate if this info is helpfull********
08-11-2015 08:45 AM
https://supportforums.cisco.com/document/124626/virtual-switching-system-vss-configuration-cisco-4500-series-switches#Configuration_Steps
interface-type switch-number/slot/port"
Example:-
starting letter "1/2" indicates the VSS 1 primary and 2 is secondary.
VSS 1st device uses 1/1/2 and for module 4 example : 1/4/1-- 1 is the active, 4/1 is the interface of module 4.
VSS 2nd device starts with letter 2. ( 2/1/1-- secondary chasis module 1 port 1).
HTH
regards
Inayath
***********Please do not forget to rate if this info is helpfull********
08-11-2015 09:26 AM
that helps Inayath. I can run a sh virtual switch role and see the switch ID (1 or 2) of the active sup, and the run a sh module that displays the MAC address of the active sup and have the local contact look at the mac address on the switch's label to determine which switch to connect an uplink.
thank you
sh virtual switch role
Switch Switch Status Preempt Priority Role Local Remote
Number Oper(Conf) Oper(Conf) SID SID
--------------------------------------------------------------------
LOCAL 2 UP FALSE(N ) 100(100) ACTIVE 0 0
REMOTE 1 UP FALSE(N ) 100(100) STANDBY 7387 8259
sh module
M MAC addresses Hw Fw Sw Status
--+--------------------------------+---+------------+----------------+---------
1 78ba.f985.22c0 to 78ba.f985.22df 2.0 15.0(1r)SG11 03.04.06.SG Ok
Mod Redundancy role Operating mode Redundancy status
----+-------------------+-------------------+----------------------------------
1 Active Supervisor SSO Active
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