当前位置:首页 » 币种行情 » ethtrunk编号

ethtrunk编号

发布时间: 2023-09-08 18:12:43

A. ethtrunk两端编号不一致有问题吗

有。两侧eth-trunk配置不对称,一端配置链路聚合另一端未配置链路聚合导致环路。以太网链路聚合Eth-Trunk简称链路聚合,它通过将多条以太网物理链路捆绑在一起成为一条逻辑链路,从而实现增加链路带宽的目的。

B. 如何理解eth-trunk

Eth-Trunk接口是一种可以动态创建的接口,该类型接口可以绑定若干物理的以太网接口作为一个逻辑接口使用,实现增加带宽提高靠性的目的。

Trunk优势于:

1、通Trunk接口实现负载担Eth-Trunk接口内实现流量负载担。

2、某员接口连接物理链路现故障流量切换其用链路提高整Trunk链路靠性。

3、 Trunk接口总带宽各员接口带宽。

(2)ethtrunk编号扩展阅读:

Trunk具体应用

1、Trunk功能用于交换机与服务器之间的相联,为服务器提供独享的高带宽。

2、Trunk功能用于交换机之间的级联,为交换机之间的数据交换提供高带宽的数据传输能力,提高网络速度,突破网络瓶颈,进而大幅提高网络性能(主要应用)。

Trunk功能举例

——例如:为增加带宽,提高连接可靠性,某网吧电影服务器是双网卡且作了绑定,与中心交换机的23、24端口连接;二层交换机的1、2端口与中心交换机的1、2端口连接,那么中心交换机需将1、2端口,23、24端口分别做Trunk。说明:这里的二层交换机也需支持Trunk。

参考资料:网络-Trunk链路

C. 华为交换机常见链路聚合操作整理 第十三天

1、将成员接口批量加入聚合组。

在Eth-Trunk1中批量加入10个成员接口。

脚本:

system-view

interface eth-trunk 1

trunkport gigabitethernet 1/0/10 to 1/0/20

2、将指定成员接口从聚合组中删除,有两种方式。

(1)在Eth-Trunk接口视图下使用命令undo trunkport进行删除。

例如:

system-view

interface eth-trunk 1

undo trunkport gigabitethernet 1/0/10

(2)在成员接口视图下执行命令undo eth-trunk进行删除。

例如:

system-view

interface gigabitethernet 1/0/10

undo eth-trunk

3、删除聚合组

首先需要将所有的成员从聚合组中删除。

在系统视图下使用命令undo interface eth-trunk trunk-id.

例如:

system-view

undo interface eth-trunk 2

4、查看Eth-trunk接口的配置信息。

display eth-trunk #查看所有Eth-trunk接口配置信息。

display eth-trunk 10 #查看eth-trunk 10接口的配置信息。

5、查看Eth-trunk的成员接口信息。

display trunkmembership eth-trunk 1 #查看ID为1的Eth-trunk的成员接口信息。

6、查看设备支持的链路聚合组数目和成员接口数目。

display trunk configuration

D. 三层交换做eth-trunk,但怎么在上面配IP地址

首先在系统视图下建立一个vlan ,比如vlan 10;
然后,进入你建立好的eth-trunk接口下,把接口模式改成trunk,允许vlan10通过:
port link-type trunk ,
port trunk allow-pass vlan 10,
最后给vlan10配置你想要的接口IP:
interface vlanif 10,
ip address 192.168.1.1 24。
这样这个IP就是eth-trunk的接口IP了。

E. 华为PTN3900设备传输链路聚合组怎么配置

在两台S-switch 设备上配置静态LACP 模式链路聚合组,提高两设备之

