端口加入ETHTRUNK如何取消
① 如何删除eth-trunk 端口
sys模式下:
undo interface eth-trunk trunk-id
② 华为交换机接口退出eth-trunk出错
你这是要 取消它的接口类型为truck
③ 锐捷交换机如何删除trunk命令
想删除只要把它改成原先的模式就可以了
进trunk口
(config-if)#switchport mode access
这样就行了
④ 交换机可以通过设置或取消trunk端口中允许通过的vlan
交换机可以设置VLAN允许通过中继端口。具体代码如下:
定义端口F0/1选择要设置的端口:intf0/1。设置端口为中继端口,设置允许通过的VLAN选择要设置的vlanid:SW trunk allowed valn 10,20,30,结束,返回特权模式:结束。
以Cisco交换机为例,在定义的trunk口中配置如下:
3550b#config t
Enter configuration commands, one per line. End with CNTL/Z.
3550b(config)#int g0/1 //假设此端口为定义的trunk口
3550b(config-if)#switchport trunk allowed vlan ?
WORD VLAN IDs of the allowed VLANs when this port is in trunking mode
add add VLANs to the current list
all all VLANs
except all VLANs except the following
none no VLANs
remove remove VLANs from the current list
(4)端口加入ETHTRUNK如何取消扩展阅读:
1、VLAN在实际环境中的应用。在实际的企业环境中,不只是使用一台交换机,而是多台交换机共同作用。每台交换机都划分VLAN,且这些VLAN可能在多个交换机上是重复的。
2、连接不同交换机的VLAN。为几个VLAN都连接一条物理的链路,只需要用一条中继链路承载所有的VLAN通信。
3、链路的类型。
(1)接入链路。接入链路是属于一个并且只属于一个VLAN的端口。
(2)中继链路。中继链路可以承载多个VLAN。
⑤ 华为路由器上多配了个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
希望能帮到你。
⑦ 思科交换机命令(如何加入和删除打trunk口的vlan)
交换机可以设置中继端口允许的VLAN。具体代码如下:
(1)定义端口F0/1(选择要设置的端口):intf0/1
(2)将端口设置为中继端口,并设置允许的VLAN(选择要设置的VLANID):swtrunkallowvaln10,20,30
(3)结束,返回特权模式:结束
交换机可以通过中继端口取消允许的VLAN。具体代码如下:
(1)定义端口F0/1(选择要设置的端口):intf0/1
(2)将端口设置为中继端口,取消允许的VLAN(选择要设置的VLANID):swtrunkdeallowvaln10,20,30
(3)结束,返回特权模式:结束
(7)端口加入ETHTRUNK如何取消扩展阅读:
不同系列交换机设置VLAN命令有所不同,功能不同,根据需要选择。
交换机系列:
(1)1900系列:1924
(2)2900系列:2924、2924M
(3)2950系列:2950-24、2950G-24/48、2950C-24、2950T-24、2950SX-24/48
(4)2960系列:2960-24/48TT-L、296024/48TC-L
(5)3500系列:3508G、3524、3548
(6)3550系列:3550-24-SMI/EMI、3550-48-SMI/EMI、3550-12G/T
(7)3560系列:3560-24/48也有带G的
(8)3750系列:3750-24/48-TS-S、3750-24/48-TS-E3750G-24/48-TS-S、3750G-24/48-TS-E、3750G-12S
(9)4000系列:4003、4006
(10)4500系列:4503、4506、4507R
(11)6000系列:6006、6009
(12)6500系列:6506、6509、6513
⑧ 如何删除h3c三层 端口 trunk
interface GigabitEthernet1/0/8
undo port link-type
⑨ 交换机设置了trunk,怎么去除
可以在窗口里面修改
点击自己想要修改的端口,我打开了f 0/2,然后你会看到自己的端口处于trunk模式,并且可以看到自己的端口处于哪个VLAN之下。
点击trunk旁边的小倒三角,有access,点一下,就改变了,如果你想改变端口的VLAN,可以点击旁边VLAN的倒三角进行选择。