<Huawei>system-view --进入全局视图
[r1]interface GigabitEthernet 0/0/0--进入路由器接口
[r1-GigabitEthernet0/0/0]ip address --配置IP地址
[r1-GigabitEthernet0/0/0]ip address 192.168.1.254 24
[r1-GigabitEthernet0/0/0]display ip interface brief -----查看所有接口信息
如果想要拥有基础的通讯条件:
接口双up
[r1-GigabitEthernet0/0/0]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 2
The number of interface that is DOWN in Protocol is 2
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.254/24 up up
GigabitEthernet0/0/1 unassigned up down
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
[r1-GigabitEthernet0/0/0]
[Huawei-GigabitEthernet0/0/1]
ensp配置基本语句
最新推荐文章于 2024-06-23 13:57:27 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)