Interoperation Between Huawei Switches and SolarWinds

Created: Feb 28, 2019 15:13:42 37 0 0 0

Introduction to SolarWinds

SolarWinds is network management software and can be used to configure, manage, and monitor enterprise networks of various sizes.

This document provides instructions for configuring interoperation between Huawei switches and SolarWinds.

Network Planning

imgDownload?uuid=6414b562a7124272bcc99ed NOTE:
  • This document is written based on lab operations. The network diagram and data planning are provided for reference only.
  • This document provides only key configurations required for interoperation between Huawei switches and SolarWinds. Basic network configurations such as VLANs, IP addresses, and routes are not provided. You can configure these parameters based on your networking requirements.
  • The SolarWinds Orion Platform 2016.2.100 and Network Configuration Manager (NCM) 7.5.1 are used in this document.

Network Diagram

Figure 2-103  Network diagram for interoperation between Huawei switches and SolarWinds 
imgDownload?uuid=93729db483d94053a152766

Data Plan

Table 2-122  SNMP and Telnet data plan
ItemData
SNMP
  • SNMP version: SNMPv2c
  • Name of the SNMP read-write community: Huawei@2018
  • Destination host to which traps are sent: 192.202.26.232
  • SNMP trap function: enable the SNMP trap function of all modules to send traps to SolarWinds
Telnet
  • Authentication mode: AAA, that is, user name and password authentication
  • User name: huawei
  • Password: Huawei@123
  • User level: 15

Adding a Single Device

Configuration Logic
  1. Configure a Huawei switch.
    1. Configure SNMP parameters to ensure that SolarWinds can communicate with the switch.
    2. Configure Telnet parameters to ensure that SolarWinds can log in to the switch.
  2. Add a single switch to SolarWinds.

Procedure

  1. Configure a Huawei switch.
    1. Configure SNMP parameters.

      <HUAWEI> system-view [HUAWEI] sysname S5720HI-1 [S5720HI-1] snmp-agent sys-info version v2c   //Allow SolarWinds to communicate with the switch using SNMPv2c. [S5720HI-1] snmp-agent community write cipher Huawei@2018   //Set the SNMPv2c community name to Huawei@2018. [S5720HI-1] snmp-agent trap enable   //Enable the SNMP trap function of all modules to send traps to SolarWinds. Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y [S5720HI-1] snmp-agent target-host trap address udp-domain 192.202.26.232 params securityname cipher Huawei@2018   //Configure the switch to send traps to SolarWinds.
      imgDownload?uuid=747f3c8fabb0424ea4d0de4 NOTE:

      You can run the display snmp-agent trap [ feature-name feature-name ] all command to check the status of the SNMP trap function of a specified module or all modules. If you want to enable the switch to send traps of a specified module to SolarWinds, run the snmp-agent trap enable feature-name feature-name [ trap-name trap-name ] command to enable the SNMP trap function of this module, instead of running the snmp-agent trap enable command.

    2. Configure Telnet parameters.

      [S5720HI-1] user-interface maximum-vty 15   //Configure the maximum number of users that can remotely log in to the switch. [S5720HI-1] user-interface vty 0 14 [S5720HI-1-ui-vty0-14] authentication-mode aaa   //Set the user authentication mode to AAA, that is, user name and password authentication. [S5720HI-1-ui-vty0-14] protocol inbound telnet   //Allow SolarWinds to log in to the switch using Telnet. [S5720HI-1-ui-vty0-14] quit [S5720HI-1] aaa [S5720HI-1-aaa] local-user huawei password cipher Huawei@123   //Configure the user name and password. [S5720HI-1-aaa] local-user huawei privilege level 15   //Set the user level to 15 (highest). [S5720HI-1-aaa] local-user huawei service-type telnet   //Allow the user to log in to the switch using Telnet. [S5720HI-1-aaa] quit

  2. Add a single switch (node) to SolarWinds.
    1. Log in to SolarWinds using the administrator account.
    2. Click SETTINGS > Manage Nodes. Then click ADD NODE.
    3. On the DEFINE NODE tab page, configure node information.

      1. Set the node name or IP address.

        imgDownload?uuid=b8b04faeca044fd5a05d992

      2. Select a polling method and set polling parameters. You can click TEST to check whether SolarWinds can communicate with the node using this method. After the test, click Next.

        imgDownload?uuid=747f3c8fabb0424ea4d0de4 NOTE:

        The SNMP parameters configured on SolarWinds must be the same as those on the switch. Otherwise, SolarWinds cannot communicate with the switch.

        imgDownload?uuid=d9e7fe89e68b461cbd278fe

    4. On the CHOOSE RESOURCES tab page, select statistics and resources to be monitored, and then click Next.

      imgDownload?uuid=915a87c40f34486187ca8e6

    5. Adjust configurations on the ADD POLLERS tab page if needed. For details, see the SolarWinds product documentation.
    6. On the CHANGE PROPERTIES tab page, review and set node properties.

      1. In the Polling area, you can adjust the intervals for updating the node status, collecting statistics, and polling topology information.

        imgDownload?uuid=9909a3b4de444e3795b479d

      2. If you need to adjust trap thresholds for the CPU load, memory usage, response time, or percent packet loss, select Override Orion General Thresholds and set values for the Warning or Critical level.

        imgDownload?uuid=d801fc59863d4d20ba0acf8

      3. Add the node to SolarWinds NCM. If you need to manage the node using SolarWinds NCM (for example, backing up or restoring configurations of the node), select Yes in the drop-down list of Manage Node(s) with NCM. Create a new credential profile or select an existing credential profile. Ensure that the credentials under Connection Profile are the same as the SSH/Telnet parameter settings on the switch. Otherwise, SolarWinds NCM cannot manage the switch. You can click TEST to test the connectivity between the switch and SolarWinds NCM.

        imgDownload?uuid=7749f69fd67240b29b149c1

      4. Click OK, ADD NODE. The node is added. In the node list, Status of the node is displayed as Node status is Up.

        imgDownload?uuid=c0983d2b0f8c4923a8c88cb

