当前位置 : 主页 > 手机开发 > 其它 >

access改hybrid trunk改hybrid

来源:互联网 收集:自由互联 发布时间:2021-06-12
access改hybrid [SW2-Ethernet0/0/3]dis th # interface Ethernet0/0/3 port link-type access port default vlan 10 # return [SW2-Ethernet0/0/3]undo port default vlan [SW2-Ethernet0/0/3]port link-type hybrid trunk改hybrid [SW2-Ethernet0/0/1]dis

access改hybrid 


[SW2-Ethernet0/0/3]dis th

#

interface Ethernet0/0/3

 port link-type access

 port default vlan 10

#

return

[SW2-Ethernet0/0/3]undo port default vlan 

[SW2-Ethernet0/0/3]port link-type hybrid 


trunk改hybrid


[SW2-Ethernet0/0/1]dis th

#

interface Ethernet0/0/1

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

#

return

[SW2-Ethernet0/0/1]

[SW2-Ethernet0/0/1]

[SW2-Ethernet0/0/1]clear conf inter eth0/0/1

Warning: All configurations of the interface will be cleared, and its state will

 be shutdown. Continue? [Y/N] :y

Info: Total execute 2 command(s), 2 successful, 0 failed.

[SW2-Ethernet0/0/1]undo shutdown 

[SW2-Ethernet0/0/1]port link-type hybrid 

网友评论