ethtrunk能直接undo掉吗
① 华为和思科怎么做链路捆绑
华为要将捆绑模式调整lacp的,配置如下:
*******切记!一定要调,否则会产生环路********
华为交换机
#interface Eth-Trunk1
port link-type trunk
port trunk allow-pass vlan 2
to 4094
mode lacp-static //修改链路聚合模式
max active-linknumber 2 //设置最大活动链接数为2
bp enable
//开启BPDU
//**一定先配置好eth-trunk,在将接口放入eth-trunk
#lacp priority 100
#interface GigabitEthernet0/0/1
eth-trunk 1
undo ntdp enable
undo ndp enable
(在配置端口前,一定要将端口原有配置清空,全部undo掉,否则无法应用eth-trunk命令。如果之前端口配置过trunk口,可以使用undo port link-type清除trunk状态)
#interface GigabitEthernet0/0/2
eth-trunk 1
undo ntdp enable
undo ndp enable
思科交换机
interface port-channel1
switchport trunk
encapsulation dot1q
switchport mode trunk
interface g0/25
switchport trunk
encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
interface g0/27
switchport trunk
encapsulation dot1q
switchport mode trunk
channel-group 1 mode active
② 华为交换机2326如何删除port link-type trunk,用undo port link-type 不行,
原因是access模式只能通过缺省vlan,但现在是trunk模式,你应该是允许了所有vlan通过,所以此时需要undo掉允许通过所有vlan这条命令,然后再重新只允许通过缺省vlan即可解决:
首先,在接口视图下:undoporttrunkallow-passvlanall//取消允许所有vlan通过
然后:porttrunkallow-passvlan1//设置只允许缺省vlan(vlan1)通过,现在就可以:portlink-typeaccess了。
③ 如何理解eth-trunk
Eth-Trunk接口是一种可以动态创建的接口,该类型接口可以绑定若干物理的以太网接口作为一个逻辑接口使用,实现增加带宽提高靠性的目的。
Trunk优势于:
1、通Trunk接口实现负载担Eth-Trunk接口内实现流量负载担。
2、某员接口连接物理链路现故障流量切换其用链路提高整Trunk链路靠性。
3、 Trunk接口总带宽各员接口带宽。
(3)ethtrunk能直接undo掉吗扩展阅读:
Trunk具体应用
1、Trunk功能用于交换机与服务器之间的相联,为服务器提供独享的高带宽。
2、Trunk功能用于交换机之间的级联,为交换机之间的数据交换提供高带宽的数据传输能力,提高网络速度,突破网络瓶颈,进而大幅提高网络性能(主要应用)。
Trunk功能举例
——例如:为增加带宽,提高连接可靠性,某网吧电影服务器是双网卡且作了绑定,与中心交换机的23、24端口连接;二层交换机的1、2端口与中心交换机的1、2端口连接,那么中心交换机需将1、2端口,23、24端口分别做Trunk。说明:这里的二层交换机也需支持Trunk。
参考资料:网络-Trunk链路
④ 华为交换机命令,IT伙伴们,帮忙解释下下面命令的啊
Eth-Trunk接口是一种可以动态创建的接口,该类型接口可以绑定若干物理的以太网接口作为一个逻辑接口使用。加入到Eth-Trunk接口的以太网接口称为成员接口,用户只需对Eth-Trunk接口进行配置,对这些配置最终会映射到成员接口上。Eth-Trunk接口有路由模式和交换模式之分。路由模式的Eth-Trunk接口与路由模式的以太网接口类似,可以配置IP地址,运行各种路由协议、MPLS VPN等多种业务;交换模式的Eth-Trunk接口与交换模式以太网接口类似,可以加入VLAN,运行STP等协议。
Eth-Trunk接口应用特点有拓展接口带宽,增加链路可靠性以及流量的负载分担。
Universal Media Gateway 通用媒体网关
⑤ 华为路由器上多配了个eth-trunk,该怎么删除它啊,eth-trunk里面已经没有接口了为什么还是删不掉啊。。。
[lsw6]dis cu 得Eth-Trunk3到以下信息
#
interface Eth-Trunk3
port link-type trunk
port trunk allow-pass vlan 2 to 4094
mode lacp-static
#
[lsw6]int Eth-Trunk3 #进入Eth-Trunk3
[lsw6-Eth-Trunk3]undo mode #删除运行模式不用加lacp-static
[lsw6-Eth-Trunk3]undo port trunk allow-pass vlan all #删除所有连接vlan
[lsw6-Eth-Trunk3]port trunk allow-pass vlan 1 #删除默认可通过的vlan1(新版)
[lsw6-Eth-Trunk3]undo port link-type #删除通信模式
[lsw6-Eth-Trunk3]q #退出Eth-Trunk3
[lsw6]undo interface Eth-Trunk 3 #在系统示图下删除interface Eth-Trunk 3记得要有interface不然删不了。
好了你了[lsw6]dis cu #Eth-Trunk3不见了
⑥ 怎么删除华为eth-trunk下面的lacp协议
给你个绝对可行得办法:
[switch]interface g0/0/1 //如果是33系列以下,则是interface ethernet0/0/1
[switch-interface g0/0/1]display this //查看当前端口类型,是access,hybrid还是trunk,如果查不到,就说明它是默认端口类型,S23&33&53系列的交换机默认端口类型是hybird
如果接口有类似:
1. port link-type access 或者 port default vlan 2 //vlan 2是示例
删除办法:undo port default vlan 2
2. port link type hybird 或者 port hybrid tagged vlan 2 5 或者port hybrid untagged vlan 3 6等
删除办法:undo port hybrid tagged vlan 2 5 或者undo port hybrid untagged vlan 3 6
3. port link type trunk 或者 port trunk alloc-pass vlan 2 4 6 等
删除办法:undo port trunk alloc-pass vlan 2 4 6
希望能帮到你。
⑦ 如何删除eth-trunk 端口
sys模式下:
undo interface eth-trunk trunk-id
⑧ 华为链路聚合配置命令
方法/步骤
首先进入系统视图
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
另一个交换机同上一样的配置步骤
⑨ 华为交换机命令如果某一条写重复了,直接undo掉重写行吗
不行.
因为不管你重复多少遍,都只是一条.
ACL除外.
⑩ 华为交换机接口退出eth-trunk出错
你这是要 取消它的接口类型为truck