间的带宽与可靠性,具体要求如下:
l M 条活动链路具有负载分担的能力。
l 两设备间的链路具有N 条冗余备份链路,当活动链路出现故障链路时,备份链路替
代故障链路,保持数据传输的可靠性。
 

 
配置思路
采用如下的思路配置静态LACP 模式链路聚合:
1. 在S-switch 设备上创建Eth-Trunk,配置Eth-Trunk 为静态LACP 模式。
2. 将成员接口加入Eth-Trunk。
3. 配置接口Eth-Trunk 处理BPDU 报文。
4. 配置系统优先级确定主动端。
5. 配置活动接口上限阈值。
6. 配置接口优先级确定活动链路。
数据准备
为完成此配置例,需准备如下的数据:
l 两端S-switch 设备链路聚合组编号。
l S-switch-A 系统优先级。
l 活动接口上限阈值。
l 活动接口LACP 优先级。
配置步骤
1. 创建编号为1 的Eth-Trunk,配置它的工作模式为静态LACP 模式
# 配置S-switch-A。
<Quidway> system-view
[Quidway] sysname S-switch-A
[S-switch-A] interface eth-trunk 1
[S-switch-A-Eth-Trunk1] mode lacp-static
[S-switch-A-Eth-Trunk1] quit
# 配置S-switch-B。
<Quidway> system-view
[Quidway] sysname S-switch-B
[S-switch-B] interface eth-trunk 1
[S-switch-B-Eth-Trunk1] mode lacp-static
[S-switch-B-Eth-Trunk1] quit
2. 将成员接口加入Eth-Trunk
# 配置S-switch-A。
[S-switch-A] interface ethernet 0/0/1
[S-switch-A-Ethernet0/0/1] eth-trunk 1
[S-switch-A-Ethernet0/0/1] quit
[S-switch-A] interface ethernet 0/0/2
[S-switch-A-Ethernet0/0/2] eth-trunk 1
[S-switch-A-Ethernet0/0/2] quit
[S-switch-A] interface ethernet 0/0/3
[S-switch-A-Ethernet0/0/3] eth-trunk 1
[S-switch-A-Ethernet0/0/3] quit
# 配置S-switch-B。
[S-switch-B] interface ethernet 0/0/1
[S-switch-B-Ethernet0/0/1] eth-trunk 1
[S-switch-B-Ethernet0/0/1] quit
[S-switch-B] interface ethernet 0/0/2
[S-switch-B-Ethernet0/0/2] eth-trunk 1
[S-switch-B-Ethernet0/0/2] quit
[S-switch-B] interface ethernet 0/0/3
[S-switch-B-Ethernet0/0/3] eth-trunk 1
[S-switch-B-Ethernet0/0/3] quit
3. 配置接口Eth-Trunk 处理BPDU 报文
# 配置S-switch-A。
[S-switch-A] interface eth-trunk 1
[S-switch-A-Eth-Trunk1] bp enable
[S-switch-A-Eth-Trunk1] quit
# 配置S-switch-B
[S-switch-B] interface eth-trunk 1
[S-switch-B-Eth-Trunk1] bp enable
[S-switch-B-Eth-Trunk1] quit
4. 在S-switch-A 上配置系统优先级为100,使其成为LACP 主动端
[S-switch-A] lacp priority 100
5. 在S-switch-A 上配置活动接口上限阈值M 为2
[S-switch-A] interface eth-trunk 1
[S-switch-A-Eth-Trunk1] max bandwidth-affected-linknumber 2
[S-switch-A-Eth-Trunk1] quit
2 LACP 配置
说明
由于S-switch-A 为主动端,所以S-switch-B 不需要配置活动接口上限阈值,步骤 6 中配置接
口优先级同样只需要在主动端S-switch-A 上配置即可。
6. 在S-switch-A 上配置接口优先级确定活动链路
[S-switch-A] interface ethernet 0/0/1
[S-switch-A-Ethernet0/0/1] lacp priority 100
[S-switch-A-Ethernet0/0/1] quit
[S-switch-A] interface ethernet 0/0/2
[S-switch-A-Ethernet0/0/2] lacp priority 100
[S-switch-A-Ethernet0/0/2] quit
7. 验证配置结果
# 查看各S-switch 设备的Eth-Trunk 信息,查看链路是否协商成功。
[S-switch-A] display eth-trunk 1
Eth-Trunk1's state information is:
Local:
LAG ID: 1 WorkingMode: STATIC
Preempt Delay: Disabled Hash arithmetic: According to MAC
System Priority: 100 System ID: 0077-7777-7777
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 2
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------
ActorPortName Status PortType PortPri PortNo PortKey PortState Weight
Ethernet0/0/1 Selected 100M 100 1 289 11111100 1
Ethernet0/0/2 Selected 100M 100 2 289 11111100 1
Ethernet0/0/3 Unselect 100M 32768 3 289 11100000 1
Partner:
--------------------------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo PortKey PortState
Ethernet0/0/1 32768 0001-0168-0182 32768 1 289 11111100
Ethernet0/0/2 32768 0001-0168-0182 32768 2 289 11111100
Ethernet0/0/3 32768 0001-0168-0182 32768 3 289 11100000
[S-switch-B] display eth-trunk 1
Eth-Trunk1's state information is:
Local:
LAG ID: 1 WorkingMode: STATIC
Preempt Delay: Disabled Hash arithmetic: According to MAC
System Priority: 32768 System ID: 0001-0168-0182
Least Active-linknumber: 1 Max Bandwidth-affected-linknumber: 8
Operate status: up Number Of Up Port In Trunk: 2
--------------------------------------------------------------------------------
ActorPortName Status PortType PortPri PortNo PortKey PortState Weight
Ethernet0/0/1 Selected 100M 32768 1 289 11111100 1
Ethernet0/0/2 Selected 100M 32768 2 289 11111100 1
Ethernet0/0/3 Unselect 100M 32768 3 289 11100000 1
Partner:
--------------------------------------------------------------------------------
ActorPortName SysPri SystemID PortPri PortNo PortKey PortState
Ethernet0/0/1 100 0077-7777-7777 100 1 289 11111100
Ethernet0/0/2 100 0077-7777-7777 100 2 289 11111100
Ethernet0/0/3 100 0077-7777-7777 32768 3 289 11100000
通过以上显示信息可以看到,S-switch-A 的系统优先级为100,高于S-switch-B 的
系统优先级。Eth-Trunk 的成员接口中Ethernet 0/0/1、Ethernet 0/0/2 成为活动接
口,处于“Selected”状态,接口Ethernet 0/0/3 处于“Unselect”状态,同时实现M
条链路的负载分担和N 条链路的冗余备份功能。
配置文件
l S-switch-A 的配置文件
#
sysname S-switch-A
#
lacp priority 100
#
interface Eth-Trunk1
bp enable
mode lacp-static
max bandwidth-affected-linknumber 2
#
interface Ethernet0/0/1
eth-trunk 1
lacp priority 100
#
interface Ethernet0/0/2
eth-trunk 1
lacp priority 100
#
interface Ethernet0/0/3
eth-trunk 1
#
return
l S-switch-B 的配置文件
#
sysname S-switch-B
#
interface Eth-Trunk1
bp enable
mode lacp-static
#
interface Ethernet0/0/1
eth-trunk 1
#
interface Ethernet0/0/2
eth-trunk 1
#
interface Ethernet0/0/3
eth-trunk 1
#
return

