1. 打开eNSP模拟器软件,添加一台交换机LSW1,两台PC电脑,连线如下图。
2. 右键交换机--启动交换机
3. 右键交换机--CLI进入控制台输入命令如下:<Huawei>system-viewEntersystemview,returnuserviewwithCtrl+Z.[Huawei]undoinfo-centerenableInfo:Informationcenterisdisabled.[Huawei]vlan2#创建vlan2[Huawei-vlan2]intereth0/0/1分配Ethernet0/0/1给vlan2[Huawei-Ethernet0/0/1]portlink-typeaccess[Huawei-Ethernet0/0/1]portdefaultvlan2[Huawei-Ethernet0/0/1]intervlan2#进入vlan2虚接口[Huawei-Vlanif2]ipaddress10.5.1.254255.255.255.0#在虚接口配置ip地址,就是网关[Huawei-Vlanif2]
如有侵权请及时联系我们处理,转载请注明出处来自
推荐文章
科技快看 网站地图广州壹创集信息科技有限公司 版权所有 粤ICP备2021122624号