Thursday, September 22, 2016

Enabling and Disabling Cisco StackWise and StackPower ports

Enabling/Disabling Stack Power ports on Cisco 3750


3750X#sh stack-power neighbors
Power Stack           Stack   Stack    Total   Rsvd    Alloc   Unused  Num  Num
Name                  Mode    Topolgy  Pwr(W)  Pwr(W)  Pwr(W)  Pwr(W)  SW   PS
--------------------  ------  -------  ------  ------  ------  ------  ---  ---
Powerstack-1          SP-PS   Stndaln  350     120     230     0       1    1
Powerstack-2          SP-PS   Stndaln  350     120     230     0       1    1

    Power Stack           Port 1  Port 1             Port 2  Port 2
SW  Name                  Status  Neighbor SW:MAC    Status  Neighbor SW:MAC
--  --------------------  ------  ----------------   ------  ----------------
1   Powerstack-1          NoConn  -                  NoConn  -
2   Powerstack-2          Shut    -                  Shut    -


3750X#stack-power switch 2 port 2 enable
3750X#stack-power switch 2 port 1 enable

000151: *Jan  1 15:14:45.791 HST: %PLATFORM_STACKPOWER-6-CABLE_EVENT: Switch 1
stack power cable 2 inserted
000152: *Jan  1 15:14:46.370 HST: %PLATFORM_STACKPOWER-6-CABLE_EVENT: Switch 2 stack power cable 1 inserted

3750X#sh stack-power neighbors
Power Stack           Stack   Stack    Total   Rsvd    Alloc   Unused  Num  Num
Name                  Mode    Topolgy  Pwr(W)  Pwr(W)  Pwr(W)  Pwr(W)  SW   PS
--------------------  ------  -------  ------  ------  ------  ------  ---  ---
Powerstack-1          SP-PS   Ring     700     470     460     -230    2    2
Powerstack-2          SP-PS   Ring     700     470     460     -230    2    2

    Power Stack           Port 1  Port 1             Port 2  Port 2
SW  Name                  Status  Neighbor SW:MAC    Status  Neighbor SW:MAC
--  --------------------  ------  ----------------   ------  ----------------
1   Powerstack-1          Conn    2:bc16.6550.a600   Conn    2:bc16.6550.a600
2   Powerstack-2          Conn    1:30f7.0d41.d100   Conn    1:30f7.0d41.d100


Notice the Stack topology is now in RING state:

330-OP0-1-CR1#sh stack-power detail
Power Stack           Stack   Stack    Total   Rsvd    Alloc   Unused  Num  Num
Name                  Mode    Topolgy  Pwr(W)  Pwr(W)  Pwr(W)  Pwr(W)  SW   PS
--------------------  ------  -------  ------  ------  ------  ------  ---  ---
Powerstack-1          SP-PS   Ring     700     240     460     0       2    2

Power stack name: Powerstack-1
    Stack mode: Power sharing
    Stack topology: Ring
    Switch 1:
        Power budget: 230
        Power allocated: 230
        Low port priority value: 21
        High port priority value: 12
        Switch priority value: 3
        Port 1 status: Connected
        Port 2 status: Connected
        Neighbor on port 1: Switch 2 - bc16.6550.a600
        Neighbor on port 2: Switch 2 - bc16.6550.a600

    Switch 2:
        Power budget: 230
        Power allocated: 230
        Low port priority value: 22
        High port priority value: 13
        Switch priority value: 4
        Port 1 status: Connected
        Port 2 status: Connected
        Neighbor on port 1: Switch 1 - 30f7.0d41.d100
        Neighbor on port 2: Switch 1 - 30f7.0d41.d100



Enabliing/Disabling StackWise ports on Cisco 3750:


3750x#switch 1 stack port 1 enable
Enabling/disabling a stack port may cause undesired stack changes. Continue?[confirm]

3750x#switch 1 stack port 2 enable
Enabling/disabling a stack port may cause undesired stack changes. Continue?[confirm]

3750x#sh switch detail
Switch/Stack Mac Address : 30f7.0d41.d100
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 30f7.0d41.d100     15     3       Ready
 2       Member bc16.6550.a600     14     3       Ready



         Stack Port Status             Neighbors
Switch#  Port 1     Port 2           Port 1   Port 2
--------------------------------------------------------
  1        Ok         Ok                2        2
  2        Ok         Ok                1        1


3750x#sh switch neighbors
  Switch #    Port 1       Port 2
  --------    ------       ------
      1         2             2
      2         1             1

3750x#