陈: 3台思科3750堆叠配置( 接上堆叠线,自动重启)堆叠线型号:CAB-STACK-1M
陈: 3台思科3750堆叠配置( 接上堆叠线,自动重启)堆叠线型号:CAB-STACK-1M
根据贵行需求,要对6台思科3750交换机进行堆叠配置操作,虽然交换机堆叠的配置相当简单,这从配置到连线的过程中,每一步都需要很好的逻辑性,否则会引起一些不必要的麻烦,虽然对网络不会产生影响,但对之后的调试和管理会引起一定的麻烦。
在此,就对贵行3750交换机的配置以及堆叠线缆的连接步骤进行详细的叙述:
堆叠配置命令:
第一步:首先对C3750-1进行配置:
在全局模式下(即config模式下):
sw1(config)#switch 1 renumber 1
There is no switch number 1 in the stack
sw1(config)#
sw1#show switch
Switch/Stack Mac Address : 0018.18fe.8b80
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*8 Master 0018.18fe.8b80 1 0 Ready
sw1#
sw1#
sw1#show switch ?
<1-9> Switch Number
detail show detailed information about the stack ring
neighbors show each switch's neighbors
stack-ports show the status of the stack ports
stack-ring show stack ring
| Output modifiers
<cr>
sw1#show switch neighbors
Switch # Port 1 Port 2
-------- ------ ------
8 None None
sw1#show switch stack-ports
Switch # Port 1 Port 2
-------- ------ ------
8 Down Down
sw1#
sw1#reload slot ?
<1-9> Slot number of RP or line card
sw1#reload slot 1
System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm]
Switch 1 reloading...
sw1#
sw1#reload slot 1
%ERROR: Switch number 1 can't be reached
sw1
C
接上堆叠线,自动重启
sw1#
sw1#
Reloading because of stack merge or communication failure
Boot Sector Filesystem (bs) installed, fsid: 2
Base ethernet MAC Address: 00:18:18:fe:8b:80
Xmodem file system is available.
The password-recovery mechanism is enabled.
Initializing Flash...
flashfs[0]: 6 files, 1 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 15998976
flashfs[0]: Bytes used: 9222656
flashfs[0]: Bytes available: 6776320
flashfs[0]: flashfs fsck took 9 seconds.
...done Initializing Flash.
done.
Loading "flash:/c3750-ipbasek9-mz.122-46.SE1.bin"...@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
sw2#show switch detail
Switch/Stack Mac Address : 0024.5016.e900
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0024.5016.e900 15 0 Ready
8 Member 0018.18fe.8b80 1 0 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 8 8
8 Ok Ok 1 1
sw2#
sw2#
sw2#
sw2#show switch stack-ports
Switch # Port 1 Port 2
-------- ------ ------
1 Ok Ok
8 Ok Ok
sw2#show switch
Switch/Stack Mac Address : 0024.5016.e900
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0024.5016.e900 15 0 Ready
8 Member 0018.18fe.8b80 1 0 Ready
sw2#
sw2#show switch neighbors
Switch # Port 1 Port 2
-------- ------ ------
1 8 8
8 1 1
sw2#
sw2
sw2#sh running-config
Building configuration...
Current configuration : 3932 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname sw2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
switch 1 provision ws-c3750-48p
switch 8 provision ws-c3750-48p
system mtu routing 1500
ip subnet-zero
no ip domain-lookup
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
ip ftp username cisco
ip ftp password cisco12345
!
!
interface FastEthernet1/0/1
no switchport
ip address 192.168.168.100 255.255.255.0
!
interface FastEthernet1/0/2
!
interface FastEthernet1/0/3
!
interface FastEthernet1/0/4
!
interface FastEthernet1/0/5
!
interface FastEthernet1/0/6
!
interface FastEthernet1/0/7
!
interface FastEthernet1/0/8
!
interface FastEthernet1/0/9
!
interface FastEthernet1/0/10
!
interface FastEthernet1/0/11
!
interface FastEthernet1/0/12
!
interface FastEthernet1/0/13
!
interface FastEthernet1/0/14
!
interface FastEthernet1/0/15
!
interface FastEthernet1/0/16
!
interface FastEthernet1/0/17
!
interface FastEthernet1/0/18
!
interface FastEthernet1/0/19
!
interface FastEthernet1/0/20
!
interface FastEthernet1/0/21
!
interface FastEthernet1/0/22
!
interface FastEthernet1/0/23
!
interface FastEthernet1/0/24
!
interface FastEthernet1/0/25
!
interface FastEthernet1/0/26
!
interface FastEthernet1/0/27
!
interface FastEthernet1/0/28
!
interface FastEthernet1/0/29
!
interface FastEthernet1/0/30
!
interface FastEthernet1/0/31
!
interface FastEthernet1/0/32
!
interface FastEthernet1/0/33
!
interface FastEthernet1/0/34
!
interface FastEthernet1/0/35
!
interface FastEthernet1/0/36
!
interface FastEthernet1/0/37
!
interface FastEthernet1/0/38
!
interface FastEthernet1/0/39
!
interface FastEthernet1/0/40
!
interface FastEthernet1/0/41
!
interface FastEthernet1/0/42
!
interface FastEthernet1/0/43
!
interface FastEthernet1/0/44
!
interface FastEthernet1/0/45
!
interface FastEthernet1/0/46
!
interface FastEthernet1/0/47
!
interface FastEthernet1/0/48
!
interface GigabitEthernet1/0/1
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface FastEthernet8/0/1
!
interface FastEthernet8/0/2
!
interface FastEthernet8/0/3
!
interface FastEthernet8/0/4
!
interface FastEthernet8/0/5
!
interface FastEthernet8/0/6
!
interface FastEthernet8/0/7
!
interface FastEthernet8/0/8
!
interface FastEthernet8/0/9
!
interface FastEthernet8/0/10
!
interface FastEthernet8/0/11
!
interface FastEthernet8/0/12
!
interface FastEthernet8/0/13
!
interface FastEthernet8/0/14
!
interface FastEthernet8/0/15
!
interface FastEthernet8/0/16
!
interface FastEthernet8/0/17
!
interface FastEthernet8/0/18
!
interface FastEthernet8/0/19
!
interface FastEthernet8/0/20
!
interface FastEthernet8/0/21
!
interface FastEthernet8/0/22
!
interface FastEthernet8/0/23
!
interface FastEthernet8/0/24
!
interface FastEthernet8/0/25
!
interface FastEthernet8/0/26
!
interface FastEthernet8/0/27
!
interface FastEthernet8/0/28
!
interface FastEthernet8/0/29
!
interface FastEthernet8/0/30
!
interface FastEthernet8/0/31
!
interface FastEthernet8/0/32
!
interface FastEthernet8/0/33
!
interface FastEthernet8/0/34
!
interface FastEthernet8/0/35
!
interface FastEthernet8/0/36
!
interface FastEthernet8/0/37
!
interface FastEthernet8/0/38
!
interface FastEthernet8/0/39
!
interface FastEthernet8/0/40
!
interface FastEthernet8/0/41
!
interface FastEthernet8/0/42
!
interface FastEthernet8/0/43
!
interface FastEthernet8/0/44
!
interface FastEthernet8/0/45
!
interface FastEthernet8/0/46
!
interface FastEthernet8/0/47
!
interface FastEthernet8/0/48
!
interface GigabitEthernet8/0/1
!
interface GigabitEthernet8/0/2
!
interface GigabitEthernet8/0/3
!
interface GigabitEthernet8/0/4
!
interface Vlan1
no ip address
shutdown
!
ip classless
ip http server
ip http secure-server
!
!
control-plane
!
!
line con 0
line vty 5 15
!
end
sw2#
sw2#
sw2(config)#switch 1 ?
priority Set the priority of the specified switch
provision Configure Switch provision / offline config
renumber Renumber the specified switch number
sw2(config)#switch 1
sw2(config)#switch 1 priority 1
Changing the Switch Priority of Switch Number 1 to 1
Do you want to continue?[confirm]
New Priority has been set successfully
sw2(config)#
sw2(config)#end
sw2#
sw2#show switch neighbors
*Mar 1 03:06:15.823: %SYS-5-CONFIG_I: Configured from console by console
Switch # Port 1 Port 2
-------- ------ ------
1 8 8
8 1 1
sw2#show switch detail
Switch/Stack Mac Address : 0024.5016.e900
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0024.5016.e900 1 0 Ready
8 Member 0018.18fe.8b80 1 0 Ready
Stack Port Status Neighbors
Switch# Port 1 Port 2 Port 1 Port 2
--------------------------------------------------------
1 Ok Ok 8 8
8 Ok Ok 1 1
sw2#wr
sw2#show switch
Switch/Stack Mac Address : 0024.5016.e900
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0024.5016.e900 1 0 Ready
8 Member 0018.18fe.8b80 1 0 Ready
sw2#
sw2#sw
sw2#sw
sw2#
sw2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
sw2(config)#
sw2(config)#
sw2(config)#swi
sw2(config)#switch 8 ?
priority Set the priority of the specified switch
provision Configure Switch provision / offline config
renumber Renumber the specified switch number
sw2(config)#switch 8 pri
sw2(config)#switch 8 priority 2
Changing the Switch Priority of Switch Number 8 to 2
Do you want to continue?[confirm]
New Priority has been set successfully
sw2(config)#
sw2(config)#
sw2#show switch
Switch/Stack Mac Address : 0024.5016.e900
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master 0024.5016.e900 1 0 Ready
8 Member 0018.18fe.8b80 2 0 Ready
sw2#
重启后,SWITCH交换机的member号为8的将成为主交换机。
陈:两台做堆叠,不管console线接在哪一台console口上都可以管理。
sw2#reload
System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm]
Switch 8 reloading...
sw2#show switch
Switch/Stack Mac Address : 0018.18fe.8b80
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
1 Member 0024.5016.e900 1 0 Ready
*8 Master 0018.18fe.8b80 2 0 Ready
sw2#
sw2#
堆叠stack(列表、list、全)堆叠list
http://www.zh-cjh.com/wenzhangguilei/950.html
文章归类、所有文章列表、LISTLIST
http://www.zh-cjh.com/wangzhangonggao/2195.html
2、本资源基本为原创,部分来源其他付费资源平台或互联网收集,如有侵权请联系及时处理。
3、本站大部分文章的截图来源实验测试环境,请不要在生产环境中随意模仿,以免带来灾难性后果。
转载请保留出处: www.zh-cjh.com珠海陈坚浩博客 » 陈: 3台思科3750堆叠配置( 接上堆叠线,自动重启)堆叠线型号:CAB-STACK-1M
作者: cjh
手机扫一扫,手机上查看此文章: |
一切源于价值!
其他 模板文件不存在: ./template/plugins/comment/pc/index.htm