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]
标签: #科技综合
郑重声明:图文由自媒体作者发布,我们尊重原作版权,但因数量庞大无法逐一核实,图片与文字所有方如有疑问可与我们联系,核实后我们将予以删除。