Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 3

TELNET

Step 1:
Configure IP addresses

Step 2:
Enable telnet on R2 in the system view.
telnet server enable

Step 3:
Configure the vty interface and set the authentication mode to aaa
user-interface vty 0 4
authentication-mode aaa

Step 4:
Configure the authentication scheme and authorization scheme and bind them to the domain
huawei.
aaa
authentication-scheme Competition
authentication-mode local
authorization-scheme Competition
authorization-mode local

domain huawei
authentication-scheme Competition
authorization-scheme Competition

Step 5:
Create the local users and configure its parameters such as service-type, password and assign it a
privilidge level
local-user gulu@huawei password cipher 1234
local-user gulu@huawei privilege level 15
local-user gulu@huawei service-type telnet

Step 6:
From the client, telnet into R2 and make some configurations.
telnet 192.168.1.2

FTP

Step 1:
Configure IP addresses

Step 2:
Enable telnet on R2 in the system view.
ftp server enable

Step 3:
Configure the vty interface and set the authentication mode to aaa
user-interface vty 0 4
authentication-mode aaa

Step 4:
Configure the authentication scheme and authorization scheme and bind them to the domain
huawei.
aaa
authentication-scheme Competition
authentication-mode local
authorization-scheme Competition
authorization-mode local

domain huawei
authentication-scheme Competition
authorization-scheme Competition

Step 5:
Create the local users and configure its parameters such as service-type, password and assign it a
privilidge level
local-user gulu@huawei password cipher 1234
local-user gulu@huawei privilege level 15
local-user gulu@huawei service-type telnet
local-user gulu@huawei ftp-directory flash:/

Step 6:
From the client, telnet into R2 and make some configurations.
ftp 192.168.1.2

PPP USING CHAP AUTHENTICATION

Step 1:
Configure IP addresses

Step 2:
Configure the link-protocol ppp and set the authentication mode to aaa
int Serial 4/0/0
link-protocol ppp
ppp authentication-mode chap

Step 3:
Create the local users and configure its parameters such as service-type, password and assign it a
privilidge level
aaa
local-user huawei password cipher Huawei
local-user gulu@huawei service-type ppp

Step 4:
From the client, set the link-protocol to ppp
int Serial 4/0/1
link-protocol ppp
ppp chap useer huawei
ppp chap password cipher huawei

You might also like