Huawei Quidway S9300 Configuration Manual - Network Management

Terabit routing switch
Hide thumbs Also See for Quidway S9300:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
V100R003C00
Configuration Guide - Network
Management
Issue
03
Date
2010-09-20
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S9300

  • Page 1 Quidway S9300 Terabit Routing Switch V100R003C00 Configuration Guide - Network Management Issue Date 2010-09-20 HUAWEI TECHNOLOGIES CO., LTD.
  • Page 3 All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
  • Page 5: About This Document

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the Network Management feature supported by the S9300.
  • Page 6: Command Conventions

    Based on issue 02 (2010-07-15), the document is updated as follows: The following information is modified: 1.23.7 Example for Configuring Alarm Messages to Be Sent to the Huawei NMS 4.3.2 (Optional) Enabling the LLDP Trap Function 4.5.1 Example for Configuring LLDP...
  • Page 7 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management About This Document Changes in Issue 02 (2010-07-15) Based on issue 01 (2010-04-30), the document is updated as follows: The following information is modified: 1.9.2 Configuring Basic SNMP Functions 4.3.11 (Optional) Configuring the TLV in the LLDPUD 4.4.2 Monitoring the Operating Status of LLDP...
  • Page 9: Table Of Contents

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents Contents About This Document........................iii 1 SNMP Configuration.........................1-1 1.1 Introduction to SNMP.............................1-3 1.2 SNMP Supported by the S9300........................1-5 1.3 Configuring Basic Functions of SNMPv1......................1-5 1.3.1 Establishing the Configuration Task......................1-6 1.3.2 Enabling Basic SNMP Functions......................1-6 1.3.3 Configuring the SNMP Version......................1-7...
  • Page 10 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Network Management 1.7.5 Checking the Configuration.........................1-19 1.8 Configuring MIB-View-based Access Control in SNMPv2c...............1-21 1.8.1 Establishing the Configuration Task....................1-21 1.8.2 Configuring the SNMP Version......................1-22 1.8.3 Creating a MIB View...........................1-22 1.8.4 Configuring MIB-View-based Access Control..................1-23 1.8.5 Checking the Configuration.........................1-23...
  • Page 11 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 1.13.3 Creating a MIB View.........................1-42 1.13.4 Configuring Authorities for the SNMP User Group................1-42 1.13.5 Configuring User Information......................1-43 1.13.6 Checking the Configuration.......................1-43 1.14 Configuring SNMP Maintenance Information....................1-44 1.14.1 Establishing the Configuration Task....................1-45 1.14.2 Configuring Contact Methods of the Administrator................1-45...
  • Page 12 1.23.5 Example for Configuring Batch Statistics Collection................1-86 1.23.6 Example for Enabling the Extended Error Code Function on the SNMP Agent.......1-88 1.23.7 Example for Configuring Alarm Messages to Be Sent to the Huawei NMS........1-89 2 RMON and RMON2 Configuration..................2-1 2.1 Introduction to RMON and RMON2......................2-2 2.2 RMON and RMON2 Suported by the S9300....................2-3...
  • Page 13 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 2.6 Configuration Examples..........................2-16 2.6.1 Examples for Configuring RMON.......................2-16 2.6.2 Examples for Configuring RMON2.....................2-20 3 NTP Configuration........................3-1 3.1 Introduction to NTP............................3-2 3.2 NTP Supported by the S9300..........................3-4 3.3 Configuring Basic NTP Functions........................3-5 3.3.1 Establishing the Configuration Task......................3-6...
  • Page 14 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Network Management 4.3.8 (Optional) Setting the Time Multiplier of Device Information Held in Neighbor Stations....4-10 4.3.9 (Optional) Setting the Delay for Re-enabling LLDP on an Interface..........4-10 4.3.10 (Optional) Setting the Delay for Sending the Traps of Neighbor Changes........4-11 4.3.11 (Optional) Configuring the TLV in the LLDPUD................4-11...
  • Page 15 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 6.8.3 Checking the Configuration.........................6-21 6.9 Configuring the DNS Test..........................6-22 6.9.1 Establishing the Configuration Task....................6-22 6.9.2 Configuring the DNS Test Parameters....................6-23 6.9.3 Checking the Configuration.........................6-24 6.10 Configuring the Traceroute Test.........................6-24 6.10.1 Establishing the Configuration Task....................6-25...
  • Page 16 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Network Management 6.17.4 Checking the Configuration.......................6-56 6.18 Configuring the LSP Traceroute Test......................6-57 6.18.1 Establishing the Configuration Task....................6-57 6.18.2 Configuring the LSP Traceroute Parameters for the LDP Tunnel.............6-59 6.18.3 Configuring LSP Traceroute Test Parameters for the MPLS TE Tunnel.......... 6-60 6.18.4 Configuring the LSP Traceroute Test Parameters for the CR-LSP Hotstandby Tunnel....6-61...
  • Page 17 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 6.24.2 Creating an NQA MTrace Test......................6-89 6.24.3 Configuring Parameters for the NQA MTrace Test................6-90 6.24.4 (Optional) Adjusting the Performance of the NQA MTrace Test............6-91 6.24.5 Starting the NQA MTrace Test......................6-92 6.24.6 Setting Policies for Filtering Queriers....................6-93...
  • Page 18 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Network Management 6.33.4 Sending Trap Messages When Probes Are Complete..............6-127 6.33.5 Sending Trap Messages When the Transmission Delay Exceeds Thresholds.........6-127 6.33.6 Checking the Configuration......................6-128 6.34 Configuring Test Results to Be Sent to the FTP Server................6-129 6.34.1 Establishing the Configuration Task....................6-129...
  • Page 19 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 6.37.19 Example for Checking the Multicast Path from the Source to the switch Through the MTrace Test ..................................6-189 6.37.20 Example for Checking the RPF Path from the Source to Destination Host Through the MTrace Test ..................................6-194...
  • Page 20 Quidway S9300 Terabit Routing Switch Contents Configuration Guide - Network Management 7.6.2 Creating a Record and Entering the Record View................7-17 7.6.3 Configuring Aggregation Key Words of Records................7-17 7.6.4 (Optional) Configuring the Exported Traffic Statistics................7-17 7.6.5 Configuring NetStream and Setting the Packet Sampling Ratio............7-18 7.6.6 Enabling Flexible NetStream on Interfaces..................7-19...
  • Page 21 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Contents 8.5.3 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in Non-NAT Mode).............................8-53 8.5.4 Example for Configuring Devices in the HGMP Cluster to Access the Outside SNMP Host (in NAT Mode)................................8-63...
  • Page 23 Figure 1-7 Networking diagram for configuring the batch statistics collection..........1-86 Figure 1-8 Networking diagram of enabling the extended error code function on the SNMP agent....1-88 Figure 1-9 Networking diagram of configuring alarm messages to be sent to the Huawei NMS..... 1-90 Figure 2-1 Networking diagram for configuring RMON...................2-16 Figure 2-2 Networking diagram for configuring RMON2.................2-20...
  • Page 24 Quidway S9300 Terabit Routing Switch Figures Configuration Guide - Network Management Figure 6-10 Networking diagram for configuring the TCP test...............6-155 Figure 6-11 Networking diagram for configuring the UDP test..............6-158 Figure 6-12 Networking diagram for configuring the Jitter test..............6-160 Figure 6-13 Networking diagram for configuring the MAC Ping test.............6-162 Figure 6-14 Networking diagram for configuring the LSP Ping test...............6-165...
  • Page 25 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Figures Figure 8-10 Networking diagram of configuring the incremental configuration function for an HGMP cluster ...................................8-105 Figure 8-11 Networking diagram of configuring the configuration synchronization function for an HGMP cluster ...................................8-115...
  • Page 27 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management Tables Tables Table 1-1 Basic SNMP operations........................1-4 Table 2-1 Time span of each table........................2-4 Table 3-1 Description of the NTP access authorities ..................3-17 Issue 03 (2010-09-20) Huawei Proprietary and Confidential...
  • Page 29: Snmp Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration SNMP Configuration About This Chapter This chapter describes how to configure the NM Station to communicate with the device through SNMP. 1.1 Introduction to SNMP This part describes the NM Station, SNMP agent, and MIB, and their relationships.
  • Page 30 This section describes how to enable the extended SNMP error code function. After this function is enabled, packets sent from the device to the NMS carry extended error codes. The extended SNMP error code function is allowed only on Huawei NMS. 1.20 Configuring the SET Response Message Caching Function When the NMS frequently sends repeated SET packets to the device, the device performance will be degraded.
  • Page 31: Introduction To Snmp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.1 Introduction to SNMP This part describes the NM Station, SNMP agent, and MIB, and their relationships. The Simple Network Management Protocol (SNMP) consists of the Network Management Station (NMS) and the agent.
  • Page 32: Figure 1-2 Mib Tree Structure

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management SNMP uses a hierarchical naming convention to identify managed objects and to distinguish between managed objects. This hierarchical structure is similar to a tree with the nodes representing managed objects.
  • Page 33: Snmp Supported By The S9300

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.2 SNMP Supported by the S9300 This part describes the support for SNMPv1, SNMPv2c, and SNMPv3 on the S9300. The S9300 supports SNMPv1, SNMP2vc, and SNMPv3. SNMPv1...
  • Page 34: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management After SNMPv1 is configured, you can check SNMP configurations. 1.3.1 Establishing the Configuration Task Before configuring SNMPv1, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 35: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.3.3 Configuring the SNMP Version By default, the NM Station accesses the device through SNMPv3. To enable the NM Station to access the device through SNMPv1, you need to configure SNMPv1 on the device.
  • Page 36: Configuring Basic Functions Of Snmpv2C

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Procedure Run the display snmp-agent community command to view the community name of the agent. Run the display snmp-agent sys-info version command to view the SNMP version information.
  • Page 37: Enabling Basic Snmp Functions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Applicable Environment To enable NM Station Station to access and manage devices, configure basic SNMPv2c functions on the devices. Pre-configuration Tasks Before configuring SNMPv2c, complete the following tasks:...
  • Page 38: Setting The Snmp Community Name

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent sys-info version v2c The SNMP version is configured. By default, only SNMPv3 is configured.
  • Page 39: Configuring Community-Name-Based Access Control In Snmpv1

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Example Run the display snmp-agent community command. If information on the community name is displayed, it means that the configuration succeeds. <Quidway> display snmp-agent community Community name:public...
  • Page 40: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Pre-configuration Tasks Before configuring community-name-based access control, complete the following tasks: Assigning an IP address to the switch Configuring the routing protocol to make the switch and the NM Station accessible Data Preparation To configure community-name-based access control, you need the following data.
  • Page 41: Applying The Acl

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: acl acl-number A basic ACL is created. Step 3 Run: rule [ rule-id ] { deny | permit } [ fragment |...
  • Page 42: Configuring Community-Name-Based Access Control In Snmpv2C

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Run the display snmp-agent sys-info version command to view the SNMP version information. ----End Example Run the display acl acl-number command. If information on the rules of the configured ACL is displayed, it means that the configuration succeeds.
  • Page 43: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.6.1 Establishing the Configuration Task Before configuring community-name-based access control in SNMPv2c, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 44: Configuring A Basic Acl

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.6.3 Configuring a Basic ACL This part describes how to configure ACLs to enable a specific NMS to access the device. Context Do as follows on the switch enabled with the SNMP agent.
  • Page 45: Configuring Mib-View-Based Access Control In Snmpv1

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Procedure Run the display acl acl-number command to view the rules of the configured ACL. Run the display snmp-agent community command to view the community name of the agent.
  • Page 46: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.7.5 Checking the Configuration After MIB-view-based access control in SNMPv1 is configured, you can view configurations of SNMP. 1.7.1 Establishing the Configuration Task Before configuring MIB-view-based access control in SNMPv1, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 47: Creating A Mib View

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration By default, SNMPv3 is configured. ----End 1.7.3 Creating a MIB View This part describes how to create a MIB view, and add the MIB of the specified feature into the MIB view or remove the MIB of the specified feature from the MIB view.
  • Page 48 Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Prerequisite The configurations of the MIB-View-based Access Control in SNMPv1 are complete. Procedure Run the display snmp-agent mib-view command to view the MIB view. Run the display snmp-agent community command to view the community name of the agent.
  • Page 49: Configuring Mib-View-Based Access Control In Snmpv2C

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.8 Configuring MIB-View-based Access Control in SNMPv2c In SNMPv2c, you can control the NM Station to access the specified device by the MIB view. 1.8.1 Establishing the Configuration Task Before configuring MIB-view-based access control in SNMPv2c, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 50: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Data Information about MIB objects 1.8.2 Configuring the SNMP Version By default, the NM Station accesses the device through SNMPv3. To enable the NM Station to access the device through SNMPv2c, you need to configure SNMPv2c.
  • Page 51: Configuring Mib-View-Based Access Control

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.8.4 Configuring MIB-View-based Access Control This part describes how the NM Station manages the specified feature of the device in the MIB view. Context Do as follows on the switch enabled with the SNMP agent.
  • Page 52: Configuring Basic Functions Of Snmpv3

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Storage-type: nonVolatile View Type:excluded View status:active View name:ViewDefault MIB Subtree:snmpVacmMIB Subtree mask: Storage-type: nonVolatile View Type:excluded View status:active View name:ViewDefault MIB Subtree:snmpModules.18 Subtree mask: Storage-type: nonVolatile View Type:excluded View status:active Run the display snmp-agent community command.
  • Page 53: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.9.1 Establishing the Configuration Task Before configuring SNMPv3, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 54: Configuring An Snmp User Group

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Context Do as follows on the switch enabled with the SNMP agent. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent sys-info version v3 The SNMP version is configured.
  • Page 55: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration The system view is displayed. Step 2 Run: snmp-agent usm-user v3 user-name group-name User information is configured. ----End 1.9.6 Checking the Configuration After basic functions of SNMPv3 are configured, you can view configurations of SNMPv3.
  • Page 56: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Before configuring group-based access control in SNMPv3, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 57: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.10.2 Configuring the SNMP Version After the SNMP version is disabled on the device, to enable the NMS to access the device through SNMPv3, you need to configure SNMPv3 on the device.
  • Page 58: Configuring A Basic Acl

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent usm-user v3 user-name group-name Users are added into the SNMPv3 user group. ----End 1.10.5 Configuring a Basic ACL...
  • Page 59: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Step 2 Run: snmp-agent group v3 group-name acl acl-number The ACL is applied. ----End 1.10.7 Checking the Configuration After group-based access control in SNMPv3 is configured, you can view configurations of SNMP and ACLs.
  • Page 60: Configuring User-Based Access Control In Snmpv3

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.11 Configuring User-based Access Control in SNMPv3 After user-based access control in SNMPv3 is configured, when the NM Station accesses the device through SNMPv3, only the specified NM Station users can access the device.
  • Page 61: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Data SNMP group name SNMP user name ACL number 1.11.2 Configuring the SNMP Version After the SNMP version is disabled on the device, to enable the NMS to access the device through SNMPv3, you need to configure SNMPv3 on the device.
  • Page 62: Configuring User Information

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.11.4 Configuring User Information This part describes how to create SNMP access users (access NMSs) and add these users to the user group. Context Do as follows on the switch enabled with the SNMP agent.
  • Page 63: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent usm-user v3 user-name group-name acl acl-number The ACL is applied. ----End 1.11.7 Checking the Configuration After user-based access control in SNMPv3 is configured, you can view configurations of SNMP and ACLs.
  • Page 64: Configuring Authentication And Encryption Functions In Snmpv3

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management rule 5 permit source 1.1.1.1 0 Run the display snmp-agent sys-info version command. If the version of SNMP run on the agent is displayed, it means that the configuration succeeds.
  • Page 65: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Applicable Environment In the case that users demand high security of the network, configure the security mechanism of SNMPv3 to allow specified NM Stations to access the switch. That is, the NM Station can access the switch only after it passes authentication.
  • Page 66: Configuring User Information

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Context Do as follows on the SNMP agent. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent group v3 group-name An SNMP user group is configured.
  • Page 67: Configuring The Encryption Function For The Snmp User Group

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration The system view is displayed. Step 2 Run: snmp-agent group v3 group-name authentication The SNMPv3 authentication function is configured. ----End 1.12.6 Configuring the Encryption Function for the SNMP User Group Encryption keys configured on the NM Station and the device must be identical.
  • Page 68: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Authentication and encryption functions for the SNMP user group are configured. ----End 1.12.8 Checking the Configuration After authentication and encryption mechanisms of SNMPv3 are configured, you can view configurations of SNMP and ACLs.
  • Page 69: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Before configuring MIB-view-based access control in SNMPv3, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 70: Configuring The Snmp Version

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.13.2 Configuring the SNMP Version After the SNMP version is disabled on the device, to enable the NMS to access the device through SNMPv3, you need to configure SNMPv3 on the switch.
  • Page 71: Configuring User Information

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view | write-view write-view | notify-view notify-view ] [ acl acl-number ] Read/write authority of the user group is configured.
  • Page 72: Configuring Snmp Maintenance Information

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Run the display snmp-agent sys-info version command to view the SNMP version information. ----End Example Run the display snmp-agent group command. If information on the USM-based group is displayed, it means that the configuration succeeds.
  • Page 73: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.14.1 Establishing the Configuration Task Before configuring SNMP maintenance information, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 74: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent sys-info location location The location of the switch is configured. ----End 1.14.4 Checking the Configuration After SNMP maintenance information is configured, you can view information about the administrator and location of the device.
  • Page 75: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration The maximum size of an SNMP packet depends on the MTU of the network. If the size of an SNMP packet exceeds the MTU of the network, the SNMP packet is fragmented.
  • Page 76: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management snmp-agent packet max-size byte-count The maximum size of the SNMP packet sent or received by the agent is configured. ----End 1.15.3 Checking the Configuration After the maximum size of an SNMP packet is configured, you can view the configuration.
  • Page 77: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration This part describes how to set the interval for uploading the statistics file. When the upload interval expires, the system uploads the statistics file to the NM Station.
  • Page 78: Enabling Batch Statistics Collection

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Data OID of the statistics object Start index of the statistics object Number of the statistics object instances l (Optional) Statistics collection interval l (Optional) Statistics uploading interval...
  • Page 79: Adding Statistics Objects Into The Statistics File

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Step 2 Run: bulk-file file-name A statistics file is created and the bulk-file view is displayed. The statistics file is in the Stop state after being created and does not participate in statistics collection until it is enabled.
  • Page 80: Optional) Configuring The Interval Of Uploading The Statistic File

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Context The system starts statistics collection when the statistics collection interval expires. NOTE You can set the statistics collection interval, when the statistics file was in the stop state.
  • Page 81: Optional) Configuring The Period For Reserving The Statistics File

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration The interval for uploading the statistics file is set. By default, the interval for uploading the statistics file is set to five minutes. ----End 1.16.7 (Optional) Configuring the Period for Reserving the Statistics...
  • Page 82: Specifying The Upload Mode Of The Statistics File

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management NOTE The interval for re-uploading the statistics file can be calculated through the formula: period for reserving the statistics file/(number of times to re-upload the statistics file + 1).
  • Page 83: Enabling The Statistics File

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration The primary URL is preferentially adopted during file upload. If the primary URL fails, the secondary URL is used. If the secondary URL is also fails, the switch must wait for the next re- upload interval to re-upload the statistics file.
  • Page 84: Configuring The Trap Function

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management <Quidway> display bulk-stat bulk statistic info: ---------------------------------- max bulk file number: 10 current bulk file number: 1 current bulk object number: 2 max data item per 5 minutes: 45000...
  • Page 85: Optional) Enabling The Switch To Send Specified Alarms To The Nm Station

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Pre-configuration Tasks Before configuring the Trap function, complete the following tasks: Assigning an IP address to the switch Configuring the routing protocol to make the switch and the NMS accessible Data Preparation To configure the Trap function, you need the following data.
  • Page 86: Optional) Enabling The Switch To Send An Alarm Message Of A Specified Feature To The Nm Station

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.17.3 (Optional) Enabling the switch to Send an Alarm Message of a Specified Feature to the NM Station Context Do as follows on the switch that requires an alarm to be enabled separately:...
  • Page 87: Optional) Setting The Queue Length Of Trap Messages

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Context CAUTION The source interface to send trap messages configured on the switch must be the same as that configured on the NM Station; otherwise, the NM Station discards trap messages because of unmatched addresses.
  • Page 88: Optional) Setting The Lifetime Of Trap Messages

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management By default, the queue length contains 100 Trap messages. ----End 1.17.7 (Optional) Setting the Lifetime of Trap Messages To ensure that trap messages can be sent to the NM Station, you are required to adjust the reservation period of the trap messages according to the number of trap messages.
  • Page 89: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Station synchronizes the alarm with the alarm log on the switch to avoid loss of the failure information. 1.18.1 Establishing the Configuration Task Before sending traps in Inform mode, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 90: Optional) Enabling The Switch To Send Specified Alarms To The Nm Station

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management NOTE Only SNMPv2c support the Inform mode. Pre-configuration Tasks Before configuring the Informing mode, complete the following tasks: Assigning an IP address to the switch Configuring a routing protocol for the communication between the switch and the NM...
  • Page 91: Optional) Enabling The Switch To Send An Alarm Message Of A Specified Feature To The Nm Station

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration NOTE When all trap functions are enabled through the snmp-agent trap enable command or at least three trap functions are enabled through the snmp-agent trap enable feature-name command: l you can run the snmp-agent trap disable command to disable all the enabled trap functions.
  • Page 92: Optional) Configuring Global Parameters For The Informing Mode

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management The system view is displayed. Step 2 Run: snmp-agent target-host inform address udp-domain ip-address [ udp-port port- number ] [ vpn-instance vpn-instance-name ] params securityname security-string v2c The destination host to which Informing messages are sent is configured.
  • Page 93: Optional) Configuring The Parameters For The Informing Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration 1.18.6 (Optional) Configuring the Parameters for the Informing Mode Context Do as follows on the switch enabled with the SNMP agent. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 94: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management snmp-agent notification-log { global-ageout ageout | global-limit limit } * The aging time of alarm logs and the maximum pieces of alarm logs allowed to be saved in the log buffer are set.
  • Page 95: Enabling The Extended Error Code Function On The Snmp Agent

    This section describes how to enable the extended SNMP error code function. After this function is enabled, packets sent from the device to the NMS carry extended error codes. The extended SNMP error code function is allowed only on Huawei NMS. 1.19.1 Establishing the Configuration Task Before enabling the extended SNMP error code function, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 96: Enabling The Extended Error Code Function On The Snmp Agent

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Pre-configuration Tasks Before configuring the extended error code function, complete the following task: Configuring a reachable route between the switch and the NM station Data Preparation None 1.19.2 Enabling the Extended Error Code Function on the SNMP...
  • Page 97: Configuring The Set Response Message Caching Function

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration <Quidway> display snmp-agent extend error-code status Extend error-code status:enabled 1.20 Configuring the SET Response Message Caching Function When the NMS frequently sends repeated SET packets to the device, the device performance will be degraded.
  • Page 98: Configuring The Constant Interface Index Feature

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management 1.21 Configuring the Constant Interface Index Feature When the interface index is used as the accounting reference, it is required that the interface index be the same even if the interface is added or deleted, the system is restarted, and the software or hardware configuration is changed.
  • Page 99: Enabling The Constant Interface Index Feature

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Pre-configuration Tasks None. Data Preparation To configure the constant interface index feature, you need the following data. Data Maximum number of interfaces with constant indexes Memory distribution mode when the sub-interface is used 1.21.2 Enabling the Constant Interface Index Feature...
  • Page 100: Setting The Memory Distribution Mode Of The Sub-Interface Index

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Context Do as follows on the switch enabled with the SNMP agent. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: set constant-ifindex max-number number The maximum number of interfaces with constant indexes is configured.
  • Page 101: Checking The Configuration

    When an SNMP fault occurs, run the following debugging command in the user view to debug and locate the fault. For the description about the debugging commands, refer to the Quidway S9300 Terabit Routing Switch Debugging Reference. Procedure Step 1 Run the debugging snmp-agent { event | header | inform | packet | process | trap } command to enable SNMP debugging.
  • Page 102: Configuration Examples

    1.23.6 Example for Enabling the Extended Error Code Function on the SNMP Agent After configuring the SNMP error code function, the NMS can receive more detailed information about the router. 1.23.7 Example for Configuring Alarm Messages to Be Sent to the Huawei NMS 1.23.1 Example for Configuring Basic SNMPv1 Functions Networking Requirements...
  • Page 103 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Community name Procedure Step 1 Configure IP addresses of the interfaces. The configuration procedure is not mentioned here. Step 2 Enable the SNMP function. # Enter the system view and enable the SNMP function.
  • Page 104: Example For Specifying An Nms To Manage The Switch

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management snmp-agent community read public snmp-agent community write private snmp-agent sys-info version v1 v3 return 1.23.2 Example for Specifying an NMS to Manage the Switch Networking Requirements As shown in Figure 1-4, a reachable route exists between the NMS and the Switch.
  • Page 105 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Procedure Step 1 Configure reachable routes between the Switch and the NMSs. The configuration procedure is not mentioned. Step 2 Configure the access control function of SNMP.
  • Page 106: Example For Configuring Different Nmss To Access The Switch

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Group name:private Acl:2000 Storage-type: nonVolatile # When a trap is generated, you can run the display trapbuffer command to view details about the trap. [Switch] display trapbuffer...
  • Page 107: Figure 1-5 Networking Diagram For Configuring Different Nmss To Access The Switch

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration By using the security feature of SNMPv3, configure NMS1 to completely control the network and configure NMS2 to manage only the interfaces on the Switch. Figure 1-5 Networking diagram for configuring different NMSs to access the Switch...
  • Page 108 Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management # View the version of SNMP. [Switch] display snmp-agent sys-info version SNMP version running in the system: SNMPv3 Step 3 Configure the access rights. # Configure user group information.
  • Page 109 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Readview: ViewDefault Writeview: <no specified> Notifyview :<no specified> Storage-type: nonVolatile Group name: test2 Security model: v3 noAuthnoPriv Readview: b Writeview: b Notifyview :b Storage-type: nonVolatile Group name: test2...
  • Page 110: Example For Configuring Different Nmss To Access The Switch (Inform Mode)

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Overwritten messages : 0 Current messages : 1 #Feb 1 08:49:55 2009 Switch ENTMIB/4/TRAP:1.3.6.1.2.1.47.2.0.1 Entity MIB change. ----End Configuration Files The configuration file on the Switch is as follows:...
  • Page 111: Figure 1-6 Networking Diagram For Configuring Different Nmss To Access The Switch (Inform Mode)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Figure 1-6 Networking diagram for configuring different NMSs to access the Switch (inform mode) GE1/0/0 NMS 1 VLANIF100 1.1.1.1/24 1.1.2.1/24 Network Switch NMS 2 1.1.1.2/24 Configuration Roadmap...
  • Page 112 Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management # Configure user group information. [Switch] snmp-agent group v3 test1 read-view a write-view a notify-view a [Switch] snmp-agent group v3 test2 read-view b write-view b notify-view b # Configure encryption and authentication for the user group.
  • Page 113 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration <Switch> display snmp-agent group Group name: test1 Security model: v3 noAuthnoPriv Readview: a Writeview: a Notifyview :a Storage-type: nonVolatile Group name: test2 Security model: v3 noAuthnoPriv Readview: b...
  • Page 114: Example For Configuring Batch Statistics Collection

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management snmp-agent mib-view included b interfaces snmp-agent usm-user v3 NMS1 test1 authentication-mode md5 TV"8'@O_6I! PN<^R;_><IA!! privacy-mode des56 a>;@2Y`MQRZS<EPZ].X-!!!! snmp-agent usm-user v3 NMS2 test2 authentication-mode md5 TV"8'@O_6I! PN<^R;_><IA!! privacy-mode des56 a>;@2Y`MQRZS<EPZ].X-!!!! return 1.23.5 Example for Configuring Batch Statistics Collection...
  • Page 115 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Step 2 Configure a statistics file, including statistics collection interval, statistics uploading interval, period for reserving the statistics file, and the primary URL to which the statistics file is uploaded.
  • Page 116: Example For Enabling The Extended Error Code Function On The Snmp Agent

    Quidway S9300 Terabit Routing Switch 1 SNMP Configuration Configuration Guide - Network Management Configuration Files The configuration file on the Switch is as follows: sysname Switch vlan batch 100 interface Vlanif100 ip address 2.2.2.1 255.255.255.0 interface GigabitEthernet1/0/1 port hybrid pvid vlan 100...
  • Page 117: Example For Configuring Alarm Messages To Be Sent To The Huawei Nms

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration Configure the SNMP version. Enable the extended error code function on the SNMP agent. Data Preparation To complete the configuration, you need the following data: Version number of SNMP Procedure Step 1 Configure reachable routes between the Switch and the NMSs.
  • Page 118: Figure 1-9 Networking Diagram Of Configuring Alarm Messages To Be Sent To The Huawei Nms

    NMS. The alarm message sent by Huawei devices to the Huawei NMS contains the sending time and ID of the alarm message in addition to the information defined in the protocol.
  • Page 119: Configuration File

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 1 SNMP Configuration [Quidway] snmp-agent trap enable # Configure the source interface that sends alarm messages to the NMS. [Quidway] snmp-agent trap source LoopBack 0 # Assign an IP address to the NMS that receives the alarm messages.
  • Page 121: Rmon And Rmon2 Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration RMON and RMON2 Configuration About This Chapter This chapter describes how to monitor the Ethernet interface through Remote Network Monitoring (RMON) and Remote Network Monitoring Version 2 (RMON2).
  • Page 122: Introduction To Rmon And Rmon2

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management 2.1 Introduction to RMON and RMON2 This part describes working principles of and differences between RMON and RMON2. RMON RMON is implemented based on the Simple Network Management Protocol (SNMP) architecture, and is compatible with the existing SNMP framework.
  • Page 123: Rmon And Rmon2 Suported By The S9300

    SNMP NM Station; so, the administrator can handle it properly without additional training. RMON in the S9300 supports four groups, namely, statistics, history, alarm, and event, as defined in RFC 2819, and a Performance-MIB defined by Huawei. The following describes each group.
  • Page 124 Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management The alarm group contains one table: alarmTable. Event group An event group stores all the events generated by the RMON agent in a table. It records logs or sends trap messages to the NM Station when an event occurs.
  • Page 125: Configuring Rmon

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration hostControlTable. So, only IP can be set in the protocol directory group and other protocols are invalid. 2.3 Configuring RMON This section describes how to monitor the network status and traffic through RMON.
  • Page 126: Enabling The Rmon Statistics Function On The Interface

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management It is recommended to configure the statistics table in advance, configure two history control policies on the interface where the traffic is abnormal, configure the alarm for one or more suspicious entries, set the high and low thresholds, and view the alarm information.
  • Page 127: Configuring The Ethernetstatstable

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration If the statistics function is not enabled on the interface, the statistics value in ethernetStatsTable and historyControlTable of RMON is 0. ----End 2.3.3 Configuring the ethernetStatsTable EthernetStatsTable records traffic information that RMON collects on interfaces.
  • Page 128: Configuring The Eventtable

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management NOTE To reduce the effect on the performance of the system, the sampling interval of the history table should be longer than 10 seconds, and the same port should not be configured with too many history control entries and alarm entries.
  • Page 129: Configuring The Alarmtable

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration 2.3.6 Configuring the AlarmTable The RMON alarm management function monitors a specified trap variable identified by its OID at a specified sampling interval. When the monitored variable exceeds the defined threshold, an alarm is generated.
  • Page 130: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management Step 2 Run: rmon prialarm entry-number prialarm-formula description-string sampling-interval { delta | changeratio | absolute } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 entrytype { cycle entry-period | forever } [ owner owner-name ] The prialarmTable is configured.
  • Page 131 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration Example Run the display rmon alarm command. If information about the alarm table is displayed, it means that the configuration succeeds. <Quidway> display rmon alarm 1 Alarm table 1 owned by Test300 is VALID.
  • Page 132: Configuring Rmon2

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management fragments packets , jabbers packets CRC alignment errors:0 , collisions Dropped packet (insufficient resources):1795 Packets received according to length (octets): :150183 65-127 :150183 128-255 :1383...
  • Page 133: Configuring The Hlhostcontroltable

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration 2.4.2 Configuring the hlHostControlTable HlHostControlTable is used to monitor the traffic of a specific host. Context Do as follows on the switch that is monitored.
  • Page 134: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view Step 2 Run: rmon2 protocoldirtable protocoldirid protocol-id parameter parameter-value [ descr description-string ] [ host { notsupported | supportedon | supportedoff } ] [ owner owner-name ] [ status { active | inactive } ] The protocolDirTable is configured.
  • Page 135: Maintaining Rmon And Rmon2

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration Example Run the display rmon2 protocoldirtable command. If information about the protocol directory table is displayed, it means that the configuration succeeds. <Quidway> display rmon2 protocoldirtable...
  • Page 136: Configuration Examples

    When an RMON fault occurs, run the following debugging command in the user view to locate the fault. For the description about the debugging commands, refer to the Quidway S9300 Terabit Routing Switch Debugging Reference. Perform the configuration in the user view.
  • Page 137 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration Assign IP addresses to interfaces of the Switch. Configure a reachable route between the Switch and the NMS. Configure the function of sending trap messages and set the group names by using SNMP commands.
  • Page 138 Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management # Configure the Switch to record logs for RMON event 1, and send trap messages to the NMS for event 2. [Switch] rmon event 1 log owner Test300 [Switch] rmon event 2 description forUseofPrialarm trap public owner Test300 Step 7 Configure the alarmTable.
  • Page 139 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration # View alarm information. <Switch> display rmon alarm 1 Alarm table 1 owned by Test300 is VALID. Samples absolute value : 1.3.6.1.2.1.16.1.1.1.6.1 <etherStatsBroadcastPkts.1> Sampling interval...
  • Page 140: Examples For Configuring Rmon2

    Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management snmp-agent snmp-agent local-engineid 000007DB7FFFFFFF0000017C snmp-agent sys-info version v3 snmp-agent target-host trap address udp-domain 1.1.1.1 params securityname public return 2.6.2 Examples for Configuring RMON2 Networking Requirements...
  • Page 141 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 2 RMON and RMON2 Configuration <Quidway> system-view [Quidway] vlan 10 [Quidway-Vlan10] quit [Quidway] interface gigabitethernet 2/0/0 [Quidway-GigabitEthernet2/0/0] port hybrid pvid vlan 10 [Quidway-GigabitEthernet2/0/0] port hybrid untagged vlan 10 Step 2 Configure the VLANIF interface and assign an IP address to the VLANIF interface.
  • Page 142 Quidway S9300 Terabit Routing Switch 2 RMON and RMON2 Configuration Configuration Guide - Network Management HIdx - hlHostControlIndex PIdx - ProtocolDirLocalIndex Addr - nlHostAddress InPkts - nlHostInPkts OutPkts - nlHostOutPkts InOctes - nlHostInOctets OutOctes - nlHostOutOctets OutMac - nlHostOutMacNonUnicastPkts ChgTm - nlHostTimeMark...
  • Page 143: Ntp Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration NTP Configuration About This Chapter This chapter describes how to configure Network Time Protocol (NTP) to make clocks of the devices on the network identical. 3.1 Introduction to NTP This part describes the application and working principles of NTP.
  • Page 144: Introduction To Ntp

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management 3.1 Introduction to NTP This part describes the application and working principles of NTP. NTP(Network Time Protocol) aims to synchronizing clocks of all devices in a network. It keeps all the clocks of these devices consistent, and enables devices to implement various applications based on the uniform time.
  • Page 145: Figure 3-1 Ntp Basic Principle Diagram

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration Switch B functions as an NTP time server. That is, Switch A synchronizes its clock with that of Switch B. One-way transmission of data packets between Switch A and Switch B takes one second.
  • Page 146: Ntp Supported By The S9300

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Switch A uses the received information to calculate the following two important values: l Delay for the NTP message cycle: Delay = (T4 - T1) - (T3 - T2).
  • Page 147: Configuring Basic Ntp Functions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration The symmetric active end sends a synchronization request packet to the symmetric passive end with the mode field being set to 1. The value 1 indicates the symmetric active mode.
  • Page 148: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management This part describes how to configure the NTP peer mode. In this mode, clocks on the two peers synchronize with each other. Each side can send the clock synchronization request message to the peer and reply the clock synchronization request message from the peer.
  • Page 149: Configuring The Ntp Primary Clock

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration Data Primary NTP clock and its stratum Interfaces to send and receive NTP packets NTP version Preparing the data according to the operation mode l Server/client mode: IP address of the server and the VPN instance that the server...
  • Page 150: Configuring The Unicast Server/Client Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management 3.3.3 Configuring the Unicast Server/Client Mode In C/S mode, the clock on the client synchronizes with the master clock on the server. Procedure Configuring the NTP Client...
  • Page 151: Configuring The Peer Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration 3.3.4 Configuring the Peer Mode This part describes how to configure the NTP peer mode. In this mode, clocks on the two peers synchronize with each other. Each side can send the clock synchronization request message to the peer and reply the clock synchronization request message from the peer.
  • Page 152: Configuring The Broadcast Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management 3.3.5 Configuring the Broadcast Mode This part describes how to configure the NTP broadcast mode on the LAN to synchronize clocks on the LAN. Procedure Configuring an NTP Broadcast Server...
  • Page 153: Configuring The Multicast Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration The local switch is configured as an NTP broadcast client. Step 2 is optional. By default, a maximum of 100 NTP sessions can be set up dynamically.
  • Page 154: Disabling The Interface From Receiving Ntp Packets

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Run: vlan vlan-id A VLAN is created and the VLAN view is displayed. Run: interface vlanif vlan-id The interface that receives NTP multicast packets is specified. Run: ntp-service multicast-client [ ip-address ] The local switch is set to be an NTP multicast client.
  • Page 155: Optional) Setting The Maximum Number Of Dynamic Ntp Sessions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration 3.3.8 (Optional) Setting the Maximum Number of Dynamic NTP Sessions Context Do as follows on the S9300 that functions as a client. Procedure Step 1 Run: system-view The system view is displayed.
  • Page 156: Configuring Ntp Security Mechanisms

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management <Quidway> display ntp-service sessions source reference stra reach poll now offset delay disper ******************************************************************************** [12345]127.127.1.0 LOCAL(0) 15.6 note: 1 source(master),2 source(peer),3 selected,4 candidate,5 configured, 6 vpn-instance Run the display ntp-service trace command to view the summary information on each passing NTP server when tracing from the local device to the reference clock source.
  • Page 157: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration 3.4.1 Establishing the Configuration Task Before configuring NTP security mechanisms , familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 158: Setting Ntp Access Authorities

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Data Preparation To configure NTP security mechanisms, you need the following data. Data ACL rules Shared key and its ID that are used in NTP authentication NTP primary clock and its stratum...
  • Page 159: Enabling Ntp Authentication

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration Table 3-1 Description of the NTP access authorities NTP Operation Mode Limited NTP Query Supported Devices Unicast NTP server/client Synchronizing the client with Client mode the server...
  • Page 160: Configuring Ntp Authentication In Unicast Server/Client Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Step 4 Run: ntp-service reliable authentication-keyid key-id The authentication key is declared to be reliable. ----End 3.4.4 Configuring NTP Authentication in Unicast Server/Client Mode By configuring the authentication key ID used in the synchronization with the specific NTP server on the NTP client, you can apply NTP authentication in C/S mode.
  • Page 161: Configuring Ntp Authentication In Broadcast Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration The ID of the authentication key used for the synchronization of the clocks on the NAT peer is configured. ----End 3.4.6 Configuring NTP Authentication in Broadcast Mode By configuring the authentication key ID used in the synchronization with the NTP broadcast server on the local switch, you can apply NTP authentication in broadcast mode.
  • Page 162: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management ntp-service multicast-server [ authentication-keyid key-id | version number ]* The ID of the authentication key used by the NTP multicast server is configured. For configuring the multicast client, see Configuring the Broadcast Mode.
  • Page 163: Configuration Examples

    Run the following debugging commands in the user view to debug NTP and locate the fault. For the description about the debugging commands, refer to the Quidway S9300 Terabit Routing Switch Debugging Reference. Procedure...
  • Page 164: Figure 3-2 Networking Diagram For Configuring The Unicast Client/Server Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Figure 3-2 Networking diagram for configuring the unicast client/server mode VLANIF1 10.0.0.2/24 SwitchC VLANIF1 VLANIF2 VLANIF1 Network VLANIF1 2.2.2.2/24 1.0.1.11/24 10.0.0.1/24 10.0.0.3/24 SwitchA SwitchB SwitchD Configuration Roadmap The configuration roadmap is as follows: Configure Switch A as an NTP server and configure the master clock on Switch A.
  • Page 165 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration # On Switch A, set the clock as a master NTP clock with stratum being 2. <SwitchA> system-view [SwitchA] ntp-service refclock-master 2 # Enable NTP authentication on Switch A, configure the authentication key, and declare the key to be reliable.
  • Page 166 Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management After the configurations, Switch C can synchronize its clock with the clock of Switch B. Check the NTP status of Switch C, and you can view that the status of the clock is synchronized.
  • Page 167 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration ospf 1 area 0.0.0.0 network 2.2.2.0 0.0.0.255 ntp-service authentication enable ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX \#Q=^Q`MAF4<1!! ntp-service reliable authentication-keyid 42 ntp-service refclock-master 2 return Configuration file of Switch B...
  • Page 168: Example For Configuring The Common Ntp Peer Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management vlan batch 111 interface Vlanif111 ip address 10.0.0.3 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 111 port hybrid untagged vlan 111 ntp-service authentication enable ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX \#Q=^Q`MAF4<1!!
  • Page 169 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration Data Preparation To complete the configuration, you need the following data: IP address of Switch C IP address of Switch D Stratum count of the NTP master clock Procedure Step 1 Configure IP addresses for Switch C, Switch D, and Switch E.
  • Page 170 Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Check the NTP status of Switch E, and you can see that the status of the clock is synchronized. This means that the synchronization is complete. The stratum of the clock of Switch E is 4, one stratum lower than the clock stratum of Switch D.
  • Page 171: Example For Configuring Ntp Authentication In Broadcast Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration port hybrid untagged vlan 100 ntp-service unicast-peer 3.0.1.32 return 3.6.3 Example for Configuring NTP Authentication in Broadcast Mode Networking Requirements As shown in Figure 3-4, Switch C and Switch D are on the same network segment; Switch A is on another network segment;...
  • Page 172 Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management IP address of each interface IDs of VLANs to which the interfaces belong Stratum count of the NTP master clock Authentication key and key ID Procedure Step 1 Configure the IP addresses of the Switches and ensure that the routes between them are reachable.The configuration procedure is not mentioned.
  • Page 173 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration [SwitchA-Vlan20] quit [SwitchA] interface gigabitethernet 1/0/0 [SwitchA-GigabitEthernet1/0/0] port hybrid pvid vlan 20 [SwitchA-GigabitEthernet1/0/0] port hybrid untagged vlan 20 [SwitchA-GigabitEthernet1/0/0] quit [SwitchA] interface vlanif 20 [SwitchA-vlanif20] ip address 1.0.1.11 24 [SwitchA-vlanif20] quit Step 3 Configure the NTP broadcast server and enable NTP authentication.
  • Page 174 Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management because Switch A and Switch C are on different network segments and Switch A cannot receive the broadcast packets sent from Switch C. Check the NTP status of Switch D, and you can see that the status of the clock is synchronized.
  • Page 175: Example For Configuring The Common Ntp Multicast Mode

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration ntp-service refclock-master 3 return Configuration file of Switch D sysname SwitchD vlan batch 10 interface Vlanif10 ip address 3.0.1.32 255.255.255.0 ntp-service broadcast-client interface GigabitEthernet1/0/0 port hybrid pvid vlan 10...
  • Page 176: Figure 3-5 Networking Diagram For Configuring The Ntp Multicast Mode

    Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Switch A uses VLANIF 20, namely, GE1/0/0, to listen to the multicast packets. Figure 3-5 Networking diagram for configuring the NTP multicast mode GE1/0/0 VLANIF10 3.0.1.31/24 GE1/0/0...
  • Page 177 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration <SwitchD> system-view [SwitchD] vlan 10 [SwitchD-Vlan10] quit [SwitchD] interface gigabitethernet 1/0/0 [SwitchD-GigabitEthernet1/0/0] port hybrid pvid vlan 10 [SwitchD-GigabitEthernet1/0/0] port hybrid untagged vlan 10 [SwitchD-GigabitEthernet1/0/0] quit [SwitchD] interface vlanif 10 [SwitchD-Vlanif10] ip address 3.0.1.32 24...
  • Page 178 Quidway S9300 Terabit Routing Switch 3 NTP Configuration Configuration Guide - Network Management Step 5 Configure Switch A, which resides on different network segment from the server. # Configure Switch A as the NTP multicast client and configure Switch A to sense NTP multicast packets through VLANIF20.
  • Page 179 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 3 NTP Configuration interface Vlanif10 ip address 3.0.1.31 255.255.255.0 ntp-service multicast-server interface GigabitEthernet1/0/0 port hybrid pvid vlan 10 port hybrid untagged vlan 10 return Configuration file of Switch D sysname SwitchD...
  • Page 181: Lldp Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration LLDP Configuration About This Chapter This chapter describes the concepts, configuration procedures, and configuration examples of the Link Layer Discovery Protocol (LLDP). 4.1 Introduction to LLDP This section describes the background and principle of the LLDP.
  • Page 182: Introduction To Lldp

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management 4.1 Introduction to LLDP This section describes the background and principle of the LLDP. Background Currently, the Ethernet technology is widely used in Local Area Networks (LANs) and Metropolitan Area Networks (MANs).
  • Page 183: Configuring Lldp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration The LLDP remote system MIB stores information about neighbor stations, including the chassis ID, interface number, system name, system description, interface description, system capability, and management address.
  • Page 184 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management 4.3.3 Enabling LLDP Globally When the switches are enabled with LLDP, the switches notify the neighbors of their status and obtain the status of the neighbors by exchanging LLDP packets. The NMS can obtain the status information about Layer 2 connection on the switch, and then analyze the network topology.
  • Page 185: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration 4.3.1 Establishing the Configuration Task Applicable Environment The LLDP function is used to obtain neighbor information and discover the topology. As shown Figure 4-1, you can configure LLDP on Switch A and Switch B. Then, Switch A and Switch B exchanges status information, and thus the NMS can collect the topology information about Switch A and Switch B.
  • Page 186: Optional) Enabling The Lldp Trap Function

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management Data Preparation To configure LLDP, you need the following data. Data IP address used as the management address of LLDP Interval for sending LLDP packets Delay for sending LLDP packets...
  • Page 187: Optional) Disabling Lldp On An Interface

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: lldp enable LLDP is enabled globally. ----End 4.3.4 (Optional) Disabling LLDP on an Interface When LLDP is enabled globally on an switch, all the interfaces are enabled with LLDP by default.
  • Page 188: Optional) Setting The Interval For Sending Lldp Packets

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management The system view is displayed. Step 2 Run: lldp management-address ip-address The management address of LLDP is configured. The IP address to be configured as the management address must exist. It is recommended that you use the IP address of the MEth interface as the LLDP management address.
  • Page 189: Optional) Setting The Delay For Sending Lldp Packets

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration By default, the interval for sending LLDP packets is 30 seconds. ----End 4.3.7 (Optional) Setting the Delay for Sending LLDP Packets The delay for sending LLDP packets is the minimum delay for the interface module to send the LLDP packets to the neighbor stations when the status of the device changes frequently.
  • Page 190: Optional) Setting The Time Multiplier Of Device Information Held In Neighbor Stations

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management 4.3.8 (Optional) Setting the Time Multiplier of Device Information Held in Neighbor Stations By using this function, you can set the validity period of device information stored on the neighbor stations.
  • Page 191: Optional) Setting The Delay For Sending The Traps Of Neighbor Changes

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration The delay for re-enabling LLDP on an interface is set. The default delay is 2 seconds. When LLDP is disabled, you can re-enable LLDP on an interface after the delay.
  • Page 192 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: lldp tlv-enable { basic-tlv { all | management-address | port-description | system-...
  • Page 193: Checking The Configuration

    :00e0-11fc-1710 System name :Quidway System description :Quidway S9300 Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S9300 V100R003C00B042) Copyright (c) 2003-2010 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge LLDP Up time :2009/2/13 11:40:49...
  • Page 194 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management Management Address :IP: 127.0.0.1 Remote Table Statistics: Remote Table Last Change Time :0 days, 5 hours, 57 minutes, 32 seconds Remote Neighbors Added Remote Neighbors Deleted Remote Neighbors Dropped...
  • Page 195 :HUAWEI, Quidway Series, Interface System name :Quidway System description :Quidway S9300 Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S9300 V100R003C00B042) Copyright (c) 2003-2010 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge Management address type :ipV4 Management address : 127.0.0.1...
  • Page 196: Maintaining Lldp

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management <Quidway> display lldp neighbor brief Local Intf Neighbor Dev Neighbor Intf Exptime GE1/0/3 S9303-203 GE1/0/6 GE1/0/6 S9303-203 GE1/0/3 4.4 Maintaining LLDP This section describes how to debug and monitor the LLDP function and how to clear the statistics of LLDP.
  • Page 197: Figure 4-2 Networking Diagram For Configuring Lldp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration Switch A and Switch B need to obtain the status of each other through the LLDP protocol and the NMS should locate Switch A and Switch B based on the management addresses to discover the network topology.
  • Page 198 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management # Configure Switch B. <Quidway> system-view [Quidway] sysname SwitchB [SwitchB] snmp-agent trap enable feature-name lldptrap Step 2 Enable LLDP globally on Switch A and Switch B. # Configure Switch A.
  • Page 199 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration MED system information Device class :Network Connectivity (MED inventory information of master board) HardwareRev :LE02SRUA VER.A FirmwareRev SoftwareRev :Version 5.70 V100R003C00B042 SerialNum Manufacturer name :NA Model name...
  • Page 200 :HUAWEI, Quidway Series, GigabitEthernet1/0/1 Interface System name :SwitchB System description :Quidway S9303 Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.50 (S9300 V100R003C00B042) Copyright (c) 2003-2009 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge Management address type :ipV4 Management address : 10.10.10.2...
  • Page 201 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration VLAN tagged Media policy VlanID Media policy L2 priority :0 Media policy Dscp Power Type :Unknown PoE PSE power source :Unknown Port PSE Priority :Unknown Port Available power value:0 l Check the configuration of Switch B.
  • Page 202: Example For Configuring Lldp When An Eth-Trunk Is Used On A Network

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management 4.5.2 Example for Configuring LLDP When an Eth-Trunk Is Used on a Network Networking Requirements As shown in Figure 4-3, Switch A and Switch B are connected through the Eth-Trunk. On each switch, three interfaces are added to the Eth-Trunk.
  • Page 203 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration See the configuration of Switch A. Step 2 Configure the management addresses of Switch A and Switch B so that the NMS can identify the switchs. # Configure Switch A.
  • Page 204 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management S9303 Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S9300 V100R003C00B042) Copyright (c) 2003-2009 Huawei Technologies Co., System capabilities supported :bridge System capabilities enabled :bridge...
  • Page 205 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration PSE power supported PSE power enabled PSE pairs control ability:No Power pairs :Unknown Port power classification:Unknown Link aggregation supported:No Link aggregation enabled :No Aggregation port ID Maximum frame Size...
  • Page 206 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management [SwitchA] display lldp local interface gigabitethernet 1/0/2 Interface GigabitEthernet1/0/2: LLDP Enable Status :enabled (default is disabled) Total Neighbors Port ID subtype :interfaceName Port ID :GigabitEthernet1/0/2 Port description...
  • Page 207: Example For Configuring Lldp When An Interface Has Multiple Neighbors

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration Configuration Files Configuration file of Switch A sysname SwitchA interface Ethernet0/0/0 ip address 10.10.10.1 255.255.255.0 lldp enable interface Eth-Trunk1 interface GigabitEthernet1/0/1 eth-trunk 1 interface GigabitEthernet1/0/2 eth-trunk 1...
  • Page 208: Figure 4-4 Networking Diagram For Configuring Lldp When An Interface Has Multiple Neighbors

    Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management Figure 4-4 Networking diagram for configuring LLDP when an interface has multiple neighbors SwitchD SwitchF LLDPDU SwitchE 10.10.10.1 10.10.10.2 10.10.10.3 SwitchA SwitchB SwitchC LLDP interface SNMP packet...
  • Page 209 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 4 LLDP Configuration See the configuration of Switch A. # Configure Switch C. See the configuration of Switch A. Step 2 Configure the management addresses of Switch A, Switch B, and Switch C.
  • Page 210 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management LLDP Notification Enable :enabled (default is disabled) Management Address :IP: 10.10.10.1 Remote Table Statistics: Remote Table Last Change Time :0 days, 0 hours, 0 minutes, 0 seconds...
  • Page 211 :HUAWEI, Quidway Series, GigabitEthernet1/0/1 Interface System name :SwitchD System description :Quidway S9303 Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.50 (S9300 V100R003C00B042) Copyright (c) 2003-2009 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge Management address type :ipV4 Management address : 10.10.10.4...
  • Page 212 Quidway S9300 Terabit Routing Switch 4 LLDP Configuration Configuration Guide - Network Management Configuration Files Configuration file of Switch A sysname SwitchA interface Ethernet0/0/0 ip address 10.10.10.1 255.255.255.0 lldp enable lldp management-address 10.10.10.1 return Configuration file of Switch B sysname SwitchB interface Ethernet0/0/0 ip address 10.10.10.2 255.255.255.0...
  • Page 213: Ping And Tracert

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 5 Ping and Tracert Ping and Tracert About This Chapter This chapter describes basic concepts and applications of the ping and tracert commands. 5.1 Ping The ping command is used to check network connectivity and host reachability. The word "ping"...
  • Page 214: Ping

    Quidway S9300 Terabit Routing Switch 5 Ping and Tracert Configuration Guide - Network Management 5.1 Ping The ping command is used to check network connectivity and host reachability. The word "ping" is derived from the sonar operation, indicating a pulse of sound.
  • Page 215: Performing Ping And Tracert Operations

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 5 Ping and Tracert The S9300 implements tracert based on ICMP. Tracert records the gateways that the ICMP message passes along the path between a source host and a destination. In this manner, you can check network connectivity and locate the fault.
  • Page 216: Establishing The Configuration Task

    Network connectivity is tested. Only some of the parameters are specified in the preceding ping command. For details on more parameters, refer to the Quidway S9300 Terabit Routing Switch Command Reference. The output of the ping command is as follows: l Response to each ICMP Echo Request message: If no Echo Reply message is received within a certain period, a message of "Request time out"...
  • Page 217: Locating Faults On The Network Through The Tracert Operation

    Only some of the parameters are specified in the preceding tracert command. For details on more parameters, refer to the Quidway S9300 Terabit Routing Switch Command Reference. The output of the tracert command displays a list of gateways traversed between the source and the destination hosts.
  • Page 218: Debugging Ping And Tracert

    Quidway S9300 Terabit Routing Switch 5 Ping and Tracert Configuration Guide - Network Management 5.4 Debugging Ping and Tracert This section describes how to locate faults through ICMP messages. Context CAUTION Debugging affects the performance of the system. After debugging, run the undo debugging all command to disable it immediately.
  • Page 219 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 5 Ping and Tracert Configuration Roadmap The configuration roadmap is as follows: Run the ping command on Switch A to check the connectivity between Switch A and the log host.
  • Page 220 Quidway S9300 Terabit Routing Switch 5 Ping and Tracert Configuration Guide - Network Management between Switch B and Router is recovered, you can repeat Step 1 and Step 2 to ensure that Switch A and the log host can communicate properly.
  • Page 221: Nqa Configuration

    Generally, the NQA commands can be run on a new S9300, but the NQA function cannot take effect. To make the NQA function of an S9300 effective, contact the Huawei regional office to buy the license. 6.1 Introduction to NQA This part describes basic concepts and functions of NQA.
  • Page 222 6.14 Configuring the Jitter Test This section describes how to configure a jitter test to check jitter on the network. You can perform a jitter test only when both the client and the server are Huawei devices. 6.15 Configuring the MAC Ping Test This section describes how to perform the MAC ping test with NQA.
  • Page 223 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration This section describes how to configure an MTrace test to check the RPF path from the multicast source to the destination host. 6.24 Configuring the NQA MTrace Test to Check the Multicast Path from the Multicast Source...
  • Page 224 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.37 Configuration Examples This section provides several configuration examples of NQA. Huawei Proprietary and Confidential Issue 03 (2010-09-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 225: Introduction To Nqa

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.1 Introduction to NQA This part describes basic concepts and functions of NQA. With the development of value-added services, users and carriers demand higher Quality of Service (QoS). After voice over IP and video over IP services are carried out, carriers and users all tend to sign Service Level Agreements (SLAs) to realize QoS guaranteed services.
  • Page 226: Nqa Server And Nqa Clients

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.3 NQA Server and NQA Clients This part describes the relationships between NQA client, NQA server, and NQA test instance. NQA test instance and NQA Client NQA can be used to test many items. You must create a test instance for each item and each of these test instances is a type of NQA test.
  • Page 227 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Features Provided by NQA Cooperates with the NM Station: – The NM Station can completely manage all NQA functions. – Supports the NQA MIB. – Supports the Disman-traceroute-MIB.
  • Page 228: Configuring The Icmp Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management – Supports three modes of starting tests: immediate, timely, and delayed. – Supports several modes of ending tests: automatic, immediate, timely, delayed, and ending the test when the lifetime of the test expires.
  • Page 229: Configuring Icmp Test Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Preparation To configure the ICMP test, you need the following data. Data Administrator name and test name of the NQA test Destination IP address (Optional) Virtual Private Network (VPN) instance name, source interface that sends...
  • Page 230: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management source-address ipv4 ip-address equals the "-a" option in the ping command. l To configure the size (packet header excluded) of the Echo-Request packet, run the datasize size command.
  • Page 231: Configuring The Ftp Download Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Context NOTE NQA test results cannot be displayed automatically on a terminal. You must run the display nqa results command to view test results. By the default, the command output contains the records about only the last five test results.
  • Page 232: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.6.1 Establishing the Configuration Task Before configuring an FTP download test, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 233 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed. Step 3 Run: test-type ftp The test type is set to FTP.
  • Page 234: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Select the start mode as required because the start command has several forms. l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 235: Configuring The Ftp Upload Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration DataConnTime Min/Max/Average: 218/218/218 SumTime Min/Max/Average: 656/656/656 Average RTT:380 Lost packet ratio: 0 % 6.7 Configuring the FTP Upload Test This section describes how to configure an FTP upload test to check the FTP upload performance.
  • Page 236: Configuring The Ftp Upload Test Parameters

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data FTP user name and password (Optional) Source IP address of the FTP operation and VPN instance name and source and destination port numbers of the FTP operation...
  • Page 237: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The FTP operation type is set to Put. By default, the FTP operation type is Get. Step 7 Run: ftp-username name The FTP user name is configured.
  • Page 238: Configuring The Http Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Prerequisite The configurations of the FTP Upload Test function are complete. Context NOTE NQA test results cannot be displayed automatically on a terminal. You must run the display nqa results command to view test results.
  • Page 239: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.8.1 Establishing the Configuration Task Before configuring an HTTP test, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 240 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test is created and the view is displayed.
  • Page 241 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 242: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management DNSServerTimeout:0 TCPConnectTimeout:0 TransactionTimeout: 0 Lost packet ratio:0% 6.9 Configuring the DNS Test This section describes how to configure a Domain Name System (DNS) test to check the DNS resolution speed.
  • Page 243: Configuring The Dns Test Parameters

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.9.2 Configuring the DNS Test Parameters This part describes how to set DNS test parameters. Context Do as follows on the NQA client (DNS client): Procedure Step 1 Run system-view The system view is displayed.
  • Page 244: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management The test instance is started after a certain delay. ----End 6.9.3 Checking the Configuration After configuring the DNS test, you can view the test result. Prerequisite The configurations of the DNS Test function are complete.
  • Page 245: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.10.3 Checking the Configuration After configuring the traceroute test, you can view the test result. 6.10.1 Establishing the Configuration Task Before configuring a traceroute test, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 246: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management An NQA test instance is created and the test instance view is displayed. Step 3 Run: test-type trace The test type is set to Traceroute. Step 4 Run: destination-address ipv4 ip-address The destination address of the Traceroute test is configured.
  • Page 247: Configuring The Snmp Query Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Context NOTE NQA test results cannot be displayed automatically on a terminal. You must run the display nqa results command to view test results. By the default, the command output contains the records about only the last five tests.
  • Page 248: Configuring The Snmp Query Test Parameters

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Applicable Environment Through the SNMP Query test, you can obtain the statistics of the communication between hosts and SNMP agents. Pre-configuration Tasks Before configuring the SNMP Query test, complete the following tasks:...
  • Page 249: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The destination IP address, that is, the IP address of the SNMP agent, is configured. NOTE The SNMP function must be enabled on the destination host; otherwise, the destination host fails to receive Echo packets.
  • Page 250: Configuring The Tcp Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Run the display nqa results [ test-instance admin-name test-name ] command to view the test results on the NQA client. ----End Example Run the display nqa results command. If the test is successful, the following is displayed.
  • Page 251: Configuring The Tcp Server

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Pre-configuration Tasks Before configuring the TCP test, configure reachable routes between the NQA client and the TCP server. Data Preparation To configure the TCP test, you need the following data.
  • Page 252 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Context Do as follows on the NQA client (TCP client): Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 253 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l To perform the NQA test after a certain delay period, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 254: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management <Quidway> display nqa-server NQA Server Max: 5000 NQA Server Num: 1 NQA Concurrent TCP Server : 1 NQA Concurrent UDP Server: 0 nqa-server tcpconnect 10.112.58.3 2000 ACTIVE 6.13 Configuring the UDP Test...
  • Page 255: Configuring The Udp Server

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data (Optional) Source IP addresses and source port numbers of test packets, interval for sending test packets, and percentage of the failed NQA tests Start mode and end mode of the test 6.13.2 Configuring the UDP Server...
  • Page 256: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management test-type udp The test type is set to UDP. Step 4 Run: destination-address ipv4 ip-address The destination IP address is configured. Step 5 Run: destination-port port-number The destination port number is configured.
  • Page 257: Configuring The Jitter Test

    6.14 Configuring the Jitter Test This section describes how to configure a jitter test to check jitter on the network. You can perform a jitter test only when both the client and the server are Huawei devices. 6.14.1 Establishing the Configuration Task Before configuring a jitter test, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 258: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.14.4 Checking the Configuration After configuring the jitter test, you can view the test result. 6.14.1 Establishing the Configuration Task Before configuring a jitter test, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 259: Configuring The Jitter Server

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data (Optional) VPN instance name, source IP address and port number of the probe packet sent by the UDP client, number of probe packets and test packets sent each time,...
  • Page 260 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 2 (Optional) To configure the version number of Jitter packets, run the nqa-jitter tag-version version-number command in the system view. If Version 2 is adopted, after collecting the packet loss across a uni-directional link is enabled, you can find the packet loss across the link from the source to the destination (or from the destination to the source or from an unknown direction).
  • Page 261: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration This command is applied only to Jitter voice test cases. l To configure the advantage factor for simulated voice test calculation, run the adv-factor factor-value command. This command is applied only to Jitter voice test cases.
  • Page 262: Configuring The Mac Ping Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NQA entry(admin, jitter) :testflag is inactive ,testtype is jitter 1 . Test 1 result The test is finished SendProbe:60 ResponseProbe:60 Completion:success RTD OverThresholds number:0 OWD OverThresholds SD number:0...
  • Page 263: Setting Parameters For The Mac Ping Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Manager and name of the NQA test instance Destination MAC address of the NQA test instance Maintenance domain (MD) and maintenance association (MA) of the NQA test...
  • Page 264: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management The percentage of failed NQA tests is set. Step 8 Run: start The NQA test is started. Select the start mode as required because the start command has several forms.
  • Page 265: Configuring The Lsp Ping Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Max Negative SD:0 Max Negative DS:0 Negative SD Number:0 Negative DS Number:0 Negative SD Sum:0 Negative DS Sum:0 Negative SD Square Sum :0 Negative DS Square Sum :0...
  • Page 266: Configuring The Lsp Ping Test Parameters For The Ldp Tunnel

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NQA creates an MPLS Echo-Request packet and adds the address 127/8 to the IP header as the destination IP address. The packet is forwarded along the specified LSP in the MPLS network.
  • Page 267 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Step 3 Run: test-type lspping The test type is set to LSP Ping. Step 4 Run: lsp-type ipv4 The tunnel type is set to be the LSP tunnel.
  • Page 268: Configuring The Lsp Ping Test Parameters For The Mpls Te Tunnel

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management l To perform the NQA test after a certain delay period, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 269: Configuring The Lsp Ping Test Parameters For The Cr-Lsp Hotstandby Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration NOTE The sum of the data size and the size of the packet header must be less than the MTU of the interface; otherwise, the test may fail.
  • Page 270 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management An NQA test instance is created and the test instance view is displayed. Step 3 Run: test-type lspping The test type is set to be LSP Ping.
  • Page 271: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l To perform the NQA test after a certain period of delay, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 272: Configuring The Lsp Jitter Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Send operation times: 3 Receive response times: 3 Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0...
  • Page 273: Configuring The Lsp Jitter Test Parameters For The Ldp Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name l For the LSP tunnel: destination IP address and mask of the LSP Ping test l For the MPLS TE tunnel: interface number of the TE tunnel...
  • Page 274: Configuring The Lsp Jitter Test Parameters For The Mpls Te Tunnel

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NOTE In a uni-directional LSP Ping test, if the lsp-replymode no-reply command is configured, the test result displays that the test fails regardless of whether the test, actually, is successful or fails. If the test is successful, the test result also displays the number of the timeout packets.
  • Page 275 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 276: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ] command.
  • Page 277: Configuring The Lsp Traceroute Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration – Number of successful tests – Sum of the response time of all tests – RTT square sum – Minimum RTT and maximum RTT of the packet –...
  • Page 278 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Applicable Environment The NQA LSP Traceroute test can be used to test the tunnel nodes of the following types of LSPs and collect statistics about LSA. LSP tunnels...
  • Page 279: Configuring The Lsp Traceroute Parameters For The Ldp Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.18.2 Configuring the LSP Traceroute Parameters for the LDP Tunnel This part describes how to set parameters for an LDP LSP traceroute test. Context Do as follows on the NQA client:...
  • Page 280: Configuring Lsp Traceroute Test Parameters For The Mpls Te Tunnel

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management The NQA test is started. Select the start mode as required because the start command has several forms. l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ] command.
  • Page 281: Configuring The Lsp Traceroute Test Parameters For The Cr-Lsp Hotstandby Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Step 6 (Optional) Perform the following as required to configure other parameters for the LSP Traceroute test: l To configure the source IP address, run the source-address ipv4 ip-address command.
  • Page 282 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed. Step 3 Run: test-type lsptrace The test type is set to be LSP Traceroute.
  • Page 283: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l To perform the NQA test after a certain period of delay, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 284: Configuring An Icmp Jitter Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Stats errors number:0 Drop operation number:0 Last good path Time:2009-4-24 11:22:21.2 1 .
  • Page 285: Configuring Parameters For The Icmp Jitter Test

    Through this setting, the actual traffic of a kind of packet during a time period can be simulated. If the server is a non-Huawei device, you can test the jitter of the network by configuring an ICMP jitter test instance.
  • Page 286 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 4 Run: test-type icmpjitter The type of the test instance is configured as ICMP jitter. Step 5 Run: destination-address ipv4 ip-address The destination IP address is configured.
  • Page 287: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Select the start mode as required because the startcommand has several forms. l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 288: Configuring A Path Jitter Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Negative SD Number:14 Negative DS Number:19 Negative SD Sum:152 Negative DS Sum:22 Negative SD Square Sum :2796 Negative DS Square Sum :34 Min Delay SD:1 Min Delay DS:0...
  • Page 289: Configuring Parameters For The Path Jitter Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data (Optional) Name of a VPN instance, source IP address , number of test probes sent each time, number of test packets sent each time, interval for sending test packets,...
  • Page 290: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management l Run: jitter-packetnum number The number of test packets to be sent during each test is set. NOTE The probe-count command is used to configure the number of times for the jitter test and the jitter- packetnum command is used to configure the number of test packets sent during each test.
  • Page 291 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run the display nqa results [ test-instance admin-name test-name ] command to check test results on the NQA client. ----End Example If the path jitter test succeeds, you can view the following information by running the display nqa results command.
  • Page 292: Configuring The Nqa Mtrace Test To Check The Rpf Path From The Multicast Source To The Querier

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.21 Configuring the NQA MTrace Test to Check the RPF Path from the Multicast Source to the Querier This section describes how to configure a Multicast Traceroute (MTrace) test to check the Reserved Path Forwarding (RPF) path from the multicast source to the querier.
  • Page 293: Creating An Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Preparation To configure the MTrace test, you need the following data. Data IP address of the multicast source Name of the NQA test (Optional) TTL value of the IGMP Tracert-Request packet, Maximum number of...
  • Page 294: Optional) Adjusting The Performance Of The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Context Do as follows on the switch with the NQA MTrace test instance being created: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name The test instance view is displayed.
  • Page 295: Starting The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration ttl number The TTL value, that is, the maximum hops traced in max-hop mode is set for the IGMP Tracert- Request packet. Step 4 Run: tracert-livetime first-ttl first-ttl max-ttl max-ttl The maximum hops traced in hop-by-hop mode is set.
  • Page 296: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management start now The NQA MTrace test is started. Step 4 Run: quit Exit from the test instance view. ----End 6.21.6 Checking the Configuration After performing the MTrace test for the RPF path from the multicast source to the querier, you can view the test result.
  • Page 297: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Before configuring an MTrace test for the multicast path from the multicast source to the querier, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 298: Creating An Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Name of the test instance IP address of the multicast source Multicast group address VPN instance 6.22.2 Creating an NQA MTrace Test This part describes how to configure an MTrace instance before performing the MTrace test for the multicast path from the multicast source to the querier.
  • Page 299: Optional) Adjusting The Performance Of The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name The test instance view is displayed. Step 3 Run: mtrace-source-address ipv4 ip-address The address of the multicast source is specified.
  • Page 300: Starting The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management ttl number The TTL value, that is, the maximum hops traced in max-hop mode is set for the IGMP Tracert- Request packet. Step 4 Run: tracert-livetime first-ttl first-ttl max-ttl max-ttl The maximum hops traced in hop-by-hop mode is set.
  • Page 301: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration start now The NQA MTrace test is started. Step 4 Run: quit Exit from the test instance view. ----End 6.22.6 Checking the Configuration After performing the MTrace test for the multicast path from the multicast source to the querier, you can view the test result.
  • Page 302: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Before configuring an MTrace test for the RPF path from the multicast source to the destination host, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 303: Creating An Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Name of the test instance IP address of the multicast source IP address of the destination host (Optional)VPN instance 6.23.2 Creating an NQA MTrace Test This part describes how to configure an MTrace instance before performing the MTrace test for the RPF path from the multicast source to the destination host.
  • Page 304: Optional) Adjusting The Performance Of The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NOTE The querier must meet either of the following conditions: l Connected to the destination host l Pinging through the destination host or the last-hop switch Procedure...
  • Page 305 Step 7 Run: mtrace-last-hop-address ipv4 ip-address The IP address of the last-hop switch is specified. If non-Huawei devices are deployed in the multicast network, this step is mandatory. Step 8 Run: source-address ipv4 ip-address The source IP address of the IGMP Tracert-Request packet is configured. The address must be the address of the local interface.
  • Page 306: Starting The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Exit from the test instance view. ----End 6.23.5 Starting the NQA MTrace Test This part describes how to start the MTrace test instance to perform the MTrace test for the RPF path from the multicast source to the destination host.
  • Page 307: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration system-view The system view is displayed. Step 2 Run: mtrace query-policy [ acl-number ] The policy for filtering queriers is configured. acl-number defines the address range for reliable queriers. Based on the specified ACL, the last- hop switch rejects the IGMP Tracert-Request packets sent by unauthorized queriers.
  • Page 308: Configuring The Nqa Mtrace Test To Check The Multicast Path From The Multicast Source To The Destination Host

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.24 Configuring the NQA MTrace Test to Check the Multicast Path from the Multicast Source to the Destination Host This section describes how to configure an MTrace test to check the multicast path from the multicast source to the destination host.
  • Page 309: Creating An Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration This test provides the following functions: It can be used in multicast troubleshooting and routine maintenance to locate the faulty nodes and reduce configuration errors. It collects traffic through cyclic path tracing and calculates the multicast traffic rate.
  • Page 310: Configuring Parameters For The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 4 Run: quit Exit from the test instance view. ----End 6.24.3 Configuring Parameters for the NQA MTrace Test This part describes how to set parameters for the MTrace test for the multicast path from the multicast source to the destination host.
  • Page 311: Optional) Adjusting The Performance Of The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The MTrace query type is specified. Correctly specifying the query type based on the network situations helps to promptly and accurately trace the path. If the query type is not specified, the system uses multicast-tree, by default.
  • Page 312: Starting The Nqa Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name The test instance view is displayed. Step 3 Run: ttl number The TTL value, that is, the maximum hops traced in max-hop mode is set for the IGMP Tracert- Request packet.
  • Page 313: Setting Policies For Filtering Queriers

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Context Do as follows on the switch that functions as the NQA client: NOTE The start mode of the MTrace test is the same as that of other NQA tests. Here, take one mode as an example.
  • Page 314: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NOTE l This command takes effect only on the last hop switch, and the querier is not the last hop switch. l This command filers only the IGMP-Tracert-Query packets encapsulated in unicast IP packets.
  • Page 315: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Before configuring a PWE3 ping test for a single-hop PW, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 316 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 317: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l To perform the NQA test after a certain delay period, run the start delay { seconds second | hh:mm:ss } [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ] command.
  • Page 318: Configuring The Pwe3 Ping Test To Check The Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 1 . Test 1 result The test is finished Send operation times: 3 Receive response times: 3 Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0...
  • Page 319: Configuring Parameters For The Pwe3 Ping Test On A Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Type of the PW (Optional) Response mode of the Echo packets, LSP EXP, maximum hops, number of probes, TTL value, and timeout period of the packets...
  • Page 320: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NOTE l When label-type is set to control-word, run the remote-pw-id remote-pw-id command to configure the ID of the remote end of the PW. l When label-type is set to label-alert, run the destination-address ipv4 ip-address { lsp-masklen mask-length | lsp-loopback loopback-address }* command to configure the destination IP address to the tested.
  • Page 321: Configuring The Pwe3 Trace Test To Check The One-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run the display nqa results command to view the test results on the NQA client. ----End Example Run the display nqa results command. If the test is successful, the following is displayed.
  • Page 322: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.27.2 Configuring Parameters for the PWE3 Trace Test on a One-Hop PW This part describes how to set PWE3 trace test parameters for a single-hop PW. 6.27.3 Checking the Configuration After performing the PWE3 trace test for a single-hop PW, you can view the test result.
  • Page 323 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 324: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management l To perform the NQA test at the specified time, run the start at [ yyyy/mm/dd ] hh:mm:ss [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } ] command.
  • Page 325: Configuring The Pwe3 Trace Test To Check The Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration – Minimum RTT and maximum RTT of the packet – Destination IP address and the type of the destination IP address – Number of the Echo packets and the sent packets –...
  • Page 326: Configuring Parameters For The Pwe3 Trace Test On A Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Preparation To configure the PWE3 Trace test on a multi-hop PW, you need the following data. Data ID of the local end of the PW ID or IP address of the remote end of the PW...
  • Page 327: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Step 6 (Optional) Run: label-type { control-word | label-alert | normal} The type of the PW label is configured. NOTE l When label-type is set to control-word, run the remote-pw-id remote-pw-id command to configure the ID of the remote end of the PW.
  • Page 328 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Prerequisite The configurations of the PWE3 Trace Test function are complete. Context NOTE NQA test results cannot be displayed automatically on a terminal. You must run the display nqa results command to view test results.
  • Page 329: Configuring An Nqa Test Group

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Last Good Probe Time: 2009-2-28 10:58:35.4 Destination ip address:3.14.99.3 Lost packet ratio: 0 % 2 . Hop 2 Send operation times: 3 Receive response times: 3 Min/Max/Average Completion Time: 7/9/8...
  • Page 330: Configuring An Nqa Test Group

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Administrator name and name of the test group Administrator names and test names of the test members (Optional) Test period of the test group Start mode and end mode of the test 6.29.2 Configuring an NQA Test Group...
  • Page 331: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Step 8 Run: quit Return to the system view. Step 9 Run: nqa test-instance admin-name test-name The view of the created test group is displayed. Step 10 (Optional) Run: group-testperiod period The test period of the test group is configured.
  • Page 332: Configuring Universal Nqa Test Parameters

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Run the display nqa results [ test-instance admin-name test-name ] command to view the test results on the NQA client. Run the display nqa-agent [ admin-name test-name ] [ verbose ] to view the status of the test instance configured on the NQA client.
  • Page 333: Configuring Universal Parameters For The Nqa Test Instance

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Commonly, the default configurations of the universal parameters are adopted. Pre-configuration Tasks Before configuring universal NQA parameters, create NQA tests correctly. 6.30.2 Configuring Universal Parameters for the NQA Test Instance This part describes the application of each parameter in the NQA test instance.
  • Page 334 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management l Run: description string The description is configured for the NQA test instance. l Run: destination-address ipv4 ip-address The destination IP address is set for the NQA test instance.
  • Page 335 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration NOTE The size of the file can be configured only for the FTP test instance. l Run: ftp-operation { get | put } The operation type is configured for the FTP test instance.
  • Page 336 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management local-pw-type local-pw-type The PW type is set for the local device. NOTE This parameter can be configured only for PWE3 Ping and PWE3 Trace test instances. If the signaling protocol of the tunnel is BGP, this parameter is always ethernet for PWE3 Trace instances and cannot be changed.
  • Page 337 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration l Run: mtrace-query-type { all-router | last-hop | destination | multicast-tree } The query type, namely, the mode in which IGMP Tracert Response messages are sent, is configured for the MTrace test instance.
  • Page 338 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management NOTE This parameter cannot be configured for Path Jitter and MTrace test instances. l Run: source-address ipv4 ip-address The source IP address is set for the NQA test instance.
  • Page 339: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The lifetime is set for the Trace test instance. NOTE This parameter can be configured only for Trace, LSP Trace, MTrace, Path Jitter and PWE3 Trace test instances.
  • Page 340: Configuring Round-Trip Delay Thresholds

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.31 Configuring Round-Trip Delay Thresholds This section describes how to set a round-trip delay transmission threshold in an NQA test instance. 6.31.1 Establishing the Configuration Task Before setting a round-trip transmission delay threshold, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 341: Configuring Round-Trip Delay Thresholds

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.31.2 Configuring Round-Trip Delay Thresholds This part describes how to set a round-trip transmission delay threshold. When the transmission duration exceeds the threshold, a trap message is sent to the Network Management System (NMS).
  • Page 342: Configuring Uni-Directional Transmission Delay Thresholds

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management nqa test-instance admin jitter test-type jitter destination-address ipv4 100.1.1.201 destination-port 80 threshold rtd 2000 send-trap rtd nqa status : normal 6.32 Configuring Uni-directional Transmission Delay Thresholds This section describes how to set a one-way transmission delay threshold in an NQA test instance.
  • Page 343: Configuring Uni-Directional Transmission Delay Thresholds

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name Uni-directional transmission delay threshold 6.32.2 Configuring Uni-directional Transmission Delay Thresholds This part describes how to set a one-way transmission delay threshold. When the transmission duration exceeds the threshold, a trap message is sent to the NMS.
  • Page 344: Configuring The Trap Function

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Run the display nqa-agent [ admin-name test-name ] [ verbose ] to view the status of the test instance configured on the NQA client.
  • Page 345: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.33.1 Establishing the Configuration Task Before configuring the trap function, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately.
  • Page 346: Sending Trap Messages When Test Failed

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Administrator name and test name NQA events that trigger the trap function l (Optional) Number of test failures that trigger sending a trap message l (Optional) Number of probe failures that trigger sending a trap message 6.33.2 Sending Trap Messages When Test Failed...
  • Page 347: Sending Trap Messages When Probes Are Complete

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed. Step 3 Run: send-trap probefailure Sending trap messages when probes fail is enabled.
  • Page 348: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 349: Configuring Test Results To Be Sent To The Ftp Server

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.34 Configuring Test Results to Be Sent to the FTP Server This section describes how to configure the system to send test results to the FTP server to avoid loss of test results in the event that the NMS does not poll the test result in time.
  • Page 350: Configuring Parameters For Connecting The Ftp Server

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Pre-configuration Tasks Before configuring test results to be sent to the FTP server, complete the following tasks: Configuring the FTP server Configuring a reachable route between the NQA client and the NM station...
  • Page 351: Enabling The Function Of Saving Nqa Test Results Through Ftp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration The password for logging into the FTP server is configured. Step 5 Run: nqa-ftp-record filename filename The file name used for saving test results is configured. ----End 6.34.3 Enabling the Function of Saving NQA Test Results Through...
  • Page 352: Optional) Configuring The Duration Of Saving Test Results Through Ftp

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.34.5 (Optional) Configuring the Duration of Saving Test Results Through FTP Each time, the system can send two test results to the FTP server. If the FTP server cannot continue to write the file after being interrupted, a new file is created on the FTP server for the test results sent each time.
  • Page 353: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Context Do as follows on the NQA client: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run the nqa test-instance admin-name test-name command, enter the NQA test instance view.
  • Page 354: Configuring A Threshold For The Nqa Alarm

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management <Quidway> display nqa-ftp-record configuration ---------------NQA FTP SAVE RECORD CONFIGURATION--------------- FUNCTION: ENABLE TRAP: DISABLE IP-ADDRESS:11.1.1.8 VPN-INSTANCE: USERNAME:wang PASSWORD:123 FILENAME:icmp ITEM-NUM:10010 TIME:2 LAST FINISHED FILENAME:icmp20080605-150350.txt 6.35 Configuring a Threshold for the NQA Alarm This section describes how to set an alarm threshold for test results.
  • Page 355: Configuring The Event Corresponding To The Alarm Threshold

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Data Preparation To configure the threshold for the NQA alarm, you need the following data. Data Number of the event corresponding to the threshold Number of the alarm threshold...
  • Page 356: Starting The Test Instance

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 2 Run: nqa test-instance admin-name test-name The test instance view is displayed. Step 3 Run: alarm entry-number { lost-packet-ratio | jitter-average | jitter-ds-average | jitter-sd-average | packet-loss-ds | packet-loss-sd | rtt-average } { absolute |...
  • Page 357: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.35.5 Checking the Configuration After the alarm threshold for test results is set, you can view the configuration. Prerequisite The configurations of the Threshold for the NQA Alarm function are complete.
  • Page 358: Restarting Nqa Test Instances

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management If a test instance fails, you can try to restart the test instance in the next test period. 6.36.2 Clearing NQA Statistics When the statistics on the current test instance are saved to the FTP server, you can clear test results on the device.
  • Page 359: Debugging Nqa

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run the system-view command, enter the system view. Step 2 Run the nqa test-instance admin-name test-name command, enter the NQA test instance view. Step 3 Run the clear-records command in the NQA view to clear history statistics on NQA tests and test results.
  • Page 360 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management 6.37.10 Example for Configuring the Jitter Test 6.37.11 Example for Configuring the MAC Ping Test 6.37.12 Example for Configuring the LSP Ping Test for a Common Tunnel 6.37.13 Example for Configuring the LSP Jitter Test for a Common Tunnel...
  • Page 361: Example For Configuring The Icmp Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.1 Example for Configuring the ICMP Test Networking Requirements As shown in Figure 6-3, Switch A and Switch B must be connected at Layer 3 through the VLANIF interface.
  • Page 362 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 2 Configure the VLANIF interface and assign an IP address to the VLANIF interface. # Configure Switch A. [SwitchA] interface vlanif 10 [SwitchA-Vlanif10] ip address 10.1.1.1 24 # Configure Switch B.
  • Page 363: Example For Configuring The Ftp Download Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration ip address 10.1.1.2 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 10 port hybrid untagged vlan 10 return 6.37.2 Example for Configuring the FTP Download Test Networking Requirements...
  • Page 364 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management [SwitchB-aaa] local-user user1 password cipher hello [SwitchB-aaa] local-user user1 service-type ftp [SwitchB-aaa] local-user user1 ftp-directory cfcard: [SwitchB-aaa] quit Step 3 Configure an NQA FTP test on Switch A.
  • Page 365: Example For Configuring The Ftp Upload Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface Vlanif10 ip address 10.1.1.2 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 10 port hybrid untagged vlan 10 FTP server enable local-user user1 password cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!! local-user user1 service-type ftp...
  • Page 366 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Procedure Step 1 Configure reachable routes between Switch A and Switch B, between Switch A and Switch C, and between Switch B and Switch C. The configuration details are not mentioned here.
  • Page 367: Example For Configuring The Http Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration ftp-username user1 ftp-password hello ip route-static 10.2.1.0 255.255.255.0 10.1.1.2 return Configuration file of Switch B sysname SwitchB vlan batch 10 20 interface Vlanif10 ip address 10.1.1.2 255.255.255.0 interface Vlanif20 ip address 10.2.1.1 255.255.255.0...
  • Page 368: Figure 6-6 Networking Diagram For Configuring The Http Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Figure 6-6 Networking diagram for configuring the HTTP test HTTP Server 10.2.1.1/24 Switch 10.1.1.2/24 GE1/0/0 Network VLANIF10 10.1.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Configure the Switch as the NQA client.
  • Page 369: Example For Configuring The Dns Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration RTT Sum/Min/Max: 18/5/7 DNSServerTimeout:0 TCPConnectTimeout:0 TransactionTimeout: 0 Lost packet ratio:0% ----End Configuration Files Configuration file of Switch sysname quidway vlan batch 10 interface Vlanif10 ip address 10.1.1.1 255.255.255.0...
  • Page 370 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Configuration Roadmap The configuration roadmap is as follows: Configure the Switch as the NQA client. Create and perform the DNS test on the Switch to check whether a connection between the Switch and the DNS server can be set up and to check the speed of responding to an address resolution request.
  • Page 371: Example For Configuring The Traceroute Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration vlan batch 100 interface Vlanif100 ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 nqa test-instance admin dns test-type dns destination-address url server.com...
  • Page 372 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management <SwitchA> system-view [SwitchA] nqa test-instance admin trace [SwitchA-nqa-admin-trace] test-type trace [SwitchA-nqa-admin-trace] destination-address ipv4 10.2.1.2 Step 3 Perform the test. [SwitchA-nqa-admin-trace] start now Step 4 Verify the test result.
  • Page 373: Example For Configuring The Snmp Query Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface Vlanif100 ip address 10.1.1.2 255.255.255.0 interface Vlanif110 ip address 10.2.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet2/0/0 port hybrid pvid vlan 110...
  • Page 374 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Preparation To complete the configuration, you need the following data: Host address of the SNMP agent Procedure Step 1 Configure reachable routes between Switch A and Switch B, between Switch A and Switch C, and between Switch B and Switch C.
  • Page 375: Example For Configuring The Tcp Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration return Configuration file of Switch B sysname SwitchB vlan batch 100 110 interface Vlanif100 ip address 10.1.1.2 255.255.255.0 interface Vlanif110 ip address 10.2.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100...
  • Page 376 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Configuration Roadmap The configuration roadmap is as follows: Configure Switch A as the NQA client and configure Switch C as the NQA server. Configure the monitoring port number on the NQA server and create an NQA TCP test on the NQA client.
  • Page 377: Example For Configuring The Udp Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration sysname SwitchA vlan batch 100 interface Vlanif100 ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 nqa test-instance admin tcp test-type tcp destination-address ipv4 10.2.1.2...
  • Page 378: Figure 6-11 Networking Diagram For Configuring The Udp Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Figure 6-11 Networking diagram for configuring the UDP test SwitchA SwitchB SwitchC GE1/0/0 GE1/0/0 GE2/0/0 GE1/0/0 VLANIF100 VLANIF100 VLANIF110 VLANIF110 10.1.1.1/24 10.1.1.2/24 10.2.1.1/24 10.2.1.2/24 NQA Server Configuration Roadmap Configure Switch A as the NQA client and configure Switch C as the NQA server.
  • Page 379 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Min/Max/Average Completion Time: 32/109/67 Sum/Square-Sum Completion Time: 203/16749 Last Good Probe Time: 2006-8-5 16:9:21.6 Lost packet ratio: 0 % ----End Configuration Files Configuration file of Switch A...
  • Page 380: Example For Configuring The Jitter Test

    Switch A to Switch C. Switch A and Switch C synchronize the clock from Switch B so that the test precision is improved. NOTE For information about clock synchronization, see "NTP" in the Quidway S9300 Terabit Routing Switch Feature Description - Network Management. Figure 6-12 Networking diagram for configuring the Jitter test...
  • Page 381 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration # Enable the NQA client and create an NQA Jitter test. <SwitchA> system-view [SwitchA] nqa test-instance admin jitter [SwitchA-nqa-admin-jitter] test-type jitter [SwitchA-nqa-admin-jitter] destination-address ipv4 10.2.1.2 [SwitchA-nqa-admin-jitter] destination-port 9000 Step 4 Perform the test.
  • Page 382: Example For Configuring The Mac Ping Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management sysname SwitchB vlan batch 100 110 interface Vlanif100 ip address 10.1.1.2 255.255.255.0 interface Vlanif110 ip address 10.2.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100...
  • Page 383 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Configuration Roadmap The configuration roadmap is as follows: Configure Switch A as the NQA client. Configure Switch B as the NQA server. Create a MAC Ping test on Switch A.
  • Page 384 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Min Negative SD:0 Min Negative DS:0 Max Negative SD:0 Max Negative DS:0 Negative SD Number:0 Negative DS Number:0 Negative SD Sum:0 Negative DS Sum:0 Negative SD Square Sum :0...
  • Page 385: Example For Configuring The Lsp Ping Test For A Common Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.12 Example for Configuring the LSP Ping Test for a Common Tunnel Networking Requirements As shown in Figure 6-14: The OSPF protocol runs on Switch A, Switch B, and Switch C. The three Switches learn the 32-bit host routes on their loopback interfaces.
  • Page 386 Step 2 Configure LDP on Switch A, Switch B, and Switch C. (The detailed procedure is not mentioned here.) For the configuration of LDP, refer to the Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS. Step 3 # Configure Switch A.
  • Page 387 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface LoopBack1 ip address 1.1.1.9 255.255.255.255 ospf 1 area 0.0.0.0 network 10.1.1.0 0.0.0.255 network 1.1.1.9 0.0.0.0...
  • Page 388: Example For Configuring The Lsp Jitter Test For A Common Tunnel

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management ip address 10.2.1.2 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port hybrid pvid vlan 110 port hybrid untagged vlan 110 interface LoopBack1 ip address 3.3.3.9 255.255.255.255 ospf 1 area 0.0.0.0...
  • Page 389 Step 2 Configure LDP on Switch A, Switch B, and Switch C. (The detailed procedure is not mentioned here.) For the configuration of LDP, refer to the Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS. Step 3 Configure Switch A as the NQA client.
  • Page 390 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management vlan batch 100 mpls lsr-id 1.1.1.9 mpls mpls ldp interface Vlanif100 ip address 10.1.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface LoopBack1 ip address 1.1.1.9 255.255.255.255...
  • Page 391: Example For Configuring The Lsp Jitter Test For The Mpls Te Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration return Configuration file of Switch C sysname SwitchC vlan batch 100 mpls lsr-id 1.1.1.9 mpls mpls ldp interface Vlanif110 ip address 10.2.1.2 255.255.255.0 mpls mpls ldp interface...
  • Page 392: Figure 6-16 Networking Diagram Of A Lsp Jitter Test

    Step 2 Configure MPLS RSVP-TE on Switch A, Switch B, and Switch C. (The detailed procedure is not mentioned here.) For the configuration of MPLS RSVP-TE, refer to the Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS. Step 3 Set up a TE tunnel from Switch A to Switch C. (The detailed procedure is not mentioned here.) Step 4 Create an NQA test on Switch A.
  • Page 393 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration [SwitchA-nqa-admin-lspjitter] start now Step 6 View the test results. [SwitchA-nqa-admin-lspjitter] display nqa results test-instance admin lspjitter SendProbe:60 ResponseProbe:60 Completion :success RTD OverThresholds number:0 Min/Max/Avg/Sum RTT:1/1/1/60 Square Sum:60...
  • Page 394 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management return Configuration file of Switch B sysname SwitchB vlan batch 100 110 mpls lsr-id 2.2.2.9 mpls mpls te mpls rsvp-te interface Vlanif100 ip address 10.1.1.2 255.255.255.0 mpls...
  • Page 395: Example For Configuring The Lsp Traceroute Test For The Te Tunnel

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface GigabitEthernet1/0/0 port hybrid pvid vlan 110 port hybrid untagged vlan 110 interface LoopBack1 ip address 3.3.3.9 255.255.255.255 ospf 1 opaque-capability enable area 0.0.0.0 network 3.3.3.9 0.0.0.0 network 10.2.1.0 0.0.0.255...
  • Page 396 Step 3 Configure a TE tunnel on Switch A to connect Switch C. The configuration details are not mentioned here. For the configuration of MPLS RSVP-TE, refer to the Quidway S9300 Terabit Routing Switch Configuration Guide - MPLS. Step 4 Create an NQA test on Switch A.
  • Page 397 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 100 mpls lsr-id 1.1.1.9 mpls mpls te mpls rsvp-te mpls te cspf interface Vlanif100 ip address 10.1.1.1 255.255.255.0...
  • Page 398 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface Vlanif110 ip address 10.2.1.1 255.255.255.0 mpls mpls te mpls te max-link-bandwidth 10000 mpls te max-reservable-bandwidth 5000 mpls rsvp-te interface GigabitEthernet1/0/0 port hybrid pvid vlan 100 port hybrid untagged vlan 100...
  • Page 399: Example For Configuring An Icmp Jitter Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.16 Example for Configuring an ICMP Jitter Test This part provides examples for configuring an ICMP jitter test to measure jitter on the network. A server is not required in an ICMP jitter test and the peer device in the test instance can be non- Huawei devices.
  • Page 400 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management [RouterA-nqa-admin-icmpjitter] display nqa results test-instance admin icmpjitter NQA entry(admin, icmpjitter) :testflag is inactive ,testtype is icmpjitter 1 . Test 1 result The test is finished SendProbe:60 ResponseProbe:60...
  • Page 401: Example For Configuring A Path Jitter Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.17 Example for Configuring a Path Jitter Test This part provides examples for configuring a path jitter test to measure jitter along the packet transmission path. Networking Requirements...
  • Page 402 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Current Status:CLOSE 1 . Test 1 result The test is finished Trace Completion Status:success 1 . Hop 1 Destination ip address:10.1.1.2 Jitter Completion Status:success Jitter Finish Status:finished...
  • Page 403: Example For Checking The Rpf Path From The Source To The Switch Through The Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration area 0.0.0.0 network 10.1.1.0 0.0.0.255 nqa test-instance admin pathjitter test-type pathjitter destination-address ipv4 11.1.1.2 icmp-jitter-mode icmp-echo return Configuration file of Switch B sysname SwitchB vlan batch 100 110 interface Vlanif100 ip address 10.1.1.2 255.255.255.0...
  • Page 404: Figure 6-20 Networking Diagram Of Mtrace

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management You need to enable MTrace on Switch B to check the RPF path from the multicast source to the current Switch. The NQA MTrace test is used to implement the MTrace function.
  • Page 405 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Configure an NQA MTrace test on Switch B. <SwitchB> system-view [SwitchB] nqa test-instance admin mtrace [SwitchB-nqa-admin-mtrace] test-type mtrace [SwitchB-nqa-admin-mtrace] mtrace-source-address ipv4 11.1.0.2 Step 2 Perform the test.
  • Page 406 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management vlan batch 110 170 interface Vlanif110 ip address 11.1.5.1 255.255.255.0 pim sm interface Vlanif170 ip address 11.1.6.3 255.255.255.0 igmp enable pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 110...
  • Page 407 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration test-type mtrace mtrace-source-address ipv4 11.1.0.2 return Configuration file of Switch C sysname SwitchC multicast routing-enable vlan batch 150 160 interface Vlanif150 ip address 11.1.1.1 255.255.255.0 pim sm interface Vlanif160 ip address 11.1.3.2 255.255.255.0...
  • Page 408 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface GigabitEthernet2/0/0 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet3/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130 ospf 1 area 0.0.0.0 network 11.1.2.0 0.0.0.255...
  • Page 409: Example For Checking The Multicast Path From The Source To The Switch Through The Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.19 Example for Checking the Multicast Path from the Source to the switch Through the MTrace Test Networking Requirements As shown in Figure 6-21, on the PIM-SM multicast network, implement the NTP protocal on all Switches to make Switches work synchronously, receiver is added to the multicast group 225.1.1.1 and receives multicast data from Source normally.
  • Page 410 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Preparation To complete the configuration, you need the following data: Test instance name: admin mtrace IP address of the multicast source: 11.1.0.2 IP address of the multicast group: 225.1.1.1 Procedure Step 1 Configure an NQA MTrace test on Switch B.
  • Page 411 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Input Rate(pps): 0xffffffff Output Rate(pps): 0xffffffff Input Loss Rate: 0xffffffff SG Loss Rate: 0xffffffff ----End Configuration Files Configuration file of Switch A sysname SwitchA multicast routing-enable vlan batch 110 170 interface Vlanif110 ip address 11.1.5.1 255.255.255.0...
  • Page 412 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management port hybrid untagged vlan 120 interface GigabitEthernet3/0/0 port hybrid pvid vlan 170 port hybrid untagged vlan 170 ospf 1 area 0.0.0.0 network 11.1.3.0 0.0.0.255 network 11.1.4.0 0.0.0.255 network 11.1.6.0 0.0.0.255...
  • Page 413 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration ip address 11.1.5.2 255.255.255.0 pim sm interface Vlanif120 ip address 11.1.4.2 255.255.255.0 pim sm interface Vlanif130 ip address 11.1.2.1 255.255.255.0 igmp enable pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 110...
  • Page 414: Example For Checking The Rpf Path From The Source To Destination Host Through The Mtrace Test

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management network 11.1.1.0 0.0.0.255 network 11.1.2.0 0.0.0.255 return 6.37.20 Example for Checking the RPF Path from the Source to Destination Host Through the MTrace Test Networking Requirements As shown in...
  • Page 415 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Configuration Roadmap The configuration roadmap is as follows: Configure Switch C as the NQA client and create an MTrace test on it. Perform the test and view the test result.
  • Page 416 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Input Packet Count:9849 Output Packet Count:9429 Input Rate(pps): 0xffffffff Output Rate(pps): 0xffffffff Input Loss Rate: 0xffffffff SG Loss Rate: 0xffffffff 3 . Hop 3 Outgoing Interface Address: 11.1.2.2 Incoming Interface Address: 11.1.0.1...
  • Page 417 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface Vlanif170 ip address 11.1.6.2 255.255.255.0 igmp enable pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 160 port hybrid untagged vlan 160 interface GigabitEthernet2/0/0 port hybrid pvid vlan 120...
  • Page 418 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management return Configuration file of Switch D sysname SwitchD multicast routing-enable vlan batch 110 120 130 interface Vlanif110 ip address 11.1.5.2 255.255.255.0 pim sm interface Vlanif120 ip address 11.1.4.2 255.255.255.0...
  • Page 419: Example For Checking The Multicast Path From The Source To Destination Host Through The Mtrace Test

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface GigabitEthernet2/0/0 port hybrid pvid vlan 150 port hybrid untagged vlan 150 interface GigabitEthernet3/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130 ospf 1 area 0.0.0.0 network 11.1.0.0 0.0.0.255...
  • Page 420 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Figure 6-23 Networking diagram for checking the multicast path from the multicast source to the local Switch Source 11.1.0.2/24 GE1/0/0 VLANIF140 11.1.0.1/24 GE2/0/0 GE3/0/0 VLANIF150 VLANIF130 11.1.1.2/24 11.1.2.2/24...
  • Page 421 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration [SwitchC-nqa-admin-mtrace] test-type mtrace [SwitchC-nqa-admin-mtrace] mtrace-source-address ipv4 11.1.0.2 [SwitchC-nqa-admin-mtrace] mtrace-group-address ipv4 225.1.1.1 [SwitchC-nqa-admin-mtrace] destination-address ipv4 11.1.6.4 [SwitchC-nqa-admin-mtrace] mtrace-query-type destination Step 2 Perform the test. [SwitchC-nqa-admin-mtrace] start now Step 3 Verify the test result. You can find that the RPF path from the multicast source to Switch C is Switch E-Switch D-Switch C.
  • Page 422 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface Vlanif110 ip address 11.1.5.1 255.255.255.0 pim sm interface Vlanif170 ip address 11.1.6.3 255.255.255.0 igmp enable pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 110 port hybrid untagged vlan 110...
  • Page 423 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration multicast routing-enable vlan batch 150 160 interface Vlanif150 ip address 11.1.1.1 255.255.255.0 pim sm interface Vlanif160 ip address 11.1.3.2 255.255.255.0 pim sm interface GigabitEthernet1/0/0 port hybrid pvid vlan 160...
  • Page 424 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface GigabitEthernet2/0/0 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet3/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130 ospf 1 area 0.0.0.0 network 11.1.2.0 0.0.0.255...
  • Page 425: Example For Configuring The Pwe3 Ping Test On A Single-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 6.37.22 Example for Configuring the PWE3 Ping Test on a Single- Hop PW Networking Requirements As shown in Figure 6-24, CE-A and CE-B are connected to PE-A and PE-B respectively. PE- A and PE-B are connected through the MPLS backbone network.
  • Page 426 Step 1 Configure a dynamic single-hop PW. Configure a dynamic single-hop PW on the MPLS backbone network. For the detailed configuration procedure, see "PWE3 Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - VPN. Step 2 Configure a PWE3 Ping test of the single-hop PW.
  • Page 427 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration port hybrid pvid vlan 110 port hybrid untagged vlan 110 return Configuration file of PE-A sysname PE-A mpls lsr-id 192.2.2.2 mpls mpls l2vpn mpls ldp mpls ldp remote-peer 192.3.3.3 remote-ip 192.3.3.3...
  • Page 428 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface Vlanif130 ip address 10.2.2.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet2/0/0 port hybrid pvid vlan 130...
  • Page 429: Example For Configuring The Pwe3 Ping Test On A Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration sysname CE-B vlan batch 140 interface Vlanif140 ip address 100.1.1.2 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 140 port hybrid untagged vlan 140 return 6.37.23 Example for Configuring the PWE3 Ping Test on a Multi-...
  • Page 430 Step 1 Configure a dynamic multi-hop PW. Configure a dynamic multi-hop PW on the MPLS backbone network. For the detailed configuration procedure, see "PWE3 Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - VPN. Step 2 Configure a PWE3 Ping test on a multi-hop PW.
  • Page 431 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Max Positive Jitter: 0 Max Negative Jitter: 0 Positive Jitter Num: 0 Negative Jitter Num: 0 Positive Jitter Sum: 0 Negative Jitter Sum: 0 Positive Jitter Square Sum: 0...
  • Page 432 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management local-pw-type ppp remote-pw-id 200 ospf 1 area 0.0.0.0 network 10.1.1.0 0.0.0.255 network 1.1.1.9 0.0.0.0 return Configuration file of P1 sysname P1 mpls lsr-id 2.2.2.9 mpls mpls ldp...
  • Page 433 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface Vlanif130 ip address 20.1.1.2 255.255.255.0 mpls mpls ldp interface Vlanif140 ip address 30.1.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130...
  • Page 434: Example For Configuring The Pwe3 Trace Test On A Single-Hop Pw

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management sysname U-PE2 mpls lsr-id 5.5.5.9 mpls mpls l2vpn mpls ldp mpls ldp remote-peer 3.3.3.9 remote-ip 3.3.3.9 vlan batch 150 160 interface Vlanif150 ip address 40.1.1.2 255.255.255.0 mpls...
  • Page 435: Figure 6-26 Networking Diagram For Configuring The Pwe3 Trace Test On A Single-Hop Pw

    Procedure Step 1 Configure a dynamic single-hop PW. Configure a dynamic single-hop PW on the MPLS backbone network. For the detailed configuration procedure, see "PWE3 Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - VPN. Issue 03 (2010-09-20)
  • Page 436 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 2 Configure a PWE3 Trace test of the single-hop PW. # Configure PE-A. <PE-A> system-view [PE-A] nqa test-instance test pwe3trace [PE-A -nqa-test-pwe3trace] test-type pwe3trace [PE-A -nqa-test-pwe3trace] local-pw-type vlan [PE-A -nqa-test-pwe3trace] local-pw-id 100 Step 3 Perform the test.
  • Page 437 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration ip address 100.1.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 110 port hybrid untagged vlan 110 return Configuration file of PE-A sysname PE-A mpls lsr-id 192.2.2.2 mpls...
  • Page 438 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management interface Vlanif130 ip address 10.2.2.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet1/0/0 port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet2/0/0 port hybrid pvid vlan 130...
  • Page 439: Example For Configuring The Pwe3 Trace Test On A Multi-Hop Pw

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration vlan batch 140 interface Vlanif140 ip address 100.1.1.2 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 140 port hybrid untagged vlan 140 return 6.37.25 Example for Configuring the PWE3 Trace Test on a Multi-...
  • Page 440 Step 1 Configure a dynamic multi-hop PW. Configure a dynamic multi-hop PW on the MPLS backbone network. For the detailed configuration procedure, see "PWE3 Configuration" in the Quidway S9300 Terabit Routing Switch Configuration Guide - VPN. Step 2 Configure a PWE3 Trace test of the multi-hop PW.
  • Page 441 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration 1/3/1 6 success 30.1.1.2 2006-9-30 9:33:3.318 1/3/2 6 success 30.1.1.2 2006-9-30 9:33:3.324 1/3/3 6 success 30.1.1.2 2006-9-30 9:33:3.331 1/4/1 6 success 5.5.5.9 2006-9-30 9:33:3.318 1/4/2 6 success 5.5.5.9...
  • Page 442 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management sysname U-PE1 mpls lsr-id 1.1.1.9 mpls mpls l2vpn mpls ldp mpls ldp remote-peer 3.3.3.9 remote-ip 3.3.3.9 vlan batch 110 120 interface Vlanif110 mpls l2vc 3.3.3.9 100 interface Vlanif120 ip address 10.1.1.1 255.255.255.0...
  • Page 443 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration port hybrid pvid vlan 120 port hybrid untagged vlan 120 interface GigabitEthernet2/0/0 port hybrid pvid vlan 130 port hybrid untagged vlan 130 interface LoopBack0 ip address 2.2.2.9 255.255.255.255 ospf 1 area 0.0.0.0...
  • Page 444 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management sysname P2 mpls lsr-id 4.4.4.9 mpls mpls ldp vlan batch 140 150 interface Vlanif140 ip address 30.1.1.2 255.255.255.0 mpls mpls ldp interface Vlanif150 ip address 40.1.1.1 255.255.255.0...
  • Page 445: Example For Configuring An Nqa Test Group

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration interface LoopBack0 ip address 5.5.5.9 255.255.255.255 ospf 1 area 0.0.0.0 network 5.5.5.9 0.0.0.0 network 40.1.1.0 0.0.0.255 return Configuration file of CE-B sysname CE-B vlan batch 160 interface Vlanif160 ip address 100.1.1.2 255.255.255.0...
  • Page 446 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Data Preparation To complete the configuration, you need the following data: Host addresses of Switch B and Switch C Time when the test group is enabled Procedure Step 1 Configure reachable routes between Switch A and Switch B, between Switch A and Switch C, and between Switch B and Switch C.
  • Page 447 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Stats errors number:0 Min Positive Jitter: 0 Min Negative Jitter: 0 Max Positive Jitter: 0...
  • Page 448: Example For Configuring The Test Of Sending Nqa Threshold Traps To The Nms

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management return Configuration file of Switch B sysname SwitchB vlan batch 110 120 interface Vlanif110 ip address 10.1.1.2 255.255.255.0 interface Vlanif120 ip address 10.2.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 110...
  • Page 449: Figure 6-29 Network Diagram For Configuring The Nqa Threshold

    NQA Server 10.1.1.1/24 10.1.1.2/24 30.1.1.1/24 NOTE For the information about clock synchronization, see "NTP" in the Quidway S9300 Terabit Routing Switch Feature Description - Network Management. Configuration Roadmap The configuration roadmap is as follows: Configure a Jitter test. Configure the NQA thresholds.
  • Page 450 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management [SwitchA-nqa-admin-jitter] destination-address ipv4 30.1.1.2 [SwitchA-nqa-admin-jitter] destination-port 9000 Step 3 Configure the NQA thresholds. # Configure the RTD threshold on Switch A. [SwitchA-nqa-admin-jitter] threshold rtd 20 # Configure the OWD-DS threshold on Switch A.
  • Page 451 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration <Quidway> display trapbuffer Trapping buffer configuration and contents : enabled Allowed max buffer size : 1024 Actual buffer size : 256 Channel number : 3 , Channel name : trapbuffer...
  • Page 452: Example For Configuring Test Results To Be Sent To The Ftp Server

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Configuration file of Switch B sysname SwitchB vlan batch 120 130 interface Vlanif120 ip address 10.1.1.2 255.255.255.0 interface Vlanif130 ip address 30.1.1.1 255.255.255.0 interface GigabitEthernet1/0/0 port hybrid pvid vlan 120...
  • Page 453: Figure 6-30 Networking Diagram Of Sending Test Results To The Ftp Server

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Figure 6-30 Networking diagram of sending test results to the FTP server FTP server 11.1.2.8/24 GE2/0/0 VLANIF20 11.1.2.1/24 GE1/0/0 GE1/0/0 SwitchA SwitchB VLANIF10 VLANIF10 11.1.1.10/24 11.1.1.11/24 Configuration Roadmap The configuration roadmap is as follows: Configure parameters for connecting the FTP server.
  • Page 454 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Step 3 Configure the duration of saving test results through FTP. [SwitchA] nqa-ftp-record time 2 Step 4 Send an alarm to the NM station after the FTP transmission succeeds.
  • Page 455: Example For Configuring A Threshold For The Nqa Alarm

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration nqa-ftp-record ip-address 11.1.1.8 nqa-ftp-record username ftp nqa-ftp-record password ftp nqa-ftp-record filename icmp nqa-ftp-record item-num 10010 nqa-ftp-record time 2 nqa test-instance admin icmp test-type icmp destination-address ipv4 11.1.1.10...
  • Page 456: Figure 6-31 Networking Diagram Of Configuring A Threshold For The Nqa Alarm

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management Figure 6-31 Networking diagram of configuring a threshold for the NQA alarm NM Station 11.1.2.8/24 GE2/0/0 VLANIF20 11.1.2.1/24 GE1/0/0 GE1/0/0 SwitchA SwitchB VLANIF10 VLANIF10 11.1.1.20/24 11.1.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Configure the event corresponding to the alarm threshold.
  • Page 457 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration [SwitchA] snmp community read public [SwitchA] snmp community write private [SwitchA] snmp sys-info version v2c [SwitchA] snmp trap enable feature-name nqa trap-name nqafaillingalarmnotification [RouterA] snmp trap enable feature-name nqa trap-name nqarisingalarmnotification # Configure alarms to be sent to the NM station through the SNMP agent.
  • Page 458: Example For Configuring Nqa Upper/Lower Alarm Threshold And Test Instance Linkage

    Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management nqa-jitter tag-version 2 nqa event 10 log-trap nqa test-instance admin icmpjitter test-type icmpjitter destination-address ipv4 11.1.1.20 frequency 5 start now alarm 10 lost-packet-ratio 2 rising-threshold 100 10 falling-threshold 10 10...
  • Page 459 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration Configuration Roadmap The configuration roadmap is as follows: Configure Switch A as the NQA client and Switch B as the NQA server. On the NQA client, configure the type of the linking test instance to be ICMP.
  • Page 460 Quidway S9300 Terabit Routing Switch 6 NQA Configuration Configuration Guide - Network Management <SwitchA> display nqa alarm NQA Alarm Information: --------------------------------------------------------------------------- Admin-Name Operation-Tag Alarm-Entry AlarmType Event-Entry --------------------------------------------------------------------------- admin icmpjitter Rising admin icmpjitter Falling # Check the status of the NQA client.
  • Page 461 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 6 NQA Configuration OWD SD Sum:0 OWD DS Sum:0 ICPIF value: 0 MOS-CQ value: 0 ----End Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 interface Vlanif10 ip address 11.1.1.1 255.255.255.0...
  • Page 463: Netstream Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration NetStream Configuration About This Chapter This chapter describes working principle of the NetStream and provides several configuration examples. Context NOTE After the NetStream function is enabled on an S9300, you cannot configure the IP source trail function on this S9300.
  • Page 464 Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management This section provides several configuration examples of NetStream. Huawei Proprietary and Confidential Issue 03 (2010-09-20) Copyright © Huawei Technologies Co., Ltd.
  • Page 465: Overview Of Netstream

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration 7.1 Overview of NetStream This section describes the working principle of NetStream. Concepts of NetStream NetStream is a technology of collecting and advertising statistics about network traffic. It classifies and collects statistics about the communication traffic and resource usage on the network.
  • Page 466: Netstream Features Supported By The S9300

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management 7.2 NetStream Features Supported by the S9300 This section describes the NetStream features supported by the S9300. Packet Sampling Types At present, the S9300 supports only the fixed-packets sampling.
  • Page 467: Collecting Ipv4 Traffic Statistics

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration 7.3 Collecting IPv4 Traffic Statistics This section describes how to collect statistics about IPv4 traffic passing through an interface. 7.3.1 Establishing the Configuration Task 7.3.2 Configuring the NetStream Function on an Interface 7.3.3 (Optional) Configuring the Version of Exported Packets...
  • Page 468: Configuring The Netstream Function On An Interface

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management 7.3.2 Configuring the NetStream Function on an Interface Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface { ethernet | gigabitethernet | xgigabitethernet } interface-number The interface view is displayed.
  • Page 469: Setting The Destination Address Of Statistics

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration NOTE At present, only the packets of v9 contain the information about the BGP nexthop. ----End 7.3.4 Setting the Destination Address of Statistics Context You cannot export the IPv4 NetStream statistics without a pre-configured destination address.
  • Page 470: Optional) Configuring The Inactive Aging Time Of The Original Traffic

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management NOTE If two aging modes, that is, inactive aging time of the original traffic and the FIN flag of TCP packets, are configured on the S9300 at the same time, the traffic is aged when one of the two aging conditions is met.
  • Page 471: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration 7.4.3 (Optional) Configuring the Format of Exported Packets IPv6 original traffic can be exported only in the v9 format. Therefore, the output format must be configured to v9 for IPv6 traffic.
  • Page 472: Optional) Configuring The Format Of Exported Packets

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management The interface view is displayed. Step 3 Run: ipv6 netstream { inbound | outbound } The NetStream function is enabled on the interface to collect statistics about IPv6 unicast traffic.
  • Page 473: Optional) Aging The Tcp Traffic According To Its Fin Flag

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 (Optional) Run: ipv6 netstream export source ip-address The source address for exporting statistics is configured.
  • Page 474: Optional) Configuring The Inactive Aging Time Of The Original Traffic

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management 7.4.6 (Optional) Configuring the Inactive Aging Time of the Original Traffic Context After the inactive aging time of the original traffic is configured, if the S9300 does not receive any data packets from the original traffic for the specified period, the S9300 considers that this original traffic is aged.
  • Page 475: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration 7.5.5 Configuring the Aggregation Function 7.5.6 Checking the Configuration 7.5.1 Establishing the Configuration Task Applicable Environment When the NetStream function is configured in the IPv4 network, a mode of collecting statistics about aggregation traffic must be configured to classify statistics about packets according to certain rules.
  • Page 476: Optional) Configuring The Version Of Exported Packets

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management The NetStream function supports the collection of statistics about inbound and outbound packets separately. Step 4 (Optional) Run: ip netstream suppress suppress-rate { inbound | outbound } The suppression ratio of the packets on the interface is set.
  • Page 477: Configuring The Aggregation Function

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration The NetStream aggregation view is displayed. Step 3 (Optional) Run: ip netstream export source ip-address The source address for exporting statistics is configured. Step 4 Run: ip netstream export host ip-address port-number The destination address for exporting statistics is configured.
  • Page 478: Configuring The Flexible Netstream Feature

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management Procedure Step 1 Run the display netstream all command to view the NetStream configuration. ----End 7.6 Configuring the Flexible NetStream Feature This section describes how to configure the Flexible NetStream feature to flexibly create NetStream statistics according to records.
  • Page 479: Creating A Record And Entering The Record View

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration 7.6.2 Creating a Record and Entering the Record View Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ip netstream record record-name A record is created and the record view is displayed.
  • Page 480: Configuring Netstream And Setting The Packet Sampling Ratio

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management The record view is displayed. Step 3 Run: collect counter { bytes | packets } The mode of exporting traffic statistics is configured. Step 4 Run: collect interface { input | output } The traffic statistics sent to the NSC contain the indexes of the inbound interface and outbound interface on the S9300.
  • Page 481: Enabling Flexible Netstream On Interfaces

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration By default, the fixed-packets sampling ratio on an interface is 1000:1. ----End 7.6.6 Enabling Flexible NetStream on Interfaces Procedure Step 1 Run: system-view The system view is displayed.
  • Page 482: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management 7.7.1 Establishing the Configuration Task Applicable Environment By default, the interface indexes in the exported NetStream packets contain 16 bits. The network management station (NMS) restores the 16-bit interface index in the NetStream statistics packets sent from the device to 32-bit interface index and searches for the interface that exports the statistics packets.
  • Page 483: Checking The Configuration

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration The type of the interface indexes contained in IPv4 exported packets is set. By default, the interface indexes in the IPv4 NetStream exported packets contain 16 bits.
  • Page 484: Example For Configuring Netstream

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management Procedure Step 1 Run the debugging ip netstream ip { event | packet } command in the user view to enable the debugging of IP NetStream. ----End 7.9 Example for Configuring NetStream...
  • Page 485 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration Data Preparation To complete the configuration, you need the following data: IP address of each interface Address and port number of the NSC and source address contained in the packets...
  • Page 486 Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management GigabitEthernet1/0/0 ip netstream inbound ip netstream outbound # View the traffic statistics on the board in slot 1. <SwitchB> display ip netstream statistic slot 1 =====Netstream statistics:=====...
  • Page 487: Example For Configuring Ipv4 Aggregation Traffic Statistics

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration ip netstream inbound ip netstream outbound interface GigabitEthernet2/0/0 port hybrid pvid vlan 200 port hybrid untagged vlan 200 7.9.2 Example for Configuring IPv4 Aggregation Traffic Statistics Networking Requirements...
  • Page 488 Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management Configuration Roadmap The configuration roadmap is as follows: Configure a reachable route between the user network and access network. Configure a reachable route between the access network and ISP 1, and between the access network and ISP 2.
  • Page 489 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration # Configure dynamic BGP routes between Switch B and Switch D. [SwitchB] bgp 65001 [SwitchB-bgp] router-id 2.2.2.2 [SwitchB-bgp] peer 10.3.1.2 as-number 65003 [SwitchB-bgp]quit [SwitchD] bgp 65003 [SwitchD-bgp] router-id 4.4.4.4 [SwitchD-bgp] peer 10.3.1.1 as-number 65001...
  • Page 490 Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management Handle AsTos aggre entries Handle ProtPortTos aggre entries : 5 Handle SrcPreTos aggre entries Handle DstPreTos aggre entries Handle PreTos aggre entries ----End Configuration Files Configuration file of Switch A...
  • Page 491 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration bgp 65001 router-id 2.2.2.2 peer 10.2.1.2 as-number 65002 peer 10.3.1.2 as-number 65003 ipv4-family unicast undo synchronization import-route ospf 1 peer 10.2.1.2 enable peer 10.3.1.2 enable ospf 1 router-id 2.2.2.2 area 0.0.0.0...
  • Page 492: Example For Configuring Flexible Netstream

    Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management 7.9.3 Example for Configuring Flexible NetStream Networking Requirements As shown in Figure 7-4, the enterprise network is connected to Switch B of the carrier through Switch A. The Flexible NetStream feature is configured on GE 1/0/0 of Switch B. Then you can aggregate traffic based on destination IP addresses and port numbers, collect statistics on the inbound traffic and outbound traffic on an interface, and send the traffic statistics to the NSC.
  • Page 493 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration <Quidway> system-view [Quidway] sysname SwitchB [SwitchB] ip netstream export version 9 Step 3 Set the source address, destination port number, and destination address for exporting packets. # Set the destination address and destination port number for exporting packets.
  • Page 494 Quidway S9300 Terabit Routing Switch 7 NetStream Configuration Configuration Guide - Network Management ip netstream outbound ip netstream sampler fix-packets 100 inbound ip netstream sampler fix-packets 100 outbound # View the traffic statistics on the board in slot 1. <SwitchB> display ip netstream statistic slot 1...
  • Page 495 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 7 NetStream Configuration ip netstream outbound ip netstream sampler fix-packets 100 inbound ip netstream sampler fix-packets 100 outbound port ip netstream record test interface GigabitEthernet2/0/0 port hybrid pvid vlan 200...
  • Page 497: Hgmp Configuration

    HGMP Configuration About This Chapter By running the Huawei Group Management Protocol (HGMP), you can appoint a switch as the administrator switch to create a cluster and add a large number of Ethernet switches to the cluster. The administrator is used to perform unified management and configuration over these switches, which simplifies maintenance and engineering.
  • Page 498: Overview

    IP addresses for them one by one. This leads to the waste of IP addresses. The Huawei Group Management Protocol (HGMP) is developed to manage a group of Ethernet switches. By running HGMP, you can appoint a switch as the administrator in a cluster to perform integrated management and configurations over other switches added to the cluster.
  • Page 499: Figure 8-1 Networking Diagram Of A Cluster (Tree)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Figure 8-1 Networking diagram of a cluster (tree) Server IP/MPLS Server core Router Cluster1 Administrator Member1 Member2 Member4 Member3 DSLAM Host Administrator: administrator switch Member: member switch...
  • Page 500: Hgmp Features Supported By The S9300

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Figure 8-2 Networking diagram of a cluster (RRPP) Server IP/MPLS Server core Router Cluster1 Administrator Member1 Member2 Member3 Member4 DSLAM Host Administrator: administrator switch Member: member switch 8.1.2 HGMP Features Supported by the S9300...
  • Page 501: Roles In A Cluster

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration After receiving an NDP packet from the neighbor, the device compares the contents of the packet with those of a corresponding entry in the NDP table and updates the entry.
  • Page 502 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management In HGMP, member switches in a cluster can communicate with devices in the public network through Network Address Transmission (NAT). Whether to use NAT for the communication can be controlled through commands.
  • Page 503: Configuration Synchronization

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration After incremental configuration is performed, a result list is returned to report the command output on each member switch. If an error occurs during the command execution, the faulty command can be located according to the sequence number.
  • Page 504: Configuring Basic Hgmp Functions

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management 8.2 Configuring Basic HGMP Functions This section describes how to configure basic HGMP functions to create or manage a cluster. 8.2.1 Establishing the Configuration Task Before configuring basic HGMP functions, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 505: Configuring Ndp

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Data Preparation To configure basic HGMP functions, you need the following data. Data Range of private IP addresses used in the cluster Cluster name Medium access control (MAC) address of the member switch...
  • Page 506: Configuring Ntdp

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management – Run: interface interface-type interface-number The interface view is displayed. Run: ndp enable NDP is enabled on the interface. (Optional) Setting the aging time of NDP packets...
  • Page 507 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration By default, NTDP is not enabled in the system view. Enabling NTDP on an interface Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed.
  • Page 508: Creating A Cluster

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Run the following command in the user view: ntdp explore Topology collection is enabled. You can run this command to collect topology information at any time. ----End 8.2.4 Creating a Cluster...
  • Page 509 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration If you change the ID of the management VLAN or delete the management VLAN and its corresponding VLANIF interface on the administrator switch, the cluster is automatically deleted.
  • Page 510: Adding A Member Switch

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management This command can only be run on the administrator switch and the switch that does not join any cluster. Creating a cluster automatically These steps need to be configured only on the administrator switch or on the switch which will be the administrator in a created HGMP cluster.
  • Page 511: Optional) Deleting Or Quitting A Cluster

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Run: cluster The cluster view is displayed. Run: add-member [ member-number ] mac-address mac-address [ password password] A member switch is added. Adding a member switch automatically In this mode, the administrator switch prompts you whether to add all the existing candidate switches to the cluster.
  • Page 512 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management The system view is displayed. cluster The cluster view is displayed. Run: undo build A cluster is deleted. After the command is run on an administrator switch, except the mngvlanid and ip- pool commands, configurations of the administrator switch in the HGMP cluster view are deleted;...
  • Page 513: Optional) Deleting A Member Switch

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration 8.2.7 (Optional) Deleting a Member Switch If you do not need to use a cluster to manage a switch in a management domain, you can delete the switch from the cluster.
  • Page 514 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Example If the NDP neighbor can be normally established, you can run the display ndp command to check information about the MAC addresses of all the neighboring stations and the number of the interface on the neighboring station that is connected to the local interface.
  • Page 515: Configuring Advanced Hgmp Functions

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster name:"HUAWEI" Role:Administrator switch management vlan id : 10 Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.1.1.1/24...
  • Page 516: Establishing The Configuration Task

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management You can use commands to configure the following features for member switches of an HGMP cluster in batches: batch distribution, batch restart, incremental configuration, configuration synchronization, and security features.
  • Page 517 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration switches, multicast address of the cluster, mode of adding management interfaces of the cluster to a VLAN, and public server and host of the cluster. Procedure Configure the interval for sending handshake packets.
  • Page 518 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Candidate switches are enabled to automatically join the cluster. Set the aging time of the Disconnecting state for member switches. Do as follows on the administrator switch:...
  • Page 519 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Run: cluster The cluster view is displayed. Run: port-tagged vlan Communication interfaces in the cluster are added to the management VLAN in trunk mode. Configure public servers and hosts.
  • Page 520: Managing Switches In A Cluster Through Hgmp

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management NOTE The member switches in a cluster can communicate with the SNMP server in either of the following modes: l Non-NAT: There must be reachable routes between member switches and SNMP server.
  • Page 521 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration The timeout period for member switches to download the configuration file, the version file or the patch files through FTP is configured. Run: cluster-member [ group-by { device-type device-type | ip {ip-address [ to ip-address ] } &<1-10>...
  • Page 522 The cluster view is displayed. Run: cluster-packet-extend enable Communication Between Huawei Devices and Non-Huawei Devices is enabled. – To configure the management VLAN for the interface of the administrator switch, you should run the port trunk allow-pass vlan command rather than the port default vlan command if the cluster-packet-extend enable command needs to be used.
  • Page 523 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration increment-command [ command-number command-number ] command-text command- text The command list is edited. Run: increment-run [ group-by { device-type device-type | ip { ip-address [ to ip-address ] } &<1-10> | member-number { member-number [ to member- number ] } &<1-10>...
  • Page 524: Checking The Configuration

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management The cluster view is displayed. Run: cluster-member unrelated-port [ group-by { device-type device-type | ip {ip-address [ to ip-address ] } &<1-10> | member-number { member-number [ to member-number ] } &<1-10> } ] { ndp | ntdp } NDP or NTDP is disabled on unrelated interfaces.
  • Page 525 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Device MacAddress IpAddress Result CommandId ------------------------------------------------------------------------------ S9300 0003-0003-0003 10.0.0.3 success S9300 0004-0004-0004 10.0.0.4 success Run the display cluster-license command, and you can check the contents of the cluster license, including the number of member switches that can be managed by the administrator switch and maximum layers that member switches can concatenate.
  • Page 526: Maintaining Hgmp

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management S9300 0002-0002-0002 10.0.0.2 success S9300 0003-0003-0003 10.0.0.3 success Interfaces running NDP and NTDP are not required on member switches. If NDP and NTDP are disabled successfully, run the display member-interface-state command, and you can view that success is displayed.
  • Page 527: Clearing The Ndp Statistics

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration This part describes how to use the reset ndp statistics command to clear the statistics on NDP. 8.4.2 Monitoring the Operation Status of the HGMP Cluster This part describes how to use the display commands to monitor the operating status of the HGMP cluster.
  • Page 528: Debugging Hgmp

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Run the display cluster candidates [ mac-address mac-address | verbose ] to check information about candidate switches. ----End 8.4.3 Debugging HGMP When a fault occurs on NDP, NTDP, or a cluster, you can run the debugging command in the user view to debug NDP, NTDP, or the cluster, view debugging information, locate the fault, and analyze the cause.
  • Page 529: Example For Configuring Basic Hgmp Functions For A Cluster

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration 8.5.6 Example for Configuring the Batch Distribution Function for an HGMP Cluster 8.5.7 Example for Configuring the Batch Restart Function for an HGMP Cluster 8.5.8 Example for Configuring the Incremental Configuration Function for an HGMP Cluster 8.5.9 Example for Configuring the Configuration Synchronization Function for an HGMP...
  • Page 530: Figure 8-3 Networking Diagram Of Configuring Basic Hgmp Functions For A Cluster

    Create a management VLAN on all devices. Enable NDP and NTDP to ensure that each device can detect the topology structure of the network through NTDP. Choose the administrator switch, and then create a cluster named HUAWEI on the administrator switch.
  • Page 531 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of VLANIF 10, that is 1.0.0.1/8 Address pool of the cluster, that is 10.0.0.0/8...
  • Page 532 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3 [Member-3] vlan 10...
  • Page 533 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Product Ver : S9300 Interface: GigabitEthernet1/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0 Neighbor 1: Aging Time: 5(s) MAC Address : 0003-0003-0003 Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051...
  • Page 534 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] 8-38...
  • Page 535 8 HGMP Configuration After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 536 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 537 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 538 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management ntdp timer 10 ndp enable interface Vlanif10 interface gigabitethernet1/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface gigabitethernet1/0/2 port link-type trunk port trunk allow-pass vlan 10...
  • Page 539: Example For Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The Hgmp Cluster (In Nat Mode)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return 8.5.2 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in NAT Mode)
  • Page 540: Figure 8-4 Networking Diagram Of Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Figure 8-4 Networking diagram of configuring the interconnection of FTP servers and devices in and out of the HGMP cluster (in NAT Mode) FTP Server 2.0.0.1/8 NM station 3.0.0.1/8...
  • Page 541 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration l Run the FTP client program on the PC and create an FTP connection with the member switch. Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and...
  • Page 542 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [Member-2] vlan 10 [Member-2-vlan10] quit [Member-2] interface gigabitethernet 1/0/1 [Member-2-GigabitEthernet1/0/1] port link-type trunk [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3.
  • Page 543 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051 Device Name : Member-1 Port Duplex : FULL Product Ver : S9300 Interface: GigabitEthernet1/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0...
  • Page 544 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] 8-48...
  • Page 545 8 HGMP Configuration After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 546 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 547 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 548 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management ntdp enable ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10 ip address 1.0.0.1 255.0.0.0 interface gigabitethernet1/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable...
  • Page 549: Example For Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The Hgmp Cluster (In Non-Nat Mode)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration FTP server enable vlan batch 10 cluster enable ntdp enable ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10 interface gigabitethernet1/0/1 port link-type trunk port trunk allow-pass vlan 10...
  • Page 550: Figure 8-5 Networking Diagram Of Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management NOTE In this configuration example where the Non-NAT mode is adopted, Member-3 accesses the FTP server (2.0.0.1/8) out of the cluster and devices out of the cluster access the FTP server (Member-2) in the cluster.
  • Page 551 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration NOTE Related configurations of cluster NAT must be performed on the administrator switch. Configure routes on the administrator switch and member switches to ensure that reachable routes exist between the FTP server and member switches.
  • Page 552 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [Member-1-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-1-GigabitEthernet1/0/1] quit [Member-1] interface gigabitethernet 1/0/2 [Member-1-GigabitEthernet1/0/2] port link-type trunk [Member-1-GigabitEthernet1/0/2] port trunk allow-pass vlan 10 [Member-1-GigabitEthernet1/0/2] quit [Member-1] interface vlanif 10 [Member-1-Vlanif10] quit # Configure member switch 2.
  • Page 553 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Member-3-GigabitEthernet1/0/1] ndp enable [Member-3-GigabitEthernet1/0/1] quit After the previous configuration, you can find that NDP on the administrator is in the Enable state, the host name of the neighboring node is Device Name, and the name of the interface connecting the neighboring node and the local interface is Port Name.
  • Page 554 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [Member-3] ntdp hop 3 [Member-3] interface gigabitethernet 1/0/1 [Member-3-GigabitEthernet1/0/1] ntdp enable [Member-3-GigabitEthernet1/0/1] quit After the previous configuration, globally check the NTDP configuration on the administrator switch. You can find that the interval and range for NTDP to collect topologies is 10 minutes and 3 hops respectively.
  • Page 555 [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 556 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management The list of cluster member: ------------------------------------------------------------------------------ Device Type MAC Address Status Device Name ------------------------------------------------------------------------------ S9300 0001-0001-0001 Admin HUAWEI_0.Administrator-1 S9300 0002-0002-0002 HUAWEI_1.Member-1 S9300 0003-0003-0003 HUAWEI_2.Member-2 S9300 0004-0004-0004 HUAWEI_3.Member-3 Step 7 Assign an IP address to VLANIF 10.
  • Page 557 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration NOTE Multiple member switches can be configured simultaneously through incremental configuration. For configuration details, see Example for Configuring the Incremental Configuration Function for an HGMP Cluster. Step 10 Verify the configuration.
  • Page 558 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI sftp-server 2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1.
  • Page 559: Example For Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host (In Nat Mode)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration ntdp enable ndp enable cluster administrator-address 0001-0001-0001 name HUAWEI mngvlanid 10 ip route-static 2.0.0.0 255.0.0.0 10.0.0.1 return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable...
  • Page 560: Figure 8-6 Networking Diagram Of Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Figure 8-6 Networking diagram of configuring devices in the HGMP cluster to access the outside SNMP host (in NAT mode) FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS...
  • Page 561 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Management VLAN ID of the cluster, that is 10 IP address of the SNMP host, that is 3.0.0.1/8 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and the SNMP host Address pool of the cluster, that is 10.0.0.0/8...
  • Page 562 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3 [Member-3] vlan 10 [Member-3-vlan10] quit [Member-3] interface gigabitethernet 1/0/1 [Member-3-GigabitEthernet1/0/1] port link-type trunk [Member-3-GigabitEthernet1/0/1] port trunk allow-pass vlan 10...
  • Page 563 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051 Device Name : Member-2 Port Duplex : FULL Product Ver : S9300 Step 3 Configure NTDP. # On devices, enable NTDP in the system view and on the interface and configure the interval and range for NTDP to collect topologies to 10 minutes and 3 hops respectively.
  • Page 564 [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 565 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 No logging host configured No SNMP host configured No FTP server configured No SFTP server configured...
  • Page 566 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management After the previous configuration, you can find that the interface on the administrator switch is in the Up state. [HUAWEI_0.Administrator-1] display interface Vlanif 10 Vlanif10 current state : UP...
  • Page 567 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster SNMP NAT capability : enabled Cluster FTP NAT capability : disabled There are 4 member(s) in the cluster, and 0 of them are down. Step 10 Verify the configuration.
  • Page 568 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management vlan batch 10 cluster enable ntdp enable ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10 interface gigabitethernet1/0/1 port link-type trunk port trunk allow-pass vlan 10...
  • Page 569: Example For Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host (In Non-Nat Mode)

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration interface gigabitethernet1/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return 8.5.5 Example for Configuring Devices in the HGMP Cluster to...
  • Page 570: Figure 8-7 Networking Diagram Of Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Figure 8-7 Networking diagram of configuring devices in the HGMP cluster to access the outside SNMP host (in non-NAT mode) FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS...
  • Page 571 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of the SNMP host, that is 3.0.0.1/8 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and...
  • Page 572 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3 [Member-3] vlan 10...
  • Page 573 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Product Ver : S9300 Interface: GigabitEthernet1/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0 Neighbor 1: Aging Time: 5(s) MAC Address : 0003-0003-0003 Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051...
  • Page 574 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] 8-78...
  • Page 575 8 HGMP Configuration After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 576 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 577 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 578 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management [HUAWEI_0.Administrator-1] display current-configuration filter snmp snmp-agent target-host trap address udp-domain 3.0.0.1 params securityname cluster [HUAWEI_3.Member-3] display current-configuration filter snmp snmp-agent target-host trap address udp-domain 3.0.0.1 params securityname cluster...
  • Page 579 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration interface gigabitethernet1/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI ip route-static 3.0.0.0 255.0.0.0 10.0.0.1 snmp-agent snmp-agent target-host trap address udp-domain 3.0.0.1 params securityname...
  • Page 580: Example For Configuring The Batch Distribution Function For An Hgmp Cluster

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management ntdp enable ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI ip route-static 3.0.0.0 255.0.0.0 10.0.0.1 snmp-agent snmp-agent target-host trap address udp-domain 3.0.0.1 params securityname cluster return 8.5.6 Example for Configuring the Batch Distribution Function for...
  • Page 581 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Figure 8-8 Networking diagram of configuring the batch distribution function for an HGMP cluster FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS core SFTP Server 2.0.0.2/8 GE1/0/1 Log station 1.0.0.2/8...
  • Page 582 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and the FTP server Address pool of the cluster, that is 10.0.0.0/8...
  • Page 583 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3 [Member-3] vlan 10...
  • Page 584 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Product Ver : S9300 Interface: GigabitEthernet1/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0 Neighbor 1: Aging Time: 5(s) MAC Address : 0003-0003-0003 Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051...
  • Page 585 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 03 (2010-09-20)
  • Page 586 Configuration Guide - Network Management After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10.
  • Page 587 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 588 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 589 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Startup paf file: NULL Next startup paf file: NULL Startup license file: NULL Next startup license file: NULL Startup patch package: NULL Next startup patch package: NULL...
  • Page 590 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management port trunk allow-pass vlan 10 ntdp enable ndp enable interface gigabitethernet1/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-2.
  • Page 591: Example For Configuring The Batch Restart Function For An Hgmp Cluster

    Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration 8.5.7 Example for Configuring the Batch Restart Function for an HGMP Cluster Networking Requirements As shown in Figure 8-9, all the Layer 2 switches belong to the same cluster. Administrator-1 is the administrator switch of the cluster and other switches are member switches.
  • Page 592 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Create a cluster according to the steps described in 8.5.1 Example for Configuring Basic HGMP Functions for a Cluster. Configure batch restart on the administrator switch. Data Preparation...
  • Page 593 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Quidway] sysname Member-2 [Member-2] vlan 10 [Member-2-vlan10] quit [Member-2] interface gigabitethernet 1/0/1 [Member-2-GigabitEthernet1/0/1] port link-type trunk [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3.
  • Page 594 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management MAC Address : 0002-0002-0002 Port Name : GigabitEthernet1/0/1 Software Version: Version 5.70 V100R003C00B051 Device Name : Member-1 Port Duplex : FULL Product Ver : S9300 Interface: GigabitEthernet1/0/2...
  • Page 595 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 03 (2010-09-20)
  • Page 596 Configuration Guide - Network Management After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10.
  • Page 597 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 598 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 599 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration ntdp enable ndp enable cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server:2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1.
  • Page 600: Example For Configuring The Incremental Configuration Function For An Hgmp Cluster

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable...
  • Page 601 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Figure 8-10 Networking diagram of configuring the incremental configuration function for an HGMP cluster FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS core SFTP Server 2.0.0.2/8 GE1/0/1 Log station 1.0.0.2/8...
  • Page 602 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management IP address of VLANIF 10, that is 1.0.0.1/8 Address pool of the cluster, that is 10.0.0.0/8 IP address of the administrator switch used in the cluster, that is 10.0.0.1/8...
  • Page 603 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Quidway] sysname Member-3 [Member-3] vlan 10 [Member-3-vlan10] quit [Member-3] interface gigabitethernet 1/0/1 [Member-3-GigabitEthernet1/0/1] port link-type trunk [Member-3-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-3-GigabitEthernet1/0/1] quit [Member-3] interface vlanif 10 [Member-3-Vlanif10] quit Step 2 Configure NDP.
  • Page 604 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Port Duplex : FULL Product Ver : S9300 Step 3 Configure NTDP. # On devices, enable NTDP in the system view and on the interface and configure the interval and range for NTDP to collect topologies to 10 minutes and 3 hops respectively.
  • Page 605 [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 606 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management IP pool:10.0.0.1/8 No logging host configured No SNMP host configured No FTP server configured No SFTP server configured cluster-member ftp-timeout: 300 sec(default) Cluster SNMP NAT capability : enabled Cluster FTP NAT capability : disabled There are 1 member(s) in the cluster, and 0 of them are down.
  • Page 607 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [HUAWEI_0.Administrator-1] display interface Vlanif 10 Vlanif10 current state : UP Line protocol current state : UP Last line protocol up time : 2008-09-25 21:25:52 Description:HUAWEI, Quidway Series, Vlanif10 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 1.0.0.1/8...
  • Page 608 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Step 10 Edit the list of incremental configuration commands on the administrator switch. [HUAWEI_0.Administrator-1] cluster [HUAWEI_0.Administrator-1-cluster] increment [HUAWEI_0.Administrator-1-cluster-increment] increment-command command-number 10 command-text vlan batch 100 to 200 [HUAWEI_0.Administrator-1-cluster-increment] increment-command command-number 20...
  • Page 609 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration ntdp enable ndp enable cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server:2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1.
  • Page 610: Example For Configuring The Configuration Synchronization Function For An Hgmp Cluster

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable...
  • Page 611 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Figure 8-11 Networking diagram of configuring the configuration synchronization function for an HGMP cluster FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS core SFTP Server 2.0.0.2/8 GE1/0/1 Log station 1.0.0.2/8...
  • Page 612 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Run the configuration synchronization command on the administrator switch. Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and...
  • Page 613 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Member-2-GigabitEthernet1/0/1] port link-type trunk [Member-2-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-2-GigabitEthernet1/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3...
  • Page 614 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Port Duplex : FULL Product Ver : S9300 Interface: GigabitEthernet1/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0 Neighbor 1: Aging Time: 5(s) MAC Address : 0003-0003-0003...
  • Page 615 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 03 (2010-09-20)
  • Page 616 Configuration Guide - Network Management After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10.
  • Page 617 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration # To ensure the normal communication between member switches in the cluster and devices out of the cluster, assign an IP address to VLANIF 10 on the administrator switch.
  • Page 618 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Cluster multicast MAC address : 0180-c200-000a(default) Cluster auto-join : disabled Handshake timer:10 sec Handshake hold-time:60 sec IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default)
  • Page 619 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration interface gigabitethernet1/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp-server 2.0.0.2 logging-host 4.0.0.1...
  • Page 620: Example For Configuring Security Features For An Hgmp Cluster

    Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management port trunk allow-pass vlan 10 ntdp enable ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable...
  • Page 621 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration Figure 8-12 Networking diagram of configuring security features for an HGMP cluster FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS core SFTP Server 2.0.0.2/8 GE1/0/1 Log station 1.0.0.2/8 4.0.0.1/8...
  • Page 622 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and the FTP server Address pool of the cluster, that is 10.0.0.0/8 IP address of the administrator switch used in the cluster, that is 10.0.0.1/8...
  • Page 623 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [Quidway] sysname Member-3 [Member-3] vlan 10 [Member-3-vlan10] quit [Member-3] interface gigabitethernet 1/0/1 [Member-3-GigabitEthernet1/0/1] port link-type trunk [Member-3-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 [Member-3-GigabitEthernet1/0/1] quit [Member-3] interface vlanif 10 [Member-3-Vlanif10] quit Step 2 Configure NDP.
  • Page 624 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Port Duplex : FULL Product Ver : S9300 Step 3 Configure NTDP. # On devices, enable NTDP in the system view and on the interface and configure the interval and range for NTDP to collect topologies to 10 minutes and 3 hops respectively.
  • Page 625 [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] After the previous configuration, check information about the cluster to which the device belongs. You can find that the device name is changed, the cluster name is HUAWEI, and the management VLAN ID is 10. [HUAWEI_0.Administrator-1-cluster] display cluster Cluster name:"HUAWEI"...
  • Page 626 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management IP pool:10.0.0.1/8 No logging host configured No SNMP host configured No FTP server configured No SFTP server configured cluster-member ftp-timeout: 300 sec(default) Cluster SNMP NAT capability : enabled Cluster FTP NAT capability : disabled There are 1 member(s) in the cluster, and 0 of them are down.
  • Page 627 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration [HUAWEI_0.Administrator-1] display interface Vlanif 10 Vlanif10 current state : UP Line protocol current state : UP Last line protocol up time : 2008-09-25 21:25:52 Description:HUAWEI, Quidway Series, Vlanif10 Interface Route Port,The Maximum Transmit Unit is 1500 Internet Address is 1.0.0.1/8...
  • Page 628 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management Step 10 Disable NDP and NTDP. # Disable NDP and NTDP on interfaces of all the member switches that do not need NDP and NTDP. # Disable NDP on the unrelated interfaces of member switches [HUAWEI_0.Administrator-1] cluster...
  • Page 629 Quidway S9300 Terabit Routing Switch Configuration Guide - Network Management 8 HGMP Configuration mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server:2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1.
  • Page 630 Quidway S9300 Terabit Routing Switch 8 HGMP Configuration Configuration Guide - Network Management return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable interface Vlanif10 interface gigabitethernet1/0/2 port link-type trunk...

Table of Contents