二层交换机设置模式,三层交换,静态路由,和单臂路由笔记
实验拓扑图 二层交换机设置模式,三层交换,静态路由,和单臂路由笔记给每台pc设置设置ip和网关 LSW2二层交换机和pc之间的接口设置access模式和trunk模式 < Huawei > undo terminal monitor //用户视图设置禁消息弹出 Info: Current terminal monitor is off. < Huawei > system-view //进入系统视图 Enter system view, return user view with Ctrl+Z. [ Huawei ] sysname sw2 //修改名字 [ sw2 ] vlan batch 10 20 //创建多个vlan Info: This operation may take a few seconds. Please wait for a moment .. .done. [ sw2 ] int e0/0/2 //进入sw2-Ethernet0/0/2这个接口 [ sw2-Ethernet0/0/2 ] port link-type access //设置端口模式为access [ sw2-Ethernet0/0/2 ] port default vlan 10 //把端口加入vlan10 进入sw2-Ethernet0/0/3口 [ sw2-Ethernet0/0/2