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

OceanStor 9000 V300R006C00 Object Storage Service (Compatible with OpenStack Swift APIs) Administrator Guide 07

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).
Discovering Switches

Discovering Switches

You can configure Simple Network Management Protocol (SNMP) parameters for switches and discover switches. Discovered switches can be monitored by the OceanStor 9000. Switch SNMP parameters are configured during the software installation. You can discover switches when switches fail to be monitored due to configurations changes or other reasons.

Precaution

  • The OceanStor 9000 can manage CE6810-24S2Q-LI, CE6810-48S4Q-EI, CE6851-48S6Q-HI, CE6855-48S6Q-HI and S5700-52C-SI/S5352C-SI switches but cannot manage CE5855-48T4S2Q-EI and IB switches.

  • The OceanStor 9000 supports SNMPv2c, and SNMPv3. This section uses SNMPv3 as an example.

Context

This document describes how to configure switches, with CE6800 V100R005C10SPC200 and S5700 V200R005C00SPC500 as an example. Run display version to query the current version of a switch. If the version displayed in the command output is not the required version, configure the switch as instructed in the switch document of the required version.

SNMPv2c is not recommended because they are insecure. To protect system security, you are advised to configure SNMPv3 and the authentication and encryption protocols illustrated in this section.

Procedure

  1. Configure the 10GE or GE switch that you want to monitor.
    1. Log in to the switch through the CONSOLE port. For details, see "Appendix D Basic Operations" in Software Installation Guide.

      Set Transmission rate to 9600, Data bit to 8, Stop bit to 1, Parity bit to None, and Flow control mode to None. There is no authentication by default.

    2. Run display current-configuration | begin snmp to check the existing SNMP configurations.

      If the configurations meet requirements, skip 1.c.

    3. Run the following commands to configure the SNMP parameters.

      For the S5700/S5300 switch, the configuration example is as follows.
      [Quidway] snmp-agent sys-info version v3
      [Quidway] snmp-agent mib-view included aaa internet
      [Quidway] snmp-agent group v3 group1 privacy write-view aaa notify-view aaa
      #Add SNMP user user1, authentication protocol sha, authentication password User@123, encryption protocol aes128, 
      #and encryption password User@321.
      #If multiple switches are connected to the network management system using the same SNMP user, the authentication protocol, 
      #authentication password, encryption protocol, and encryption password of one switch must be the same those of other switches. 
      #If you want to reset your user name or password, reconfigure the following command.
      [Quidway] snmp-agent usm-user v3 user1 group group1
      [Quidway] snmp-agent usm-user v3 user1 authentication-mode sha
      Please configure the authentication password (8-64)                             
      Enter Password:                                                                 
      Confirm Password: 
      [Quidway] snmp-agent usm-user v3 user1 privacy-mode aes128
      Please configure the privacy password (8-64)                                    
      Enter Password:                                                                 
      Confirm Password:
      #Set to send trap packets to the cluster management IP address in the configuration file.
      #If the DeviceManager IP address is the IPv4 address
      [Quidway] snmp-agent target-host trap address udp-domain 10.110.100.111 params securityname user1 v3
      #IF theDeviceManager IP address is the IPv6 address
      [Quidway] snmp-agent target-host trap ipv6 address udp-domain feco:1::5 params securityname user1 v3
      [Quidway] snmp-agent trap enable
      Warning: All switches of SNMP trap/notification will be open. Continue?[Y/N]:y
      [Quidway] quit
      #Run the following command to save the configuration script:
      <Quidway> save vrpcfg.cfg
      #Run the following command to set the script as a default configuration file:
      <Quidway> startup saved-configuration vrpcfg.cfg
      For the CE6800/CE5800 switch, the configuration example is as follows.
      [~HUAWEI] snmp-agent sys-info version v3
      [*HUAWEI] snmp-agent mib-view included aaa internet
      [*HUAWEI] snmp-agent group v3 group1 privacy write-view aaa notify-view aaa
      #Add SNMP user user1, authentication protocol sha, authentication password User@123, encryption protocol aes128, and encryption password User@321.
      #If multiple switches are connected to the network management system using the same SNMP user, the authentication protocol, 
      #authentication password, encryption protocol, and encryption password of one switch must be the same those of other switches. 
      #If you want to change your user name or password, execute the following command again:
      [*HUAWEI] snmp-agent usm-user v3 user1 group group1
      [*HUAWEI] snmp-agent usm-user v3 user1 authentication-mode sha
      Please configure the authentication password (8-255)                             
      Enter Password:                                                                 
      Confirm Password: 
      [*HUAWEI] snmp-agent usm-user v3 user1 privacy-mode aes128
      Please configure the privacy password (8-255)                                    
      Enter Password:                                                                 
      Confirm Password:
      #Set parameters to send trap packets to the cluster management IP address in the configuration file.
      #If theDeviceManager IP address is an IPv4 address 
      [*HUAWEI] snmp-agent target-host trap address udp-domain 10.110.100.11 params securityname user1 v3 privacy 
      #If the DeviceManager IP address is an IPv6 address 
      [*HUAWEI] snmp-agent target-host trap ipv6 address udp-domain feco:1::3 params securityname user1 v3 privacy
      [*HUAWEI] snmp-agent trap enable
      [*HUAWEI] commit
      [~HUAWEI] quit
      #Run the following command to save the configuration script:
      <HUAWEI> save
      Warning: The current configuration will be written to the device. Continue? [Y/N]:y
      ...

  2. Add the switch.
    1. Log in to Toolkit.
    2. Click Switch Management.
    3. Click Add and set parameters, as shown in Figure 15-1.

      Figure 15-1  Adding a switch

    4. Click OK.
  3. View the switch status.
    1. Log in to DeviceManager.
    2. Choose Settings > Switch Management > Switches.
    3. View the switch status.

      If Running Status is Online as shown in Figure 15-2, the switch is successfully discovered. Otherwise, rectify network faults.

      Figure 15-2  Viewing switch status

Translation
Download
Updated: 2019-04-28

Document ID: EDOC1000122524

Views: 11177

Downloads: 86

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