Got it

Configure the switch management IP address and Telnet login

Latest reply: Sep 3, 2021 12:33:00 311 6 6 0 0

Experimental topology:

1


Set switch management IP address and Telnet login

analyze:

On the switch, if the switch has a management interface, configure an IP address for the management interface.  If the switch has no management interface, configure an IP address for the VLANIF interface. The configured management IP address allows the network administrator to remotely manage the switch using Telnet or network management software.

You can log in to a switch through Telnet only when the switch has an IP address and the VTY user authentication method and VTY user level have been configured. By default, the preceding configurations are unavailable on the switch, and you must log in to the switch through the console interface and complete the configurations.

1. For example, you can perform the following configurations on the switch:

<HUAWEI> system-view

[HUAWEI] interface meth 0/0/1

[HUAWEI-MEth0/0/1] ip address 192.168.0.253 24

[HUAWEI-MEth0/0/1] quit


If the switch has no management interface, configure an IP address for the VLANIF interface.

<HUAWEI> system-view

[HUAWEI] vlan 4094

[HUAWEI-vlan4094] quit

[HUAWEI] interface gigabitethernet 0/0/48

[HUAWEI-GigabitEthernet0/0/48] port link-type hybrid

[HUAWEI-GigabitEthernet0/0/48] port hybrid untagged vlan 4094

[HUAWEI-GigabitEthernet0/0/48] quit

[HUAWEI] interface vlanif 4094

[HUAWEI-Vlanif4094] ip address 192.168.0.253 24

[HUAWEI-Vlanif4094] quit


Configure reachable routes between the PC and switch so that the PC can successfully ping the switch.

  • If the PC is directly connected to the switch, ensure that the IP address of the PC is in the same network segment as the management IP address of the switch.

  • If the PC is not directly connected to the switch, configure reachable routes between the PC and switch.


2. Set the authentication mode for Telnet login to AAA.

[HUAWEI] user-interface vty 0 4

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

[HUAWEI-ui-vty0-4] quit


3. Configure the Telnet login user parameters. Set the user name and password to admin@6789, and user level to 3.

[HUAWEI] aaa

[HUAWEI-aaa] local-user admin password irreversible-cipher admin@6789

[HUAWEI-aaa] local-user admin privilege level 3

[HUAWEI-aaa] local-user admin service-type telnet


The workstation pc-01 in the network segment where the switch resides can remotely manage the switch in Telnet mode.

telnet 192.168.0.253

This is what I want to talk about/share with you today, thank you!


Good post. Keep up the good work!
View more
  • x
  • convention:

Good job
View more
  • x
  • convention:

Well done
View more
  • x
  • convention:

Interesting to know, learned
View more
  • x
  • convention:

AL_93
Moderator Created Sep 1, 2021 05:05:29

Great share
View more
  • x
  • convention:

hemin88
Moderator Author Created Sep 3, 2021 12:33:00

Simple but very informative, thanks for sharing
View more
  • x
  • convention:

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.