一些基本命令 <Huawei> system-view #进入系统视图 [Huawei] interface Ethernet 0/0/1 #进入接口视图 [Huawei-Ethernet0/0/1] quit #返回上一级 [Huawei] interface Ethernet 0/0/1 [Huawei-Ethernet0/0/1] return #返回用户视图 或者 Ctrl + z <Huawei> 修改主机名 <Huawei> system-view #进入系统视图 Enter system view, return user view with Ctrl+Z. [Huawei] sysname oschina #修改主机名为oschina [oschina] 显示VRP版本 [oschina] display version Huawei Versatile Routing Platform Software VRP (R) software, Version 5.110 (S3700 V200R001C00) Copyright (c) 2000-2011 HUAWEI TECH CO., LTDQuidway S3700-26C-HI Routing Switch uptime is 0 week, 0 day, 0 hour, 11 minutes 查看配置