S5500-SI交换机堆叠链路聚合粘贴
H3C-S5500-SI交换机万兆堆叠链路聚合设置:
1 设置主设备A交换机: (串口连接到A交换机Console)
设置管理堆叠IP网段:
sys
stack ip-pool 192.168.100.1 24
(192.168.100.1为任意,内部管理堆叠用)
设置万兆堆叠端口和主设备(1/1/1端口堆叠)
stack stack-port 1 port Ten-GigabitEthernet 1/1/1
stack role master
创建手工聚合组(聚合1/1/1和 1/1/2端口)设置1/1/1和1/1/2端口允许所有VLAN通过。
link-aggregation group 1 mode manual
interface Ten-GigabitEthernet 1/1/1
port link-aggregation group 1
port link-type trunk
port trunk permit vlan all
quit
interface Ten-GigabitEthernet 1/1/2
port link-aggregation group 1
port link-type trunk
port trunk permit vlan all
quit
quit
save
y
y
2 设置从设备B交换机: (串口连接到B交换机Console)
设置万兆堆叠端口和从设备(1/1/1端口堆叠)
sys
stack stack-port 1 port Ten-GigabitEthernet 1/1/1
创建手工聚合组(聚合1/1/1和 1/1/2端口)设置1/1/1和1/1/2端口允许所有VLAN通过。
link-aggregation group 1 mode manual 建立手工聚合组1
interface Ten-GigabitEthernet 1/1/1
port link-aggregation group 1
port link-type trunk
port trunk permit vlan all
quit
interface Ten-GigabitEthernet 1/1/2
port link-aggregation group 1
port link-type trunk
port trunk permit vlan all
quit
quit
save
y
y
3 连接1、2端口线缆从A到B交换机。
注: A交换机作为MASTER, 在A交换机上正常设置STP 、IGMP和网关、掩码。
而B交换机作为SLAVE,就不必设置网关和掩码,其他STP 、IGMP功能照样设置。
4 显示堆叠成员信息(例:A交换机)
5 显示聚合后全部端口信息(例:B交换机)
The brief information of interface(s) under route mode:
Interface Link Protocol-link Protocol type Main IP
NULL0 UP UP(spoofing) NULL --
Vlan1 UP UP ETHERNET --
The brief information of interface(s) under bridge mode:
Interface Link Speed Duplex Link-type PVID
GE1/0/1 UP 100M(a) full(a) access 1
GE1/0/2 DOWN auto auto access 1
GE1/0/3
DOWN auto auto access 1
GE1/0/4 DOWN auto auto access 1
GE1/0/5 DOWN auto auto access 1
GE1/0/6 DOWN auto auto access 1
GE1/0/7 DOWN auto auto access 1
GE1/0/8 DOWN auto auto access 1
GE1/0/9 DOWN auto auto access 1
GE1/0/10 DOWN auto auto access 1
GE1/0/11 DOWN auto auto access 1
GE1/0/12 DOWN auto auto access 1
GE1/0/13 DOWN auto auto access 1
GE1/0/14 DOWN auto auto access 1
GE1/0/15 DOWN auto auto access 1
GE1/0/16 DOWN auto auto access 1
GE1/0/17 DOWN auto auto access 1
GE1/0/18 DOWN auto auto access 1
GE1/0/19 DOWN auto auto access 1
GE1/0/20 DOWN auto auto access 1
GE1/0/21 DOWN auto auto access 1
GE1/0/22 DOWN auto auto access 1
GE1/0/23 DOWN auto auto access 1
GE1/0/24 DOWN auto auto access 1
GE1/0/25 ADM DOWN auto auto access 1
GE1/0/26 ADM DOWN auto auto access 1
GE1/0/27 ADM DOWN auto auto access 1
GE1/0/28 ADM DOWN auto auto access 1
XGE1/1/1 UP 10G full trunk 1
XGE1/1/2 UP 10G full trunk 1
(注:若是执行
例:# interface GigabitEthernet 1/0/5
undo ntdp enable
6 不采用CX4模块(仅用多个千兆端口)的链路聚合设置:
(假设A、B交换机用3条网线相连,实现链路聚合功能。最多是8条网线)
A交换机设置:
采用手工聚合方式 (假设将交换机的21、22、23的端口聚合)
# 创建手工聚合组1。
system-view
link-aggregation group 1 mode manual
# 将以太网端口GigabitEthernet1/0/21至GigabitEthernet1/0/23加入聚合组1。
interface GigabitEthernet 1/0/21
port link-aggregation group 1
quit
interface GigabitEthernet 1/0/22
port link-aggregation group 1
quit
interface GigabitEthernet 1/0/23
port link-aggregation group 1
quit
save
y
y
B交换机设置同上:
若需要,可设置21、22和23端口“允许所有VLAN通过”(设置方法同上)。
某命令若要取消,则在前打入”undo”则可。
例[H3C] undo link-aggregation group 1 mode manual
IP平台部: 刘南方
2009-8-26