Current location - Education and Training Encyclopedia - Graduation thesis - Telnet configuration method of Huawei switch
Telnet configuration method of Huawei switch
Configuration requirements: In order to facilitate the management and maintenance of the switch, the switch is named "S5735S", the switch address is configured as 192. 168. 1, the telnet function is turned on, AAA authentication is used, the account number is "1234", and the password is "6544".

New exchange

Step 1: Connect the switch.

Connect the switch with a serial line.

Use simulation software to enter the configuration interface.

User name: admin // Enter the user name.

Password: admin@Huawei. Com // enter the password.

& lt Huawei & gt? //Enter the system

& lt Huawei & gt system view? //Enter the configuration interface

[Huawei] sysname? S5735S // Change the switch name to S5735S.

[S5735S] interface? vlan? 1/Enter the configuration interface of VLAN 1.

[S5735S-Vlanif 1] ip? Address? 192. 168. 1. 1 255.255.255.0 ? //Set the address and mask of VLAN 1.

[S5735S-Vlanif 1] quit? //Exit the VLAN 1 interface.

[S5735S]

【s 5735s】AAA? //Enter the AAA authentication interface

[S5735S-aaa] local user 1234 password is irreversible-password 123456? //Establish the user 1234 and set the password as 123456.

[s 5735s-AAA] local user 1234? Privilege level 15? //Set the user right to 15 (you can choose 0- 15).

[s 5735s-AAA] local user 1234 service type remote login

//Set the telnet login user.

[s 5735s-AAA] exit.

[S5735S]

[S5735S] user interface? vty? 0? four

//Enter virtual channel 0-4

[S5735S-ui-vty0-4] authentication mode aaa

? //The login authentication method is AAA authentication.

[S5735S-ui-vty0-4] protocol inbound remote login

//Select telnet as the login protocol.

[S5735S-ui-vty0-4] exit.

[S5735S]

[S5735S] telnet server enabled?

//Turn on the remote login function

[S5735S] exit.

& ltS5735S & gt save? //Save