cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
741
Views
0
Helpful
1
Replies

Unable to use commands "session", "redundancy" WS-C3850-24XS [Cisco IOS XE Software, Version 16.09.06, Fuji]

Freeman1506
Level 1
Level 1

According to 

Command Reference, Cisco IOS XE Fuji 16.9.x (Catalyst 3850 Switches) - Stack Manager and High Availability [Cisco Catalyst 3850 Series Switches] - Cisco 

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

 

1 Reply 1

Leo Laohoo
Hall of Fame
Hall of Fame

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