Adding Automatically Discovered Devices (in Batches)

Configuration Logic
  1. Configure Huawei switches.
    1. Configure SNMP parameters to ensure that SolarWinds can communicate with the switches.
    2. Configure Telnet parameters to ensure that SolarWinds can log in to the switches.
  2. Configure SolarWinds to automatically discover devices on the network.
  3. Add automatically discovered devices.

Procedure

  1. Configure Huawei switches.
    1. Configure SNMP parameters.

      <HUAWEI> system-view [HUAWEI] sysname S5720HI-1 [S5720HI-1] snmp-agent sys-info version v2c   //Allow SolarWinds to communicate with the switch using SNMPv2c. [S5720HI-1] snmp-agent community write cipher Huawei@2018   //Set the SNMPv2c community name to Huawei@2018. [S5720HI-1] snmp-agent trap enable   //Enable the SNMP trap function of all modules to send traps to SolarWinds. Warning: All switches of SNMP trap/notification will be open. Continue? [Y/N]:y [S5720HI-1] snmp-agent target-host trap address udp-domain 192.202.26.232 params securityname cipher Huawei@2018   //Configure the switch to send traps to SolarWinds.
      imgDownload?uuid=747f3c8fabb0424ea4d0de4 NOTE:

      You can run the display snmp-agent trap [ feature-name feature-name ] all command to check the status of the SNMP trap function of a specified module or all modules. If you want to enable the switch to send traps of a specified module to SolarWinds, run the snmp-agent trap enable feature-name feature-name [ trap-name trap-name ] command to enable the SNMP trap function of this module, instead of running the snmp-agent trap enable command.

    2. Configure Telnet parameters.

      [S5720HI-1] user-interface maximum-vty 15   //Configure the maximum number of users that can remotely log in to the switch. [S5720HI-1] user-interface vty 0 14 [S5720HI-1-ui-vty0-14] authentication-mode aaa   //Set the user authentication mode to AAA, that is, user name and password authentication. [S5720HI-1-ui-vty0-14] protocol inbound telnet   //Allow SolarWinds to log in to the switch using Telnet. [S5720HI-1-ui-vty0-14] quit [S5720HI-1] aaa [S5720HI-1-aaa] local-user huawei password cipher Huawei@123   //Configure the user name and password. [S5720HI-1-aaa] local-user huawei privilege level 15   //Set the user level to 15 (highest). [S5720HI-1-aaa] local-user huawei service-type telnet   //Allow the user to log in to the switch using Telnet. [S5720HI-1-aaa] quit

  2. Configure SolarWinds to automatically discover devices on the network.
    1. Log in to SolarWinds using the administrator account.
    2. Click SETTINGS > Network Discovery. Then click Add New Discovery and then click START.
    3. On the NETWORK tab page, specify subnets or IP addresses and then click NEXT.

      imgDownload?uuid=3303b4dee2bd4eccbcf8b17

    4. Adjust configurations on the AGENTS and VIRTUALIZATION tab pages. For details, see the SolarWinds product documentation.
    5. Add switches to SolarWinds NCM. If you want to use SolarWinds NCM to manage the devices (for example, backing up or restoring configurations), configure SSH/Telnet credentials on the CONFIG MANAGEMENT tab page. Click Add SSH/Telnet Credentials to add a new credential profile, or select an existing credential profile. Ensure that the credentials are the same as the SSH/Telnet parameter settings on Huawei switches. Otherwise, SolarWinds NCM cannot manage the switches. The following example adds a new credential profile. After it is added, click ADD and then click NEXT.

      imgDownload?uuid=dfad1cc00f9f49f89ce3194

    6. On the SNMP tab page, add SNMP credentials and ensure that these credentials are the same as the SNMP parameter settings on the switches. Otherwise, SolarWinds cannot use SNMP to communicate with the switches. After the configuration is complete, click NEXT.

      imgDownload?uuid=ecdb4782291e47f3bb85ac9

    7. Adjust configurations on the WINDOWSMONITORING SETTINGS, and DISCOVERY SETTINGS tab pages if needed. For details, see the SolarWinds product documentation.
    8. On the DISCOVERY SCHEDULING tab page, set the intervals for automatically discovering nodes and subnets. Click DISCOVER. SolarWinds starts automatically discovering devices on the network.
  3. Add automatically discovered devices.
    1. Click NEXT.

      imgDownload?uuid=dc6ffbd580054013afff983

    2. On the INTERFACES tab page, select interfaces to be monitored and then click NEXT.

      imgDownload?uuid=d517766f3b9e46efa54b75e

    3. Adjust configurations on the VOLUMES tab page if needed. For details, see the SolarWinds product documentation.
    4. Select devices to be added, click IMPORT, and then click FINISH.

      imgDownload?uuid=910d00ce275f46ed855835b

    5. Click SETTINGS > Manage Nodes. On the page that is displayed, the value of Status is displayed Node status is Up, indicating that the automatically discovered devices have been added successfully.

      imgDownload?uuid=4038c4f7139142c485081a5

