1

接口加入trunk前需要裸配置

2

Eth-Trunk支持FE和GE混绑

3

可以创建8个Eth-Trunk接口,每个Trunk接口下最多可以包含4条成员物理链路

4

一个物理端口只能加入到一个Trunk接口

5

成员口缺省权重为1,总权重不大于16,根据权重实施负载分担

6

支持逐流负载分担,对于三层接口,根据IP地址进行散列,对于二层接口,根据MAC地址进行散列;也支持逐包负载分担

7

Eth-Trunk支持路由、透明和混合模式

8

Shutdown trunk会同时shutdown trunk的成员口

9

Eth-Trunk接口默认使用GE0/0/0接口的MAC地址

10

Eth-Trunk成员接口继承其trunk口属性,包括MAC地址,不能单独配置业务属性

Eth-Trunk接口不支持的配置

Eth-Trunk接口特有的配置

flow-control

least

Hrp

load-balance

Ipsec

mac-address

loopback

max

speed

 

timer

 

ip relay address

 

Pppoe-client

 

Pppoe-server

 

rmon-statistics enable

 

rmon history

 

rmon statistics

 

Sig

 

vrrp

 

命令分类

具体命令

 

创建/删除Eth-Trunk接口

创建Eth-Trunk接口:
[E1000E]interface Eth-Trunk 2
[E1000E]interface GigabitEthernet 0/0/0 [E1000E-GigabitEthernet0/0/0]eth-trunk 2
删除Eth-Trunk接口:
[E1000E-GigabitEthernet0/0/0]undo eth-trunk 2(物理接口恢复默认MTU ,MAC)
[E1000E]undo interface Eth-Trunk 2

 

Eth-Trunk接口最少成员数配置

[E1000E-Eth-Trunk2]least active-linknumber link-number

 

影响Eth-Trunk接口带宽的最大接口数配置

[E1000E-Eth-Trunk2] max bandwidth-affected-linknumber link-number

 

散列表配置

[E1000E-Eth-Trunk2] load-balance [ip | mac | packet-all]
ip:根据源ip+目的ip地址进行散列 (适用于三层功能)
mac:根据源MAC+目的MAC进行散列 (适用于二层功能)
packet-all:根据包进行散列 (适用于二三层功能)

 

命令分类

具体命令

 

创建/删除Eth-Trunk接口

创建Eth-Trunk接口:
[E1000E]interface Eth-Trunk 2
[E1000E]interface GigabitEthernet 0/0/0 [E1000E-GigabitEthernet0/0/0]eth-trunk 2
删除Eth-Trunk接口:
[E1000E-GigabitEthernet0/0/0]undo eth-trunk 2(物理接口恢复默认MTU ,MAC)
[E1000E]undo interface Eth-Trunk 2

 

Eth-Trunk接口最少成员数配置

[E1000E-Eth-Trunk2]least active-linknumber link-number

 

影响Eth-Trunk接口带宽的最大接口数配置

[E1000E-Eth-Trunk2] max bandwidth-affected-linknumber link-number

 

散列表配置

[E1000E-Eth-Trunk2] load-balance [ip | mac | packet-all]
ip:根据源ip+目的ip地址进行散列 (适用于三层功能)
mac:根据源MAC+目的MAC进行散列 (适用于二层功能)
packet-all:根据包进行散列 (适用于二三层功能)

 

命令分类

具体命令

 

创建/删除Eth-Trunk接口

创建Eth-Trunk接口:
[E1000E]interface Eth-Trunk 2
[E1000E]interface GigabitEthernet 0/0/0 [E1000E-GigabitEthernet0/0/0]eth-trunk 2
删除Eth-Trunk接口:
[E1000E-GigabitEthernet0/0/0]undo eth-trunk 2(物理接口恢复默认MTU ,MAC)
[E1000E]undo interface Eth-Trunk 2

 

Eth-Trunk接口最少成员数配置

[E1000E-Eth-Trunk2]least active-linknumber link-number

 

影响Eth-Trunk接口带宽的最大接口数配置

[E1000E-Eth-Trunk2] max bandwidth-affected-linknumber link-number

 

散列表配置

[E1000E-Eth-Trunk2] load-balance [ip | mac | packet-all]
ip:根据源ip+目的ip地址进行散列 (适用于三层功能)
mac:根据源MAC+目的MAC进行散列 (适用于二层功能)
packet-all:根据包进行散列 (适用于二三层功能)

 

命令分类

具体命令

说明

负载分担配置

[E1000E-GigabitEthernet0/0/3]distribute-weight weight-value

配置成员链路的负载分担权重 ,其所有成员端口权重之和不能大于16,默认各成员接口权重为1

显示Trunk成员表

[E1000E]display trunkmembership eth-trunk 2

Trunk ID: 2
used status: VALID
TYPE: ethernet
Number Of Ports in Trunk = 1
Number Of UP Ports in Trunk = 0
operate status: down
Interface GigabitEthernet0/0/3, valid,selected,operate down,weight=1

显示Eth-Trunk转发表

[E1000E-GigabitEthernet0/0/3]display trunkfwdtbl eth-trunk 2

Show the Trunk Forwarding Table
Eth-Trunk2
The Forwarding Table is NULL

切换Eth-Trunk接口工作模式

[E1000E-Eth-Trunk2]portswitch
从三层模式切换到二层模式
[E1000E-Eth-Trunk2] undo portswitch
从二层模式切换回三层模式

防火墙工作在混合模式才有Eth-Trunk接口工作模式的切换
如果要绑定VLAN,Eth-Trunk接口需要从三层模式切换到二层模式