Le matériel a été traduit. Lien vers l'original
Jusqu'à 8 membres peuvent être combinés dans une pile Cisco C2960X, mais il ne peut y avoir qu'un seul maître de pile. L'ajout d'un commutateur à une pile sans quelques précautions peut être désastreux.
Conditions préalables
Pour commencer, tous les membres de la pile doivent avoir la même image logicielle Cisco IOS et le même ensemble de fonctionnalités.
:
, LAN Lite.
, , C2960?
, C2960X. C2960X C2960S, . .
C2960X/C2960S
2960X/2960S , , :
.
20 / 10 /, 2960S 10 /.
Stack convergence time 1-2 .
C2960S Catalyst 2960X 2960S C2960X 10 /. . :
eng-lab-ch-bel-s-008(config)#switch stack port-speed 10
WARNING: Changing the stack speed may result in a
stack speed mismatch .
Do you want to continue?[confirm]
New stack speed will be effective after next reload
. , :
, .
( 1 15).
.
MAC-.
, , , , , , , .
1. , 1. .
Cisco (15) , . , , .
:
test#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 2c86.d217.6f00 10 4 Ready
2 Member f8a5.c5d9.f300 1 4 Ready
, 10, - 1. 15 14 :
test#config t
Enter configuration commands, one per line. End with CNTL/Z.
test(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
test(config)#switch 2 priority 14
Changing the Switch Priority of Switch Number 2 to 14
Do you want to continue?[confirm]
New Priority has been set successfully
test(config)#end
test#show sw
test#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 2c86.d217.6f00 15 4 Ready
2 Member f8a5.c5d9.f300 14 4 Ready
, .
( 1 8) .
, : Gi1/0/x = 1,Gi2/0/1 = 2 . .
show switch:
test#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 2c86.d217.6f00 15 4 Ready
2 Member f8a5.c5d9.f300 14 4 Ready
1. , .
, . :
eng-lab-ch-bel-s-008(config)#switch 2 renumber 3
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 3
New Switch Number will be effective after next reboot
/ .
, :
test#reload slot 2
Proceed with reload? [confirm]
#2, #3.
, . , «» #2 #3, .
«show switch» LED .
()
.
, . . :
test#config t
Enter configuration commands, one per line. End with CNTL/Z.
test(config)#switch 3 provision ws-c2960x-24td-l
test(config)#end
test#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 2c86.d217.6f00 15 4 Ready
2 Member f8a5.c5d9.f300 14 4 Ready
3 Member 0000.0000.0000 0 0 Provisioned
, #3 , :
test#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 2c86.d217.6f00 15 4 Ready
2 Member f8a5.c5d9.f300 14 4 Ready
3 Member 0000.0000.0000 0 0 Provisioned
test#!-- Then see if the interface of the new switch exists:
test#show run int gi3/0/22
Building configuration...
Current configuration : 39 bytes
!
interface GigabitEthernet3/0/22
end
,
. C2960X C2960S, 2960X: 10.
IOS ( ), / . .
: show switch
( ): switch x priority y
: switch x renumber y ( ).
() ( ).
!
. , :
9. , .
10. .
MAC-
MAC- MAC- .
MAC- , .
, MAC- MAC- .
test(config)#stack-mac persistent timer 7
WARNING: The stack continues to use the base MAC of the old Master
WARNING: as the stack-mac after a master switchover until the MAC
WARNING: persistency timer expires. During this time the Network
WARNING: Administrators must make sure that the old stack-mac does
WARNING: not appear elsewhere in this network domain. If it does,
WARNING: user traffic may be blackholed.
- , MAC- 4 ( ). ( : 7 ).
, , MAC- MAC- , , . , MAC- MAC- .
test(config)#stack-mac persistent timer 0
WARNING: Stack MAC persistency timer value of 0 means that, after a
WARNING: master switchover, the current stack-mac will continue
WARNING: to be used indefinitely.
WARNING: The Network Administrators must make sure that the old
WARNING: stack-mac does not appear elsewhere in this network
WARNING: domain. If it does, user traffic may be blackholed.
, , MAC- .
CLI
test#session 2
test-2#
test-2#show switch
Switch/Stack Mac Address : 2c86.d217.6f00
Mac persistency wait time: 4 mins
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
1 Master 2c86.d217.6f00 15 4 Ready
*2 Member f8a5.c5d9.f300 14 4 Ready
3 Member 0000.0000.0000 0 0 Provisioned
test-2#exit
test#
exit, CLI . show debug.
|
|
|
, . |
|
. |
|
. |
|
, . |
|
, . |
Network engineer : "VLAN. "