HCIA-Datacom lab 14 of 22
Secure remote access with AAA and SSH
Secure remote management the Huawei way. You create local AAA users with the right privilege levels and service types, compare Telnet with SSH (STelnet), get past the router's factory restriction on which interfaces accept logins, transfer files with FTP, and secure the CloudEngine switch with SSH.
Run this lab
It needs Lite: its 3 nodes are set to 4 vCPU and 6,144 MB in total. That fits the free demo too.
In your workspace: Shared, then HCIA-Datacom H12-811 guided labs, then 14 - Secure remote access with AAA and SSH
- Level
- Intermediate
- Time
- About 60 minutes
- Nodes need
- 4 vCPU, 6,144 MB
- Smallest plan
- Lite
The scenario
Northwind's auditors found routers managed over Telnet with one shared account. You'll fix it on R1 and the CloudEngine switch SW1:
- personal accounts with the least privilege they need;
- SSH instead of Telnet;
- an FTP account for configuration backups.
To get the feel of each protocol you'll first see Telnet working, then replace it. R2 plays the network team's workstation: VRP routers include Telnet, STelnet (SSH) and FTP clients.
| Account | Password | Level | Services | Device |
|---|---|---|---|---|
| netadmin | Huawei@123 | 15 | telnet, ssh | R1 |
| helpdesk | Huawei@123 | 1 | telnet | R1 |
| ftpuser | Huawei@123 | 15 | ftp (directory flash:/) | R1 |
| sshadmin | Huawei@123 | 3 | ssh (STelnet) | SW1 |
What you’ll practise
- Create AAA local users with password, privilege level and service type
- Configure VTY lines for AAA authentication and choose the inbound protocols
- Enable Telnet, STelnet (SSH) and FTP servers, including the per-interface permit that newer AR releases require
- Log in with the VRP Telnet, STelnet and FTP clients, and explain why SSH replaces Telnet
The tasks
- Task 0: Load the starting configuration
- Task 1: Users on R1
- Task 2: Telnet, the insecure way
- Concept: SSH (STelnet) on VRP
- Task 3: Move R1 to SSH
- Task 4: FTP for backups
- Task 5: SSH on the CloudEngine switch
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- R2
GE0/0/0to R1GE0/0/1 - R1
GE0/0/0to SW1GE1/0/1
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| R1 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| R2 | Huawei AR1000V router | huaweiar1k-5.170-V300R022C00SPC100-Auto-update-esn | 1 vCPU, 2,048 MB |
| SW1 | Huawei CloudEngine CE6800 | huaweice6800-bundled | 2 vCPU, 2,048 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
HCIA-Datacom H12-811 guided labs.Open
14 - Secure remote access with AAA and SSHand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More HCIA-Datacom labs
Related labs in other courses
CloudLabBox is independent of Huawei. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.