un in en
#关闭日志dis ip int b
#查看端口IP
dis vlan br/ dis vlan all
#查看vlan
dis port trunk
#端口通过dis this
#查看当前端口default
#清除端口配置undo vlan 10
#删除VLAN
port access vlan 10
#加入VLAN1
port link-type trunk
#设置链路的类型为trunk
、access
(缺省)port trunk pvid vlan 1
#设置vlan链路模式为trunk
、access
(缺省) port trunk permit vlan 10 20
#允许vlan10/vlan20
通过 undo port link-type
#删除链路模式display interface GigabitEthernet1/0/1
#查看端口信息dis int br
#查看所有接口状态undo shutdown
#开启端口
Last modification:January 19, 2020
© Allow specification reprint