Cisco stack

From Ever changing code
Revision as of 23:05, 11 January 2014 by Pio2pio (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is example of manipulating of Cisco stack-able switches. 8x switches have been stacked up but now are de coupled and need to have stacking provisioning removed as for example still showing the stack port numbering FastEthernet1/0/1 to FastEthernet8/0/24 When removing/renumbering provisioned switches remember to:

renumber, Ready switch -> in place of Provisioned switch
removing, renumber first then remove the highest Provisioned switch eg. 8 -> 7. Removing lower switch number then Ready switch can cause unpredictable behavior.
#show switch
Switch/Stack Mac Address : 0c27.24a0.aabb
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
 1       Member 0000.0000.0000     0      0       Provisioned
*2       Master 0c27.24a0.aabb     1      0       Ready
 3       Member 0000.0000.0000     0      0       Provisioned
 4       Member 0000.0000.0000     0      0       Provisioned
 5       Member 0000.0000.0000     0      0       Provisioned
 6       Member 0000.0000.0000     0      0       Provisioned
 7       Member 0000.0000.0000     0      0       Provisioned
 8       Member 0000.0000.0000     0      0       Provisioned

Show only active stack ports

dhp1-co-acc-sw2#show switch stack-ports
  Switch #    Port 1       Port 2
  --------    ------       ------
    2          Down         Down
Renumber switch 2 -> switch 1, then reload to take affect

(config)#switch 2 renumber 1

WARNING: Changing the switch number may result in a
configuration change for that switch.
The interface configuration associated with the old switch
number will remain as a provisioned configuration.
Do you want to continue?[confirm]
Changing Switch Number 2 to Switch Number 1
New Switch Number will be effective after next reboot
Verify
#show switch
Switch/Stack Mac Address : 0c27.24a0.aabb
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0c27.24a0.aabb     1      0       Ready
 2       Member 0000.0000.0000     0      0       Provisioned
 3       Member 0000.0000.0000     0      0       Provisioned
 4       Member 0000.0000.0000     0      0       Provisioned
 5       Member 0000.0000.0000     0      0       Provisioned
 6       Member 0000.0000.0000     0      0       Provisioned
 7       Member 0000.0000.0000     0      0       Provisioned
 8       Member 0000.0000.0000     0      0       Provisioned

#show switch stack-ports
  Switch #    Port 1       Port 2
  --------    ------       ------
    1          Down         Down
Set priority

(config)#switch 1 priority 15

Changing the Switch Priority of Switch Number 1 to 15
Do you want to continue?[confirm]
New Priority has been set successfully
Remove provisioned switches from the stack
#no switch 8 provision
#no switch 7 provision
#no switch 6 provision
#no switch 5 provision
#no switch 4 provision
#no switch 3 provision
#no switch 2 provision
Verify
  1. sh switch
Switch/Stack Mac Address : 0c27.24a0.aabb
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 0c27.24a0.aabb     15     0       Ready