Got it

Configuring Logging In to the CLI Using Telnet Using the CLI - In Practice

Latest reply: Nov 30, 2021 16:28:21 645 33 25 0 0

Configuring Logging In to the CLI Using Telnet Using the CLI - In Practice

Hello everyone,


Today, I would like to introduce in practice a method of configuring the telnet protocol and login via CLI.

i_f42.gifTelnet login is not secure. It is recommended that you log in to the CLI using STelnet.

The local administrator has some administrator permissions and can use Telnet to login to the CLI only from a local PC for FW management and maintenance. FW implements local authentication on administrators.


Procedure:


To complete our example, we need to follow these steps:


Enable the Telnet service in FW:


Enable Telnet service for IPv4 or IPv6. IPv4 is used as an example

1


i_f42.gifIn the example the configured IP address has been set to 172.16.100.2, the interface has been added to the trust zone and the administrator has permission to log into the device using Telnet.


Configure the administrator login interface: 


Configure the interface IP address and interface-based access control and enable the administrator to log in to the device through Telnet.

3


Add an interface to the security zone.

4


Configure the VTY administrator interface: 


Set the VTY administrator interface authentication mode to AAA and the idle disconnect duration to 5 minutes (default value is 10 minutes).

i_f42.gifThe default number of VTY administrator interfaces is five. To add more interfaces, run the maximum-vty number UI command.

13


Configure the administrator: 


Configure the Telnet administrator.

Create an administrator and bind a role to the administrator.

6


In the example the username is vtyadmin and the password Huawei@123


Configure the IP address of the administrator PC and use Telnet software to log into the VTY interface: 


Set the IP address and subnet mask of the administrator PC to 172.16.100.1 and 255.255.255.0.

The terminal used in the example is SecureCRT. Choose
Telnet as protocol and hostaname 172.16.100.2 as port 23 and click Connect .


09


Enter the configured information in the vty user section.


In the example the user is "vtyadmin" and the password is "Huawei@123"


11


Now let's validate user access.


11a


Through the command "displays users" we have the information of the users connected to the equipment.


With that our practical example was completed.


Cheers,


Thanks for sharing! My friend!
View more
  • x
  • convention:

zaheernew
MVE Author Created Nov 17, 2021 02:02:29

Great
View more
  • x
  • convention:

Great
View more
  • x
  • convention:

Good share my friend
View more
  • x
  • convention:

AliBinHussain
AliBinHussain Created Nov 17, 2021 16:26:32 (0) (0)
 
Quality share. Thank you for the post.
View more
  • x
  • convention:

Well done. Thanks for sharing
View more
  • x
  • convention:

Excellent! Thank you for sharing!
View more
  • x
  • convention:

Important sharing
View more
  • x
  • convention:

Vlada85
MVE Author Created Nov 17, 2021 05:08:20

Good post
View more
  • x
  • convention:

123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.