C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索

军衔等级:

亚星游戏官网-yaxin222  下士

注册:2015-12-193
发表于 2022-12-19 15:01:11 |显示全部楼层
C200/C220/300 上联端口链路聚合设置

1、查询命令
ZXAN#show lacp 1 internal          (显示trunk组内的端口成员)
ZXAN#show interface smartgroup1     (显示trunk组的端口VLAN模式access/trunk/hybrid及PVID)
ZXAN#show vlan port smartgroup1            (显示trunk组的所属VLAN)
ZXAN#show running-config interface gei_0/6/1  (显示端口所属链路聚合的模式on/active/passive)
2、配置开通 静态聚合 实际应用中常用模式
ZXAN(config)#interface smartgroup1      (创建并进入trunk组)
ZXAN(config-if)#exit                   (退出trunk组)
ZXAN(config)#interface gei_0/6/1         (进入上联口)
ZXAN(config-if)#smartgroup 1 mode on   (将上联口加入trunk组1,模式on表示静态聚合)
——该命令能正确实行的前提是gei_0/6/1与smartgroup 1这两个端口的VLAN属性必须完全一致,包括access/trunk/hybrid、所属的VLAN、是否tag等
ZXAN(config-if)#exit                   (退出上联口)
ZXAN(config)#interface smartgroup1      (进入trunk组)
ZXAN(config-if)#switchport vlan 200 tag   (把trunk组加入VLAN)
——把trunk组看作是一个逻辑端口,对其的VLAN操作与普通的端口一样。该命令实行后组中的端口成员的VLAN配置也会相应改变。
ZXAN(config-if)#smartgroup load-balance src-mac/dst-mac/src-dst-mac/src-ip/dst-ip/src-dst-ip(设置链路聚合负荷分担方式)         默认一般不需要配置。
3、删除配置
ZXAN(config)#interface gei_0/6/1(进入上联口)
ZXAN(config-if)#no smartgroup(将上联口从trunk组内删除)
ZXAN(config)#no interface smartgroup1(删除trunk组,前提是内部的端口成员都已经被删除)
注意事项
C300

interface gei_1/19/1              其它聚合端口类似
  hybrid-attribute fiber
  negotiation auto             //聚合组采用静态后,端口采用自适应模式
  flowcontrol disable
  port-protect disable            
  uplink-isolate disable
  switchport mode hybrid
  switchport vlan 1007-1022,2007-2022 tag
  switchport vlan 3801  tag
smartgroup 1 mode on        //添加到聚合组,采用静态方式
C300(config)#interface smartgroup1
C300(config-if[smartgroup1])#port-protect disable   disable 避免出现其它异常
*C200/220可能没有相关命令,不需要配置 *

在新增聚合端口时,如果两端设备数据没有配置完成时,不得将光纤或网线进行连接,以免形成环路。

举报本楼

本帖有 2 个回帖,您需要登录后才能浏览 登录 | 注册
您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-9-21 16:32 , Processed in 0.117079 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图