F. Eth-trunk的2种模式理解

你第一个配置里g0/0/2的eth-trunk2应该是eth-trunk1,写错了。

第一种手工配置,是没有办法检测单通的故障的,只要接口收到光,两个接口都在trunk里。而第二种配置,会发报文给对端,对端回了,接口才会加入;而且你配置了需要两个接口active,断了一个接口,整个捆绑接口也会down。

G. eth-trunk

只能实现活动链路流量的负载分担;

手工完成eth-trunk接口的建立、成员端口的加入、都是活动接口;

实现活动链路流量的负载分担,同时可实现非活动链路的冗余备份;

手工完成eth-trunk接口的建立、成员端口的加入,LACP协议负责确定活动接口;

LACP协议协商失败后,eth-trunk接口down,成员端口都不能转发流量;

LACP协商失败后,eth-trunk接口down,成员接口继承属性独立转发流量;

1、系统LACP优先级数值越小越优先;

2、系统MAC地址数值越小越优先;

1、接口LACP优先级数值越小越优先;

2、接口ID数值越小越优先;

1、src-ip

2、dst-ip

3、src-dst-ip

4、src-mac

5、dst-mac

6、src-dst-mac

成员端口超过最大活动接口数,成员端口按优先级组成M:N冗余备份;

优先级高的接口故障后恢复,等待抢占延迟时间超时后,从备用接口变为活动接口;

以SW1为LACP主动端,SW2为LACP被动端,进行静态LACP链路聚合配置:

SW1:

#

lacp priority 100

#

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

load-balance src-dst-mac

lacp preempt enable

max active-linknumber 2

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

eth-trunk 1

lacp priority 100

#

SW2:

interface Eth-Trunk1

port link-type trunk

port trunk allow-pass vlan 2 to 4094

mode lacp-static

load-balance src-dst-mac

#

interface GigabitEthernet0/0/1

eth-trunk 1

#

interface GigabitEthernet0/0/2

eth-trunk 1

#

interface GigabitEthernet0/0/3

eth-trunk 1

