Configuration file of the Telnet Login User on the Ethernet>HUAWEI-Switch

***Configuring the Telnet Login User on the Ethernet***

Step-1: Networking Requirements:

In Figure, after logging in to S-switch-A, the user logs in to S-switch-B through Telnet by using the default interface numbered 23.

Figure: Configuring the Telnet Login User on the Ethernet- gpontutorials.com

Step-2:Configuration Road map:

Assign IP addresses to S-switch-A and S-switch-B and configure the Telnet authentication mode and password on the S-switch-B. Enter the password when you log in to S-switch-B from S-switch-A.

Step-3:Data Preparation:

To complete the configuration, you need the following data:

  • VLAN ID
  • IP address and the interface number of S-switch-A that functions as the Telnet client
  • IP address and the interface number of S-switch-B that functions as the Telnet server
  • Authentication mode and password

Step-4:Configuration:

  1. Assign IP addresses.# Assign an IP address to S-switch-A that functions as the Telnet client.
    <S-switch-A>system-view
    [S-switch-A]vlan 2
    [S-switch-A-vlan2]port gigabitethernet 0/0/2
    [S-switch-A-vlan2]quit
    [S-switch-A]interface vlanif 2
    [S-switch-A-Vlanif2]ip address10.10.10.8 255.255.255.0
    [S-switch-A-Vlanif2]quit
    [S-switch-A]

    # Assign an IP address to S-switch-B that functions as the Telnet server.

    <S-switch-B>system-view
    [S-switch-B]vlan 2
    [S-switch-B-vlan2]port gigabitethernet 0/0/1
    [S-switch-B-vlan2]quit
    [S-switch-B]interface vlanif 2
    [S-switch-B-Vlanif2]ip address10.10.10.10 255.255.255.0
    [S-switch-B-Vlanif2]quit
    [S-switch-B]
  2. Configure the authentication mode and password for logging in to S-switch-B through Telnet.
    <S-switch-B>system-view
    [S-switch-B]user-interface vty 0 4
    [S-switch-B-ui-vty0-4]authentication-mode password
    [S-switch-B-ui-vty0-4]set authentication password simple 123456
    [S-switch-B-ui-vty0-4]quit
    [S-switch-B]
  3. Verify the configuration.

***END of Configurations***

Configuration Procedure>>

*****Congratulations*****

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.