本文档提供了在部署6800IA并投入生产后对交换矩阵扩展器(FEX)堆栈成员重新编号的建议步骤。本文档适用于所有6800IA部署,而与运行Cisco IOS® 15.1(2)SY软件版本的父交换机平台Catalyst 6500、Catalyst 6807或Catalyst 6880无关。
对于运行Cisco IOS 15.x SY软件版本的设备,请参阅Cisco IOS 15.2SY — 即时接入 — 重新编号FEX交换机ID。Cisco IOS 15.1(2)SY6、15.2(1)SY1或更高版本支持此功能。
请注意,重新编号流程将在以下方面造成停机:
如下图所示,运行Cisco IOS软件版本15.2(1)SY1的带Sup2T的Catalyst 6500是父交换机,FEX 101是将重新编号的堆叠。
6500-FEX#remote command fex 101 show switch
Switch/Stack Mac Address : f078.16ed.af00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
*1 Master f078.16ed.af00 1 4 Ready <=master based on the MAC address
2 Member f078.16ed.bc00 1 4 Ready
3 Member f078.16ed.d780 1 4 Ready
在此,交换机将重新编号为:
请注意,堆栈成员的控制台端口不显示任何内容,并且不会做出响应。
如果讨论的堆栈不在生产中,请执行步骤2、3和5。
如果堆栈正在生产中,且需要保留所有配置,请执行所有步骤。
在图中,路由器连接到接口2/0/5,VoIP电话连接到接口3/0/5。一旦交换机重新编号(3到1、1到2和2到3),这些连接将分别在3/0/5和1/0/5上。当堆栈重新连接到父交换机时,它会根据交换机编号将配置的最新版本推送到端口。换句话说,3/0/5将配置连接到路由器的端口。
在开始重新编号过程之前,必须先更新配置版本,以减少停机时间。
!
interface GigabitEthernet101/2/0/5
description ToRouterA
switchport switchport trunk allowed vlan 1-100
switchport mode trunk
!
interface GigabitEthernet101/3/0/5
description Phone-3F295
switchport switchport trunk allowed vlan 5,15
switchport trunk native vlan 5
switchport mode trunk
!
interface GigabitEthernet101/3/0/5
description ToRouterA
switchport switchport trunk allowed vlan 1-100
switchport mode trunk
!
interface GigabitEthernet101/1/0/5
description Phone-3F295
switchport switchport trunk allowed vlan 5,15
switchport trunk native vlan 5
switchport mode trunk
无需更新上行链路端口通道配置,因为即时接入控制平面协议(如卫星发现协议(SDP))会自动更新该配置。
断开上行链路端口(父交换机或堆栈端)或关闭父交换机的端口。在本例中,上行链路端口关闭。
6500-FEX(config)#int te1/2/5
6500-FEX(config-if)#shut
6500-FEX(config)#int te2/2/5
6500-FEX(config-if)#shut
6500-FEX#show etherchannel 101 summary
<snip>
------+-------------+-----------+--------------------------
101 Po101(SD) - Te1/2/5(D) Te2/2/5(D)
6500-FEX#remote comm fex 101 show etherchannel summ
<snip>
------+-------------+-----------+--------------------------
1 Po1(SU) - Te1/0/1(P) Te3/0/1(P)
当所有上行链路端口关闭时,FEX101中的所有堆叠成员都将重新加载。
CPU rev: BImage passed digital signature verificationBoard rev: 5Testing DataBus
...Testing AddressBus...
Loading "flash:/c6800ia-universalk9-mz.152-3m.E1.bin"...Verifying image
flash:/c6800ia-universalk9mz.152-3m.E1.bin.........
Press RETURN to get started!
FEX-0>
FEX-0>
FEX-0>
FEX-0>
此时,所有主机端口(例如,如图所示的Gig101/1/0/5和Gig101/2/0/5)应该管理性关闭。
6800IA交换机仍作为堆叠捆绑在一起(未断开堆叠电缆连接)。 如果需要重新堆叠它们,则建议关闭所有客户端,取消/重新连接堆叠电缆并打开它们。
FEX-0(config)#switch 3 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] <<=== <enter>
Changing Switch Number 3 to Switch Number 1
New Switch Number will be effective after next reboot
FEX-0(config)#switch 1 renumber 2
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] <<=== <enter>
Changing Switch Number 1 to Switch Number 2
New Switch Number will be effective after next reboot
FEX-0(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 switchnumber will remain as
a provisioned configuration.
Do you want to continue?[confirm] <<=== <enter>
Changing Switch Number 1 to Switch Number 2
New Switch Number will be effective after next reboot
即使FEX堆栈已断开,父交换机仍应具有以下配置:
6500-FEX#sh run | beg provision
<snip>
module provision fex 101
slot 1 slot-type 357 port-type 61 number 48 virtual-slot 50
slot 2 slot-type 357 port-type 61 number 48 virtual-slot 51
slot 3 slot-type 357 port-type 61 number 48 virtual-slot 53
<snip>
在FEX 101的父交换机中应用新配置。
!
interface GigabitEthernet101/3/0/5
descrition ToRouterA
switchport switchport trunk allowed vlan 1-100
switchport mode trunk
!
interface GigabitEthernet101/1/0/5
description Phone-3F295
switchport switchport trunk allowed vlan 5,15
switchport trunk native vlan 5
switchport mode trunk
!
通过启用port-channel 101重新连接堆栈。
6500-FEX(config)#int te1/2/5
6500-FEX(config-if)#no shut
6500-FEX(config)#int te2/2/5
6500-FEX(config-if)#no shut
6800IA控制台日志:
FEX-0>
%LINK-3-UPDOWN: Interface TenGigabitEthernet2/0/2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet2/0/2,
changed state to up
%LINK-3-UPDOWN: Interface Port-channel1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up
%LINK-3-UPDOWN: Interface TenGigabitEthernet1/0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface TenGigabitEthernet1/0/1,
changed state to up
FEX-101>
FEX-101>
6500-FEX#remote command fex 101 show switch
Switch/Stack Mac Address : f078.16ed.af00
H/W Current
Switch# Role Mac Address Priority Version State
----------------------------------------------------------
1 Member f078.16ed.d780 1 4 Ready
*2 Master f078.16ed.af00 1 4 Ready <= master based on the MAC address
3 Member f078.16ed.bc00 1 4 Ready
如上所示,堆叠成员将重新编号(将此处报告的MAC地址与“初始配置”部分中给出的MAC地址进行比较)。
6500-FEX#show etherchannel 101 summary
<snip>
------+-------------+-----------+--------------------------
101 Po101(SU) - Te1/2/5(P) Te2/2/5(P)
6500-FEX#remote comm fex 101 show etherchannel summ
<snip>
------+-------------+-----------+--------------------------
1 Po1(SU) - Te1/0/1(P) Te2/0/1(P)
版本 | 发布日期 | 备注 |
---|---|---|
1.0 |
02-Dec-2015 |
初始版本 |