<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-07-17 00:00:00 发布
本文详细介绍了华为路由器的基本配置,包括进入全局视图、配置接口IP地址、查看接口状态,以及开启HTTP访问、TELNET远程登录和DHCP服务的步骤。同时,解释了DHCP的工作原理和租期管理,并展示了如何配置DHCP地址池和路由表。
摘要由CSDN通过智能技术生成