Scenario:
A company has purchased two AR G3 routers that require commissioning before they can be used in the enterprise network.
Items to be commissioned include setting device names, the system time, passwords and file management.
Learning Objectives:
As part of this lab section, you are expected to achieve the following tasks:
1.Configure the connection from an end system to a device supporting VRP using terminal emulation software.
2.Configure device system parameters including device name, the system time, and the system time zone.
3.Configure the console port idle timeout duration.
4.Configure the login information.
5.Configure the login password and super password.
6.Save and delete a configuration file.
7.Configure IP addresses for router interfaces.
8.Test the connectivity between two directly connected routers.
9.Restart a device using VRP.
实际操作指令:
1、启动设备。用securecrt连接R1/R3或直接双击R1/R3打开命令行。
2、配置设备名称、系统时间、系统时区
修改设备名称为R1/R3
修改R1
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R1
修改R3
Enter system view, return user view with Ctrl+Z.
[Huawei]sysname R3
修改系统时间
执行display clock命令查看生效的新系统时间
2019-10-16 17:30:05
Wednesday
Time Zone(Local) : UTC+08:00
3、配置console口空闲时间为20分钟0秒
[R1]user-interface console 0
[R1-ui-console0]idle-timeout 20 0
4、 配置登陆信息
[R1]header ?
login Specify the login authentication banner
shell Specify the start banner of session
[R1]header login information "wlecome to login R1"
这一句信息在设置密码后,输入登陆密码前会提示。
[R1]header shell information "think twice before you do "
这一句在登陆命令行前显示
5、配置登陆密码
[R1]user-interface console 0
[R1-ui-console0]authentication-mode password
Please configure the login password (maximum length 16):******
6、保存配置
7、配置IP地址
[R1]int g0/0/0
[R1-GigabitEthernet0/0/0]ip address 10.0.13.1 24
Oct 17 2019 02:35:49+08:00 R1 %%01IFNET/4/LINK_STATE(l)[1]:The line protocol IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[R3]int g0/0/0
[R3-GigabitEthernet0/0/0]ip address 10.0.13.3 24
8、测试连通性
PING 10.0.13.3: 56 data bytes, press CTRL_C to break
Reply from 10.0.13.3: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 10.0.13.3: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.0.13.3: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.0.13.3: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.0.13.3: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 10.0.13.3 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/32/70 ms
[R3]ping 10.0.13.1
PING 10.0.13.1: 56 data bytes, press CTRL_C to break
Reply from 10.0.13.1: bytes=56 Sequence=1 ttl=255 time=30 ms
Reply from 10.0.13.1: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.0.13.1: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.0.13.1: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 10.0.13.1: bytes=56 Sequence=5 ttl=255 time=30 ms
--- 10.0.13.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/22/30 ms
9 重启设备
Info: The system is comparing the configuration, please wait.
Warning: All the configuration will be saved to the next startup configuration. Continue ? [y/n]:y
It will take several minutes to save configuration file, please wait......
Configuration file had been saved successfully
Note: The configuration file will take effect after being activated
System will reboot! Continue ? [y/n]:y
Info: system is rebooting ,please wait...