Managing Devices

Configuring SSH/Telnet Credentials for SolarWinds NCM to Manage Devices

Overview of SSH/Telnet Credentials

If you want to use SolarWinds Network Configuration Manager (NCM) to manage devices (for example, backing up or restoring configurations), configure SSH/Telnet credentials for SolarWinds NCM to manage devices and add the devices to SolarWinds NCM.

SSH/Telnet credentials include the login credentials (user name and password), communication transfer protocol, and transfer ports.

imgDownload?uuid=895bdeaf25304d738012ca6 NOTE:

SSH/Telnet credentials used by SolarWinds NCM must be the same as the SSH/Telnet parameter settings on Huawei switches. Otherwise, SolarWinds NCM cannot manage the switches.

Methods of Configuring SSH/Telnet Credentials
  • Global default SSH/Telnet credentials: If you do not specify SSH/Telnet credentials when adding devices to SolarWinds NCM, SolarWinds NCM uses the global default SSH/Telnet credentials to manage the devices.
  • SSH/Telnet connection profile: SolarWinds NCM can use one SSH/Telnet connection profile to manage multiple devices.

Procedure

  1. Click SETTINGS > All Settings.
  2. Under PRODUCT SPECIFIC SETTINGS, click NCM Settings.

    • Configuring global default SSH/Telnet credentials

      # Under Global Device Defaults, click Global Device Defaults, set parameters as required, and click SUBMIT.

      imgDownload?uuid=34765a13e51b465882f04b3

      imgDownload?uuid=b6d3f5517fd84e619d2838d

    • Creating an SSH/Telnet connection profile

      # Under Global Device Default, click Connection Profiles. Click CREATE NEW to create an SSH/Telnet connection profile. Set parameters as required and click SUBMIT.

