5. 配置链路聚合 说明:DELL 5524 交换机可以使用手动创建链路聚合,也可以使用 LACP 协议进行链路聚 合。将交换机 19-20 端口设定为静态链路聚合,将 21-22 端口设定为LACP 动态链路聚合。 DELL 55xx 系列交换机默认只能创建 32 个链路聚合组,每个组里最大只能有 8 个端口。因 此静态链路聚合使用组 1,而 LACP 链路聚合使用组 2 5.1. 创建一个静态链路聚合 console# configureterminal console(config)#interface range gigabitethernet 1/0/19-20 console(config-if-range)#channel-group1 mode on console(config-if)#end console# 5.2. 创建一个 LACP 动态链路聚合 console# configureterminal console(config)#lacpsystem-priority 120 console(config)#interface range gigabitethernet 1/0/19-20 console(config-if-range)#lacpport-priority 247 console(config-if-range)#lacptimeout long console(config-if)#end console# 设置好了属性,下面开始创建聚合组 console# configureterminal console(config)#interface range gigabitethernet 1/0/21-22 console(config-if-range)#channel-group2 mode auto console(config-if)#end console# 6. 开启端口 Flowcontrol 、Spanning-Tree、和 port-fast 说明:Spanning-Tree 模式在 DELL 5524 交换机中默认开启,为 RSTP 模式。因此这里只 讲述开启端口Flowcontrol 与 port-fast 6.1. 开启或者关闭 Flowcontrol 功能 以下以配置端口 1 为举例 console# configureterminal console(config)#interface gigabitethernet 1/0/1 console(config-if)#flowcontrol on console(config-if)#end console# 关闭 Flowcontrol 则为以下操作 console# configureterminal console(config)#interface gigabitethernet 1/0/1 console(config-if)#flowcontrol off console(config-if)#end console# 注意:致该端口重启。如果是批量端口,请使用 range 命令 6.2. 开启或者关闭 port-fast 功能 以下以配置端口 1 为举例 console# configureterminal console(config)#interface gigabitethernet 1/0/1 console(config-if)#spanning-tree portfast console(config-if)#end console# 关闭 port-fast 则为以下操作 console# configureterminal console(config)#interface gigabitethernet 1/0/1 console(config-if)#no spanning-tree portfast console(config-if)#end console# 注意:用于链路聚合的端口不能开启port-fast。如果是批量端口,请使用 range 命令 7.iSCSI 模式 DELL 交换机现在具有 iSCSI 优化配置功能,下面是开启 iSCSI 模式 console# configureterminal console(config)#iscsienable
|