ethtrunk三层聚合
⑴ 三层交换做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了。
⑵ 华为三层交换机连接服务器怎么做端口聚合
1、使用system-view命令,进入[]模式。
⑶ 如何理解eth-trunk
Eth-Trunk接口是一种可以动态创建的接口,该类型接口可以绑定若干物理的以太网接口作为一个逻辑接口使用,实现增加带宽提高靠性的目的。
Trunk优势于:
1、通Trunk接口实现负载担Eth-Trunk接口内实现流量负载担。
2、某员接口连接物理链路现故障流量切换其用链路提高整Trunk链路靠性。
3、 Trunk接口总带宽各员接口带宽。
(3)ethtrunk三层聚合扩展阅读:
Trunk具体应用
1、Trunk功能用于交换机与服务器之间的相联,为服务器提供独享的高带宽。
2、Trunk功能用于交换机之间的级联,为交换机之间的数据交换提供高带宽的数据传输能力,提高网络速度,突破网络瓶颈,进而大幅提高网络性能(主要应用)。
Trunk功能举例
——例如:为增加带宽,提高连接可靠性,某网吧电影服务器是双网卡且作了绑定,与中心交换机的23、24端口连接;二层交换机的1、2端口与中心交换机的1、2端口连接,那么中心交换机需将1、2端口,23、24端口分别做Trunk。说明:这里的二层交换机也需支持Trunk。
参考资料:网络-Trunk链路
⑷ 华为链路聚合配置命令
方法/步骤
首先进入系统视图
system-view
创建eth-trunk接口
interface Eth-Trunk 1
然后在Eth-Trunk逻辑口上执行undo portswitch命令,把聚合链路从二层转换到三层
undo portswitch
华为交换机三层链路聚合配置
一般是不能再逻辑接口上配置ip地址的,可以直接通过起svi,然后在svi上配置地址,将eth-trunk接口配置成trun,将相应的VLAN允许通过,很好的解决了需求。
将三层接口加入到eth-trunk中
interface GigabitEthernet 0/0/1
eth-trunk 1
华为交换机三层链路聚合配置
检查配置结果
display interface eth-trunk 1
华为交换机三层链路聚合配置
7
另一个交换机同上一样的配置步骤
⑸ 关于三层交换机Eth-Trunk垮网段通信问题
老弟,既然是跨网通信肯定要用三层技术了,既然是三层技术怎么会在LSW1和LSW2上开trank呢,那二层的技术。
如果想把那3根线全用上,可以起个Port-channel
int range gi 0/0/1 -3
channel-group 1 mode on/active
no switchport
ip add <你自己定>
no shutdown
回到config下面
ip routing
把默认路由都指到刚刚做的port-channel上就行了。
ip route 0.0.0.0 0.0.0.0 port-channel1
LSW1和LSW2上都这做就行了。
⑹ 华为交换机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上,从而实现设备间保护。
(6)ethtrunk三层聚合扩展阅读
端口汇聚是将多个端口汇聚在一起形成一个汇聚组,以实现出/入负荷在汇聚组中各个成员端口中的分担,同时也提供了更高的连接可靠性。E-trunk与Eth-trunk都是一种链路聚合技术
一些三层数据中心组网中,核心层由两台CE12800组成,两台设备间通过2条10GE链路聚合,从而保证链路的高可靠性。汇聚层采用CE12800交换机堆叠实现冗余备份,堆叠与上下游设备间通过跨框Eth-Trunk连接。
同时,通过Eth-Trunk的流量本地优先转发功能减少框间链路的带宽承载压力。汇聚层通过创建VRF隔离业务网段路由与公网路由,采用旁挂方式部署防火墙,两台防火墙进行双机热备份,保证高可靠性。
⑺ 华为模拟器链路聚合三个交换机的配置
SWA:
vlan batch 110 210
#
lacp priority 100
#
interface Vlanif110
ip address 172.25.110.1 255.255.255.0
#
interface Vlanif210
ip address 192.168.210.1 255.255.255.0
#
interface MEth0/0/1
#
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
max active-linknumber 3
interface GigabitEthernet0/0/21
eth-trunk 1
#
interface GigabitEthernet0/0/22
eth-trunk 1
lacp priority 100
#
interface GigabitEthernet0/0/23
eth-trunk 1
lacp priority 100
#
interface GigabitEthernet0/0/24
eth-trunk 1
SWB:
#
vlan batch 110 210
interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
#
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 210
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 210
interface GigabitEthernet0/0/18
eth-trunk 2
#
interface GigabitEthernet0/0/19
eth-trunk 2
#
interface GigabitEthernet0/0/20
eth-trunk 2
#
interface GigabitEthernet0/0/21
eth-trunk 1
#
interface GigabitEthernet0/0/22
eth-trunk 1
#
interface GigabitEthernet0/0/23
eth-trunk 1
SWC :
vlan batch 110 210
interface Eth-Trunk2
port link-type trunk
port trunk allow-pass vlan 2 to 4094
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 110
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 110
#
interface GigabitEthernet0/0/18
eth-trunk 2
#
interface GigabitEthernet0/0/19
eth-trunk 2
#
interface GigabitEthernet0/0/20
eth-trunk 2
⑻ 华为eth-trunk配置
VRRP与接口状态联动简介
VRRP主备备份功能有时需要额外的技术来完善其工作。例如,Master设备到达某网络的链路突然断掉时,VRRP无法感知故障进行切换,导致主机无法通过Master设备远程访问该网络。此时,可以通过VRRP与接口状态联动,解决这个问题。
当Master设备发现上行接口发生故障时,Master设备降低自己的优先级(使得Master设备的优先级低于Backup设备的优先级),并立即发送VRRP报文。Backup设备接收到优先级比自己低的VRRP报文后,切换至Master状态,充当VRRP备份组中新的Master设备,从而保证了流量的正常转发。
配置注意事项
· 保证同一备份组的设备上配置相同的备份组号(virtual-router-id)。
· 不同备份组之间的虚拟IP地址不能重复,并且必须和接口的IP地址在同一网段。
· 一个VRRP备份组最多可以配置监视8个接口。并且,当设备为IP地址拥有者时,不允许对其配置监视接口。
组网需求
如图1所示,用户通过Switch双归属到SwitchA和SwitchB。用户希望实现:
· 正常情况下,主机以SwitchA为默认网关接入Internet,当SwitchA或者其上下行接口故障时,SwitchB接替作为网关继续进行工作,实现网关的冗余备份。
· SwitchA和SwitchB之间增加带宽,实现链路冗余备份,提高链路可靠性。
· SwitchA故障恢复后,可以在20秒内重新成为网关。
配置思路
采用VRRP主备备份实现网关冗余备份,配置思路如下:
1. 配置各设备接口IP地址及路由协议,使各设备间网络层连通。
2. 在SwitchA和SwitchB上部署VLAN聚合,实现VLAN101~VLAN180二层隔离三层互通,节省了IP地址。
3. 在SwitchA和SwitchB上创建Eth-Trunk接口并加入成员接口,实现增加链路带宽,提供链路冗余备份。
4. 在SwitchA和SwitchB上配置VRRP备份组。其中,SwitchA上配置较高优先级和20秒抢占延时,作为Master设备承担流量转发;SwitchB上配置较低优先级,作为备用设备,实现网关冗余备份。
5. 在SwitchA上配置VRRP与接口状态联动,监视接口GE1/0/1和接口GE1/0/2,实现主设备故障时,VRRP备份组及时感知并进行主备切换。