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