华为/华三设备配置链路聚合

链路聚合配置

华为交换机配置:

interface Eth-Trunk1                      #创建聚合接口,注意要使用默认的manual模式
  port link-type trunk                    #设置接口为trunk模式
  port trunk allow-pass vlan 10           #配置允许通过的vlan ID
# 
interface GigabitEthernet0/0/47           #进入要做聚合的接口
  undo negotiation auto                   #取消端口自动配置
  eth-trunk 1                             #加入聚合接口                       
#
interface GigabitEthernet0/0/48
  undo negotiation auto
  eth-trunk 1

H3C交换机配置:

interface Bridge-Aggregation 1             #创建聚合接口,要使用默认的静态模式
  port link-type trunk                            
  port trunk permit vlan 10
#
interface GigabitEthernet1/0/23            #进入要聚合的端口
  port link-type trunk                                          
  port link-aggregation group 1            #将端口加入聚合接口
#
interface GigabitEthernet1/0/24
  port link-type trunk
  port link-aggregation group 1

查看聚合状态

华为

display interface Eth-Trunk 1

H3C

display link-aggregation verbose
posted @ 2024-06-26 17:44  天涯-咫尺  阅读(5)  评论(0编辑  收藏  举报