华为TRUNK 修改ACCESS 口方法

interface GigabitEthernet2/0/42  原先的为trunk,

port link-type trunk

port trunk allow-pass vlan 2 to 4094

#

interface GigabitEthernet2/0/42 现在改为access

undo port trunk  allow-pass vlan  all

port trunk allow-pass vlan 1

port link-type access

port  default vlan 10

 

posted @ 2021-09-23 17:27  小咔嚓  阅读(866)  评论(0编辑  收藏  举报