H. 华为交换机E-Trunk和Eth-Trunk的区别

区别:

1、链路来源不同

Eth-Trunk:一般指同一设备的链路聚合,一台交换机将多个接口捆绑,形成一个Eth-Trunk接口,从而实现了增加带宽和提高可靠性的目的。

E-Trunk(Enhanced Trunk):一般指跨设备链路聚合,是一种实现跨设备链路聚合的机制,基于LACP(单台设备链路聚合的标准)进行了扩展,能够实现多台设备间的链路聚合。从而把链路可靠性从单板级提高到了设备级。

2、优势不同

Eth-Trunk:通过Trunk接口可以实现负载分担。在一个Eth-Trunk接口内,可以实现流量负载分担。当某个成员接口连接的物理链路出现故障时,流量会切换到其他可用的链路上,从而提高整个Trunk链路的可靠性。Trunk接口的总带宽是各成员接口带宽之和。

E-Trunk(Enhanced Trunk):主要应用于CE双归接入VPLS、VLL、PWE3网络时,CE与PE间的链路保护以及对PE设备节点故障的保护。在没有使用E-Trunk前,CE通过Eth-Trunk链路只能单归到一个PE设备。

如果Eth-Trunk出现故障或者PE设备故障,CE将无法与PE设备继续进行通信。使用E-Trunk后,CE可以双归到PE上,从而实现设备间保护。

(8)ethtrunk编号扩展阅读

端口汇聚是将多个端口汇聚在一起形成一个汇聚组,以实现出/入负荷在汇聚组中各个成员端口中的分担,同时也提供了更高的连接可靠性。E-trunk与Eth-trunk都是一种链路聚合技术

一些三层数据中心组网中,核心层由两台CE12800组成,两台设备间通过2条10GE链路聚合,从而保证链路的高可靠性。汇聚层采用CE12800交换机堆叠实现冗余备份,堆叠与上下游设备间通过跨框Eth-Trunk连接。

同时,通过Eth-Trunk的流量本地优先转发功能减少框间链路的带宽承载压力。汇聚层通过创建VRF隔离业务网段路由与公网路由,采用旁挂方式部署防火墙,两台防火墙进行双机热备份,保证高可靠性。

I. 以太网链路聚合Eth-Trunk

负载分担、增加带宽、提高可靠性

1.创建链路聚合组
2.配置链路聚合模式
改变Eth-Trunk工作模式前应确保该Eth-Trunk中没有加入任何成员接口,否则无法更改Eth-Trunk的工作模式。
3.将成员接口加入聚合组
1.最多加入8个成员
2.每个成员不能配置任何业务和静态MAC地址
3.一个接口只能属于一个Eth-Trunk
4.如果本地设备创建了Eth-Trunk接口,与成员接口直连的对端也必须如此
5.Eth-Trunk链路两端相连的各成员以太网接口的数量、速率、双工模式都必须一样

1.优先级 + System_id(mac地址)
0-65535 15bit 默认取 32768 越小越优
2.协商最大的活跃接口 8条
以最小值的最大活跃数协商(无关主动被动)
3.协商活跃端口号(主动端控制)
本地协商 端口优先级 65535 32768 以小为优 + 端口号

【示例一】配置静态模式的链路聚合

【示例二】配置LACP模式的链路聚合

J. 宽带光纤猫上的ETH接口怎么用

ETH 即 EtherNet,以太网,IEEE制定的IEEE 802.3标准给出了以太网的技术标准,就理解为一种网络接入协议,或者网络接入口链基清的标准,再或者直接叫做网口。

热点内容
非法集资数字货币合同无效 发布:2025-06-16 22:07:24 浏览:194
王者nbamvp合约怎么获得 发布:2025-06-16 22:04:49 浏览:945
btc用哪个冷钱包 发布:2025-06-16 21:55:11 浏览:27
eth的替代者到底是谁 发布:2025-06-16 21:53:16 浏览:717
币圈杠杆合约风险 发布:2025-06-16 21:40:31 浏览:306
有没有比特币的微信群 发布:2025-06-16 21:25:25 浏览:350
trx币提到微信 发布:2025-06-16 21:25:22 浏览:954
Trx和rx 发布:2025-06-16 21:12:38 浏览:832
传统金融估值模型适合币圈吗 发布:2025-06-16 20:44:44 浏览:874
2019数字货币大爆发 发布:2025-06-16 20:44:44 浏览:693