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

MM910 Management Module V100R001 User Guide 24

This document provides the product description, installation and configuration methods, and common operations of the E9000 server chassis management module MM910.
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 the MM910 IP Addresses and SNMP Trap

Configuring the MM910 IP Addresses and SNMP Trap

Scenarios

Configure the static IP address, floating IP address, default gateway, and Simple Network Management Protocol (SNMP) trap for the MM910 by using the MM910 WebUI or CLI.

Prerequisites

Table 4-6 describes the data that you need to obtain before you configure the MM910.

Table 4-6 Required data

Item

Description

Example Value

Static IP address and subnet mask of the standby MM910

A fixed IP address of an MM910. This IP address can be used to log in to the command-line interface (CLI) or web user interface (WebUI) of the MM910 from a local PC. To query the static IP address of an MM, run the ifconfig command. The value of eth0 is the static IP address.

  • IP address: 10.85.4.75
  • Subnet mask: 255.255.255.0

Static IP address and subnet mask of the active MM910

  • IP address: 10.85.4.76
  • Subnet mask: 255.255.255.0

Floating IP address and subnet mask of the MM910s

A publicly-accessible IP address that is mapped to the MM910s working in active/standby mode. The floating IP address is always mapped to the active MM910. To query the floating IP address, run the ifconfig command. The value of eth0:0 is the floating IP address.

  • IP address: 10.85.4.77
  • Subnet mask: 255.255.255.0

Default gateway of the MM910

An IPv4 address of the gateway. The value 0.0.0.0 indicates that the default gateway is deleted.

10.85.4.1

SNMP Trap mode

  • Event code mode: An event code is used as the ID of a trap event. This mode is used by default.
  • OID mode: The Object identifier (OID) of an SNMP node is used as the ID of a trap event.

Event code mode

SNMP trap version

SNMP version used to send trap messages to the upper-layer network management system (NMS). The SNMP trap version can be any of the following:

  • SNMPv1
  • SNMPv2c
  • SNMPv3

Default value: SNMPv3

SNMPv3

IP address of the upper-layer network management system (NMS)

IP address of the upper-layer NMS server that receives trap messages from the MM910s.

192.168.100.115

Port number for receiving SNMP trap messages

Port through which the upper-layer NMS receives SNMP trap message from the MM910s.

Value range: 1 to 65535

1024

Procedure (Using the WebUI)

  1. Log in to the WebUI of the active MM910.

    For details, see Logging In to the MM910 WebUI.

  2. Choose Chassis Settings > Network Settings > MMs, as shown in Figure 4-12.

    Figure 4-12 Network Settings

  3. Click Edit.
  4. Set network parameters. For parameter description, see Table 7-12.

    NOTE:
    • During initial configuration, the static and floating IP addresses must be configured, and the default gateway and SNMP trap configurations are optional.
    • After changing the MM910 floating IP address, use the new floating IP address to log in to the MM910 WebUI.
    • If you enable DHCP, change the static or floating IP address, or configure the default gateway, the client may disconnect from the MM910 If this occurs, log in again.

  5. Click Save.

Procedure (Using the CLI)

NOTE:
  • Set network parameters. For parameter description, see MM910 Management Module V100R001 Command Reference.
    • You can set either IPv4 or IPv6 or set them both.
    • During initial configuration, the static and floating IP addresses must be configured, and the default gateway and SNMP trap configurations are optional.
    • After changing the MM910 floating IP address, use the new floating IP address to log in to the MM910 CLI.
    • If you enable DHCP, change the static or floating IP address, or configure the default gateway, the client may disconnect from the MM910 If this occurs, log in again.
  1. Log in to the CLI of the active MM910.

    For details, see "Logging In to the CLI" in MM910 Management Module V100R001 Command Reference.

  2. Configure the IPv4 data.

    1. Set the static IP address.
      • Manual configuration
        1. Set the static IP address of the active MM910.

          smmset [ -l smm ] -t front -d staticip -v ipaddressvalue maskvalue

        2. Set the static IP address of the standby MM910.

          smmset [ -l smm ] -t front -d otherstaticip -v ipaddressvalue maskvalue

      • Automatic configuration
        1. Set the network port mode of the active MM910 to DHCP.

          smmset -d ipmode -v dhcp

        2. Set the network port mode of the standby MM910 to DHCP.
          smmset -d ipmode -v dhcp
          NOTE:

          You need to log in to the CLI of the standby MM910 to run this command. You can perform this operation after completing the configuration on the active MM910.

          Log in to the CLI of the standby MM910. For details, see "Logging In to the CLI" in MM910 Management Module V100R001 Command Reference.

    1. Set the floating IP address.

      smmset [ -l smm ] -t front -d floatip -v floatipaddressvalue maskvalue

    2. (Optional) Set the default gateway.

      smmset [-l smm] -d gateway -v gatewayvalue

  3. Configure the IPv6 data.

    1. Set the static IP address.
      • Manual configuration
        1. Set the static IP address of the active MM910.

          smmset [ -l smm ] -t front -d staticip6 -v ipv6addr/prefixlen

        2. Set the static IP address of the standby MM910.

          smmset [ -l smm ] -t front -d otherstaticip6 -v ipv6addr/prefixlen

      • Automatic configuration
        1. Set the network port mode of the active MM910 to DHCP.

          smmset -d ipmode6 -v dhcp

        2. Set the network port mode of the standby MM910 to DHCP.

          smmset -d otheripmode6 -v dhcp

    1. Set the floating IP address.

      smmset [ -l smm ] -t front -d floatip6 -v ipv6addr/prefixlen

    2. (Optional) Set the default gateway.

      smmset [ -l smm ] -d gateway6 -v ipv6addr

  4. Configure the DNS.

    1. Set the IP address of the DNS server.

      smmset [ -l smm ] -d dnsserveripaddr -v maindnsserverip bakdnsserverip

    2. Set the DNS host name.

      smmset [ -l smm ] -d dnshostname -v hostname

    3. Set the DNS domain name.

      smmset [ -l smm ] -d dnsdomainname -v domainname

  5. (Optional) Configure SNMP trap.

    1. Enable SNMP trap.

      smmset [ -l smm ] -d snmptrapenable -v value

    2. Set the SNMP trap mode.

      smmset [ -l smm ] -d trapformat -v value

    3. Set the SNMP trap version.

      smmset [ -l smm ] -d snmptrapversion -v value

    4. Set the SNMP trap user information.

      smmset [-l smm] -d snmptrapuser -v username

    5. Set the SNMP trap port number.

      smmset [ -l smm ] -d snmptrapport -v portnumber

    6. Set the SNMP trap IP address.

      smmset [ -l smm] -d snmptrapaddressN -v ipaddress

Translation
Download
Updated: 2019-04-10

Document ID: EDOC1000015900

Views: 69932

Downloads: 5173

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