Adding Devices to SolarWinds NCM

Context

If you want to use SolarWinds NCM to manage devices (for example, backing up or restoring configurations), configure SSH/Telnet credentials for SolarWinds NCM to manage devices and add the devices to SolarWinds NCM.

Procedure

  • When adding a single device, add it to SolarWinds NCM.
  • When adding automatically discovered devices, add them to SolarWinds NCM.
  • If a device is added to SolarWinds but not added to SolarWinds NCM, add this device to SolarWinds NCM.
    1. Click SETTINGS > Manage Nodes.
    2. Select one or more devices, and click EDIT PROPERTIES.
    3. Select Yes from the drop-down list of Manage node(s) with NCM.

      • If multiple devices are selected, you can only use the global default SSH/Telnet credentials.
      • If a single device is selected, you can use the global default SSH/Telnet credentials, an existing or a created new SSH/Telnet connection profile, or SSH/Telnet credentials specified for this device.

      imgDownload?uuid=6fceee55b79d4aefa5798ed

    4. Click SUBMIT.

Downloading Device Configuration Files

Prerequisites

Devices have been added to SolarWinds NCM.

Procedure

  1. Click MY DASHBORADS > CONFIGS > Configuration Management.
  2. Select one or more devices, and click DOWNLOAD. Select a type of configuration files to be downloaded. Running indicates configuration files running on the devices, and Startup indicates configuration files used for startup of devices.
  3. In the DOWNLOAD CONFIGS dialog box that is displayed, click YES. SolarWinds NCM starts to download configuration files.
  4. Click a time point in the Name column to check configuration files downloaded at this time point.

    imgDownload?uuid=5175bd3db5cf492c8c86afa

Daily Backing Up Device Configuration Files

Prerequisites

Devices have been added to SolarWinds NCM.

Procedure

  1. Click MY DASHBORADS > CONFIGS > Jobs.
  2. Click CREATE NEW JOB.
    1. Set the job name, set Job Type to Download Configs from Devices, set the execution interval, and then click NEXT.

      imgDownload?uuid=996330f547fa4f78a15257c

    2. Select nodes to which this job is to be executed and click NEXT.

      imgDownload?uuid=0a49e5adbf3f401d98b8045

    3. Select the notification mode after the job is executed, and click NEXT.

      imgDownload?uuid=94ee6496d7b44591bc9fdee

    4. Select a type of configuration files to be downloaded and click NEXT.

      imgDownload?uuid=8f63549c924a448baabfbfd

    5. Verify the job settings and click FINISH.

      imgDownload?uuid=bf9e79a021254e88900ebaa

  3. The job is created and will be executed based on the configured schedule. You can also select the job and click START JOB to execute this job immediately.

    imgDownload?uuid=b077dcf472c44b3bb48abbd

  4. Click MY DASHBORADS > CONFIGS > Configuration Management. Click a time point in the Name column to check configuration files that are backed up at this time point.

    imgDownload?uuid=72ea7c2c476c4ba3945c1cc

Uploading Configuration Files to Devices

Prerequisites

Devices have been added to SolarWinds NCM.

Procedure

  1. Click MY DASHBORADS > CONFIGS > Configuration Management.
  2. Select a node to which a configuration file is to be uploaded, and click UPLOAD
  3. Select a configuration file to be uploaded. If needed, edit the configuration file in the pane on the right.

    imgDownload?uuid=b56114534a53469fa908c26

  4. Click Advanced. Select one option and then click UPLOAD to upload the configuration file.

    imgDownload?uuid=7b9598079ce340ca91b9305

  5. After the configuration file is uploaded successfully, an upload record is displayed.

    imgDownload?uuid=b353f6b57f674b74af32925

