任务:配置vlanif接口实现三层通信
说明:我也是初学者,还没搞明白这个的用处,以后做实验时再说
操作:1.进入系统视图system-view
2.建立一个vlanvlan 1
003.进入vlanif接口视图interface vlanif 100
4.配置vlanif的ip地址ip address 192.168.1.6 24
5.查看配置结果disp interface vlanif 100
在eNSP模拟器上的命令如下:
Enter system view, return user view with Ctrl+Z.
[Huawei]undo info-center enable
Info: Information center is disabled.
[Huawei]vlan 100
[Huawei-vlan100]q
[Huawei]interface vlanif 100
[Huawei-Vlanif100]ip address 192.168.1.6 24
[Huawei-Vlanif100]q
[Huawei]disp interface vlanif 100
Vlanif100 current state : DOWN