How Do I Configure an IP Address for the Management Interface of S5700?

Created: May 23, 2019 02:14:55Latest reply: May 23, 2019 02:23:33 55 2 1 0
  Rewarded Hi-coins: 0 (problem resolved)

How Do I Configure an IP Address for the Management Interface of S5700?

  • x
  • convention:

Featured Answers
Official Created May 23, 2019 02:18:13 Helpful(0) Helpful(0)

Hi there!

The management interface is a Layer 3 interface that can be configured with an IP address. To configure an IP address for the management interface, you can run the following commands:

<huawei> system-view
[HUAWEI]interface meth 0/0/1
[HUAWEI-MEth0/0/1] ip address 192.168.1.2 24


But only some switch models have management interfaces.
  • x
  • convention:

All Answers
All_About_Switch Official Created May 23, 2019 02:18:13 Helpful(0) Helpful(0)

Hi there!

The management interface is a Layer 3 interface that can be configured with an IP address. To configure an IP address for the management interface, you can run the following commands:

<huawei> system-view
[HUAWEI]interface meth 0/0/1
[HUAWEI-MEth0/0/1] ip address 192.168.1.2 24


But only some switch models have management interfaces.
  • x
  • convention:

Sergio93 Created May 23, 2019 02:23:33 Helpful(0) Helpful(0)

Hello,

If the switch doesn't have a Meth dedicated interface, you can use a VLANIF interface to login on your switch remotely: 
fig_dc_cfg_first_000801_01.png

  1. Log in to the device from PC1 through the console port.
  2. Perform basic configuration on the device.

    # Set the system date, time, and time zone.

    <HUAWEI> clock timezone BJ add 08:00:00
    <HUAWEI> clock datetime 20:10:00 2012-07-26
    icon-note.gif NOTE:

    Before setting the current date and time, run the clock timezone command to set the time zone. If the time zone is not set first, the clock datetime command configures the UTC time.

    # Set the device name and management IP address.

    <HUAWEI> system-view
    [HUAWEI] sysname Server
    [Server] vlan 10
    [Server-vlan10] quit
    [Server] interface vlanif 10
    [Server-Vlanif10] ip address 10.137.217.177 24
    [Server-Vlanif10] quit
    [Server] interface gigabitethernet 0/0/10
    [Server-GigabitEthernet0/0/10] port link-type access
    [Server-GigabitEthernet0/0/10] port default vlan 10
    [Server-GigabitEthernet0/0/10] quit
    # Configure a default route for the device, assuming that the device gateway address is 10.137.217.1.
    [Server] ip route-static 0.0.0.0 0 10.137.217.1

    # Set the user level and authentication mode for Telnet users.

    [Server] telnet server enable
    [Server] user-interface vty 0 4
    [Server-ui-vty0-4] protocol inbound telnet
    [Server-ui-vty0-4] authentication-mode aaa
    [Server-ui-vty0-4] user privilege level 15
    [Server-ui-vty0-4] quit
    [Server] aaa
    [Server-aaa] local-user admin1234 password irreversible-cipher Helloworld@6789
    [Server-aaa] local-user admin1234 privilege level 15
    [Server-aaa] local-user admin1234 service-type telnet
    [Server-aaa] quit
    

  3. Verify the configuration.

    After the configuration is complete, you can log in to the device through Telnet from PC2.

    # Access the Windows CLI and log in to the device through Telnet by running the following command.

    C:\Documents and Settings\Administrator> telnet 10.137.217.177

    Press Enter. On the displayed login interface, enter the user name and password. If the authentication succeeds, the CLI for the user view is displayed. (The following information is only for reference.)

    Login authentication
    
    
    Username:admin1234
    Password:
    Info: The max number of VTY users is 20, and the number
          of current VTY users on line is 1.
          The current login time is 2012-07-26 12:10+08:00.
    <Server>
  • x
  • convention:

BEST ANSWER! If you think I earn it!
If this post was useful to you, please click the Helpful button and flag my post as a "BEST ANSWER" so others can benefit. Thank you

Reply

Reply
You need to log in to reply to the post Login | Register

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 " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!

Login and enjoy all the member benefits

Login
Fast reply Scroll to top