No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuring an IP Address for a Management Interface

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an IP Address for a Management Interface on the S5700

Configuring an IP Address for a Management Interface on the S5700

Introduction

This document describes the management interfaces supported by switches and how to configure an IP address for a management interface.

Prerequisites

This document applies to all versions of all S series switches.

Understanding Management Interfaces

Typically, you can manage a switch through the SNMP, RMON, web system, Telnet, and console port. From the technical perspective, network management is classified into out-of-band management and in-band management. In-band management means that management data and service data of a network are transmitted through the same logical channel, so that the management data and service data are transmitted through the same link. When there is a large amount of management data, the network-wide performance will be affected. When there is a small amount of management data, the network-wide performance is not affected, and in-band management can be used. In out-of-band management mode, management data and service data of a network are transmitted through different logical channels. You can manage the network using a dedicated network management system (NMS) channel to separate management data from service data. Only management data, statistics information, and accounting information are transmitted through this channel. Separating management data from service data can improve efficiency and reliability of the NMS and secures management data. You can select a proper management mode as required.

You can manage a switch only through the management interface regardless of which management mode is selected. Currently, switches support the following management interfaces: console port, MiniUSB port, management Ethernet interface, and service interface.

Console Port

Before configuring services on a new switch, log in to the switch through the console port. After the serial port of a PC is connected to the console port of a switch using a dedicated console cable, you can perform login configurations and use the PC to manage the switch. As the basic login mode, login through the console port is the basis of other login modes such as Telnet and STelnet login modes. When you log in to a switch for the first time or fail to remotely log in to a switch, you can log in to the switch through the console port. Figure 1-1 shows the connection diagram between a PC and a switch.

Figure 1-1 Networking diagram for logging in to a switch through the console port

MiniUSB Port

If no console port is available on a switch, you can connect the PC's USB port to the MiniUSB port of the switch and enter the default user name and password to log in to and then configure and manage the switch. The only difference between login through the MiniUSB port and login through the console port lies in the connection mode. The communication parameters and login configurations in the two login methods are the same. When both the MiniUSB port and console port have a cable connected, only the MiniUSB port works. Figure 1-2 shows the connection diagram between a PC and a switch.

Figure 1-2 Networking diagram for logging in to a switch through the MiniUSB port

Management Ethernet Interface

The management Ethernet interface is a special Ethernet port that allows users to log in to a switch to perform configuration and management operations. It can be assigned an IP address. The management Ethernet interface does not transmit service data. The management Ethernet interface of a fixed switch refers to the MEth interface, while that of a modular switch refers to the ETH interface. Figure 1-3 shows the connection diagram between a PC and a switch.

Figure 1-3 Networking diagram for logging in to a switch through the management Ethernet interface

Service Interface

A service interface is an Ethernet port that transmits service traffic. You can configure and manage a switch through a service interface, and then management data and service data of the network are transmitted through the same link. Figure 1-4 shows the connection diagram between a PC and a switch.

Figure 1-4 Networking diagram for logging in to a switch through a service interface

Configuring a Management IP Address

To use a remote NMS to manage switches in a centralized manner, configure a management IP address on each switch. You can then log in to, configure, and manage the switch using the management IP address. The management IP address can be configured on the management Ethernet interface or service interface. You can configure an IP address for a service interface through a VLANIF interface. For switches that support Layer 2/Layer 3 mode switching, you can configure an IP address for an interface after the working mode of the interface is switched to Layer 3. The following describes how to configure a management IP address.

Configuring a Management IP Address on a Management Ethernet Interface

For fixed switches:

  1. Run the interface MEth 0/0/1 command to display the MEth interface view.

    <HUAWEI> system-view  
    [HUAWEI] interface MEth 0/0/1

  2. Run the ip address ip-address { mask | mask-length } command to configure the IP address of the MEth interface.

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

For modular switches:

  1. In a non-cluster environment, run the interface Ethernet 0/0/0 command to display the ETH interface view.

    In a cluster environment, run the interface Ethernet 0/0/0/0 command to display the ETH interface view.

    <HUAWEI> system-view  
    [HUAWEI] interface Ethernet 0/0/0

  2. Run the ip address ip-address { mask | mask-length } command to configure the IP address of the ETH interface.

    [HUAWEI-Ethernet0/0/0] ip address 10.1.1.2 24

Configuring a Management IP Address on a Service Interface

  1. Run the interface interface-type interface-number command to display the Ethernet interface view.

    <HUAWEI> system-view  
    [HUAWEI] interface GigabitEthernet 0/0/1

  2. Run the undo portswitch command to switch the working mode of the interface to Layer 3.

    By default, Ethernet interfaces work in Layer 2 mode.

    [HUAWEI-GigabitEthernet0/0/1] undo portswitch

  3. Run the ip address ip-address { mask | mask-length } command to configure the IP address of the interface.

    By default, no IP address is configured for an interface.

    [HUAWEI-GigabitEthernet0/0/1] ip address 10.1.1.3 24

Configuring a Management IP Address on a VLANIF Interface

  1. Run the interface Vlanif vlan-id command to create a VLANIF interface and display the VLANIF interface view.

    <HUAWEI> system-view  
    [HUAWEI] interface Vlanif 10

  2. Run the ip address ip-address { mask | mask-length } command to configure the IP address of the VLANIF interface.

    [HUAWEI-Vlanif10] ip address 10.1.1.4 24

NOTE:

A VLANIF interface goes Up only after the following conditions are met:

  • The corresponding VLAN has been created.
  • A physical interface or Eth-Trunk in Up state has been added to the corresponding VLAN.
Translation
Download
Updated: 2019-08-05

Document ID: EDOC1100097996

Views: 366

Downloads: 17

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next