HCIA-VRP基础
VRP基础
pwd 查看当前目录
默认:

常用命令:
四大视图
<huawei>----用户视图
进入系统视图<huawei>system-view
[huawei]系统视图
返回用户视图ctrl+z(不管在当前什么视图下)
进入接口视图[huawei]interface Ethernet0//0/0或简写 int e0/0/0
接口视图[huawei-Ethernet0/0/0]
退出当前视图 quit/q
进入协议视图[huawei]ospf
协议视图[huawei-ospf-1]
接口视图之间可以直接切换
为接口配置IP地址[huawei-Ethernet0/0/0]ip address 192.168.1.254 24
查看当前视图下有效配置[huawei-Ethernet0/0/0]display this
删除接口IP地址[huawei-Ethernet0/0/0]undo ip address
为设备命名[huawei]sysname R1
[R1]
查看当前系统所有的配置[R1]display-crrent-configuration
查看接口信息[R1]display ip interface brief
保存拓扑和配置文件


浙公网安备 33010602011771号