04-18-2021 06:42 PM
According to
I can use "session" command to access the diagnostic shell of a specific stack member. I am trying to get the output of "sh ver" command of switch in standby state. What I need is to check "Last reload reason" string after stack switchover (and reload)
%REDUNDANCY-3-SWITCHOVER: RP switchover (PEER_DOWN)
%REDUNDANCY-3-SWITCHOVER: RP switchover (PEER_REDUNDANCY_STATE_CHANGE)
%STACKMGR-4-SWITCH_REMOVED: Switch 2 R0/0: stack_mgr: Switch 1 has been removed from the stack.
also, "To enable debugging on the standby switch without first starting a session on the active switch, use the remote command switch-number LINE command in privileged EXEC mode"
Switch Ports Model SW Version SW Image Mode
------ ----- ----- ---------- ---------- ----
1 34 WS-C3850-24XS 16.09.06 CAT3K_CAA-UNIVERSALK9 INSTALL
* 2 34 WS-C3850-24XS 16.09.06 CAT3K_CAA-UNIVERSALK9 INSTALL
Switch/Stack Mac Address : [redacted] - Local Mac Address
Mac persistency wait time: Indefinite
H/W Current
Switch# Role Mac Address Priority Version State
-------------------------------------------------------------------------------------
1 Standby [redacted] 10 V02 Ready
*2 Active [redacted] 1 V02 Ready
Switch#session ?
% Unrecognized command
Switch#remote ?
% Unrecognized command
Switch#redundancy ?
Redundancy exec commands:
config-sync Redundancy config sync commands
force-switchover Force a switchover
reload Redundancy Facility (RF) reload
Switch#sh privilege
Current privilege level is 15
04-18-2021 07:07 PM
If you want to go to shell, raise a TAC Case because they need to generate a "response token".
request consent generate shell-access auth-timeout <MINUTES> request consent accept shell-access <TAC-generated RESPONSE TOKEN> request platform software system shell switch <1 to 9> r0
Do not forget to close the session when finish.
request consent-token terminate-auth shell-access
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