Uploading Configuration Changes to Devices

Prerequisites

Devices have been added to SolarWinds NCM.

Method of Uploading Configuration Changes
  • Edit the configuration file of a device on SolarWinds and then upload the edited configuration file to the device.
  • Execute a script to upload configuration changes to the device.

Procedure

  • Edit the configuration file of a device on SolarWinds and then upload the edited configuration file to the device. The following uses creation of VLAN 100 as an example.
    1. Downloading Device Configuration Files.
    2. Before uploading the configuration file, check the VLAN configuration on S12704-1.

      [S12704-1] display vlan summary Static VLAN: Total 6 static VLAN.    1 12 to 16                Dynamic VLAN:  Total 0 dynamic VLAN.              Reserved VLAN: Total 0 reserved VLAN.

    3. Upload the configuration file to the device. Select the configuration file downloaded in step 1 and edit it.

      imgDownload?uuid=0da2cc057c094724994f305

    4. After the configuration file is uploaded successfully, check the VLAN configuration on S12704-1 again. It is found that VLAN 100 has been created on S12704-1.

      [S12704-1] display vlan summary Static VLAN: Total 7 static VLAN.    1 12 to 16 100               Dynamic VLAN:  Total 0 dynamic VLAN.              Reserved VLAN: Total 0 reserved VLAN.

  • Execute a script to upload configuration changes to a device. The following uses creation of VLAN 100 as an example.
    1. Click MY DASHBORADS > CONFIGS > Configuration Management.
    2. Select a device and click EXECUTE SCRIPT.
    3. Before executing the script, check the VLAN configuration on S12704-1.

      [S12704-1] display vlan summary Static VLAN: Total 6 static VLAN.    1 12 to 16                Dynamic VLAN:  Total 0 dynamic VLAN.              Reserved VLAN: Total 0 reserved VLAN.

    4. Edit the script content, that is, commands you want to execute on the device, and then click EXECUTE.

      imgDownload?uuid=5d89c7d61baf4656ae47592

    5. In the EXECUTE SCRIPT dialog box that is displayed, click YES.
    6. After the script is executed, check the VLAN configuration on S12704-1 again. It is found that VLAN 100 has been created on S12704-1.

      [S12704-1] display vlan summary Static VLAN: Total 7 static VLAN.    1 12 to 16 100               Dynamic VLAN:  Total 0 dynamic VLAN.              Reserved VLAN: Total 0 reserved VLAN.

Comparing Configuration Files of Devices

Procedure

  1. Click MY DASHBORADS > CONFIGS > Configuration Management.
  2. Select a device, click COMPARE NODE(S) CONFIGS, and then click Compare node(s) configs.

    imgDownload?uuid=68e2db248f734c1db1e99d6

  3. Select configuration files to be compared to check for their differences.

    imgDownload?uuid=9fdab12afad049cc8c68443

Log and Trap Management

Checking Logs and Traps Reported by Devices

Procedure

  1. The following example checks whether SolarWinds receives traps from S12704-1 after an interface on it is shut down/brought up.

    [S12704-1] interface GigabitEthernet 1/1/1/2 [S12704-1-GigabitEthernet1/1/1/2] shutdown

  2. Click ALERTS & ACTIVITY > Traps. It is found that SolarWinds receives traps indicating that the interface goes Down and the OSPF link status changes. These traps are generated after GE1/1/1/2 on S12704-1 is shut down.

    imgDownload?uuid=bc5917e7978e461783e86e3

  3. Bring GE1/1/1/2 on S12704-1 Up.

    [S12704-1-GigabitEthernet1/1/1/2] undo shutdown

  4. Check traps on SolarWinds. It is found that SolarWinds receives traps indicating that the interface goes Up, and the OSPF link status, LLDP neighbor status, device configuration, and MSTP topology change. These traps are generated after GE1/1/1/2 on S12704-1 is brought up.

    imgDownload?uuid=dda3d5079b004df69fc7afa

See more please click 

https://support.huawei.com/enterprise/en/doc/EDOC1000069520/9aadccc0/comprehensive-configuration-examples


  • x
  • convention:

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!
Fast reply Scroll to top