1、修改路由器、交换机名称
[Huawei]sysname R1
[R1]
2、设置路由器、交换机时钟
<Huawei>clock datetime 12:00:00 2019-06-25
<Huawei>clock timezone BJ add 08:00:00
3、设置标题信息
[Huawei]header login information "hello"
[Huawei]header shell information "Welcome to Huawei certification lab"
4、保存配置
<Huawei>save
The current configuration will be written to the device.
Are you sure to continue? (y/n)[n]:y
5、查看路由器、交换机基本信息
<Huawei>display version
6、查看路由器、交换机当前配置信息
<Huawei>display current-configuration
7、查看端口信息
<Huawei>display interface GigabitEthernet 0/0/0