VLAN 配置命令

display interface vlanif [vlan-id] 查看VLANIF接口的状态信息和基本信息。
display vlan 查看所有vlan信息
interface vlanif [vlan-id] 创建vlanif接口
port default vlan [vlan-id] 配置接口加入这个vlan

port hybrid pvid vlan [valn-id] 设置Hybrid类型接口的默认valn id
port hybrid tagged vlan[vlan-id] 指定hybrid类型接口所属的vlan
port hybrid untagged vlan [vlan-id] 配置hybrid接口所属vlan,vlan的帧以untagged方式从该接口发送出去
port link-type {access | trunk | hybrid} 链路类型为access trunk hybrid

port trunk allow-pass vlan [vlan-id] 配置trunk类型的接口加入的vlan
port trunk pvid vlan [vlan-id] 设置trunk类型接口的默认vlan id
vlan [vlan-id] 创建vlan
vlan batch [vlan-id to vlan-id] 批量创建vlan

本贴仅供个人笔记参考…

你可能感兴趣的:(VLAN 配置命令)