华为交换机基本命令配置:建立VLAN,把端口划分到对于vlan上
由于物理环境限制,本次实验华为模拟器eNSP官方版(交换机网络仿真平台)进行实验 本次学习:华为S5700怎么划分VLAN? 把vlan划分到端口上 打开eNSP模拟器 选择交换机拖动S5700到拓扑图上 选中交换机 然后开启设备 然后进入配置界面 创建vlan 具体命令如下: <Huawei>sys Enter system view, return user view with Ctrl+Z. [Huawei]sys R2 [R2]undo info enable Info: Information center is disabled. [R2]vlan 10 [R2-vlan10] 创建vlan后 使用 dispaly vlan 命令查看VLAN的相关信息 [R2]display vlan 接着使用 port link-type access 命令配置交换机上某些端口模式为access类型接口 并使用 port default vlan 命令配置接口的默认VLAN并同时加入相应的VLAN中 配置完成后,查看VLAN信息 是否成功把端口加入到VLAN 10里 来源: 51CTO 作者: Zhiwei_ 链接: https://blog.51cto.com/11009796/2112886?source=drt