7.华为交换机知识【配置vlanif接口】

任务:配置vlanif接口实现三层通信

说明:我也是初学者,还没搞明白这个的用处,以后做实验时再说

操作:1.进入系统视图                          system-view

          2.建立一个vlan                           vlan 100

          3.进入vlanif接口视图                   interface vlanif 100

          4.配置vlanif的ip地址                    ip address 192.168.1.6 24

          5.查看配置结果                          disp interface vlanif 100

 

在eNSP模拟器上的命令如下:

<Huawei>system-view
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
Line protocol current state : DOWN
Description:
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 192.168.1.6/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 4c1f-cc30-6c0a


Current system time: 2013-01-23 08:47:51-08:00
    Input bandwidth utilization  : --
    Output bandwidth utilization : --

你可能感兴趣的:(接口,知识,华为交换机)