Summary of Contents for Huawei Quidway S5700 Series
Page 1
Quidway S5700 Series Ethernet Switches V100R006C01 Configuration Guide - Network Management Issue Date 2011-10-26 HUAWEI TECHNOLOGIES CO., LTD.
Page 2
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.
Quidway S5700 Series Ethernet Switches 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 S5700.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents Contents About This Document........................ii 1 SNMP Configuration........................1 1.1 Introduction to SNMP............................2 1.1.1 SNMP Overview............................2 1.1.2 SNMP Features Supported by the S5700....................4 1.2 Configuring a Device to Communicate with an NM Station by Running SNMPv1..........7 1.2.1 Establishing the Configuration Task......................7...
Page 6
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 2 LLDP Configuration........................46 2.1 Introduction to LLDP............................47 2.2 LLDP Feature Supported by the S5700......................50 2.3 Configuring LLDP............................53 2.3.1 Establishing the Configuration Task.......................53 2.3.2 Enabling Global LLDP..........................54 2.3.3 (Optional) Disabling LLDP on an Interface....................55 2.3.4 (Optional) Configuring an LLDP Management Address................55...
Page 7
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 3.6.2 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in NAT Mode)...............................118 3.6.3 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in Non-NAT Mode)............................128...
Page 8
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 5.2 Tracert................................246 5.3 Performing Ping and Tracert Operations......................247 5.3.1 Establishing the Configuration Task.....................248 5.3.2 Checking Network Connectivity Through the Ping Operation.............248 5.3.3 Locating Faults on the Network Through the Tracert Operation............249 5.4 Debugging Ping and Tracert...........................250...
Page 9
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 6.12.1 Establishing the Configuration Task....................280 6.12.2 Configuring the TCP Server........................281 6.12.3 Configuring the TCP Client.........................281 6.12.4 Checking the Configuration.........................283 6.13 Configuring the UDP Test..........................284 6.13.1 Establishing the Configuration Task....................284 6.13.2 Configuring the UDP Server.......................284...
Page 10
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 6.22 Configuring the PWE3 Trace Test to Check the Multi-Hop PW..............316 6.22.1 Establishing the Configuration Task....................316 6.22.2 Configuring Parameters for the PWE3 Trace Test on a Multi-Hop PW..........317 6.22.3 Checking the Configuration.........................318 6.23 Configuring Universal NQA Test Parameters....................320...
Page 11
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management Contents 7 RMON Configuration.......................390 7.1 Introduction to RMON...........................391 7.2 RMON Suported by the S5700........................391 7.3 Configuring RMON............................393 7.3.1 Establishing the Configuration Task.....................393 7.3.2 Enabling the RMON Statistics Function on the Interface..............394 7.3.3 Configuring the ethernetStatsTable.......................395...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration SNMP Configuration About This Chapter The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 1.1 Introduction to SNMP SNMP provides a set of standard protocols for the communication between the network management station (NM station) and devices, allowing the NM station to normally manage devices and receive alarms reported by the devices.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Figure 1-3 Schematic diagram of SNMP operations get-request get-response get-next-request get-response set-request Agent NM Station UDP Port161 UDP Port162 get-response trap Table 1-1 gives details on the SNMP operations.
Page 16
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration NOTE When multiple NM stations using different SNMP versions manage the same device in a network, SNMPv1, SNMPv2c, and SNMPv3 can all be configured on the device for its communication with all the NM stations.
Page 17
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Feature Description GetBulk GetBulk allows an administrator to perform Get-next operation in batches. In a large-scale network, GetBulk reduces the administrator's workload and improves management efficiency. Table 1-3 Different SNMP versions' support for the features...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Version Usage Scenario SNMPv2c This version is applicable to medium and large-scale networks whose security requirements are not strict or whose security is good (for example, VPNs) but whose services are so busy that traffic congestion may occur.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration obtain the data required for the configuration. This will help you complete the configuration task quickly and accurately. Applicable Environment SNMP needs to be deployed in a network to allow the NM station to manage network devices.
Page 20
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The system view is displayed. Step 2 (Optional) Run: snmp-agent The SNMP agent function is enabled. By default, the SNMP agent function is disabled. Running any command with the parameter snmp-agent can enable the SNMP agent function, so this step is optional.
Page 21
Configuration Guide - Network Management 1 SNMP Configuration l If the NM station and managed device are both Huawei products, the parameter private- netmanager can be configured to add more information to alarms, such as the alarm type, alarm sequence number, and alarm sending time. The information will help you locate and rectify faults more quickly.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration If the functions such as accounting and fault location need to be bound to specified interfaces to prevent changes in interface indexes during device or interface restart, follow...
This section describes how to enable the extended SNMP error code function when both the NM station and managed device are Huawei products. After this function is enabled, more types of error codes are provided to help you locate and rectify faults more quickly and accurately.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration By default, SNMP standard error codes are used. After the extended error code function is enabled, extended error codes can be sent to the NM station. ----End 1.2.5 (Optional) Configuring the Trap Function...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The length of the queue storing trap messages to be sent to the destination host is set. The queue length depends on the number of generated trap messages. If the switch frequently generates trap messages, a longer queue length can be set to prevent trap messages from being lost.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Step 4 Run: set constant-ifindex subinterface { dense-mode | sparse-mode } The memory distribution mode for the sub-interface index is set. When a sub-interface is created, the system generates an index image file for the sub-interface in the memory in a specified mode.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The NM station manages a device in the following manners: Sends requests to the managed device to perform the GetRequest, GetNextRequest, GetResponse, GetBulk, or SetRequest operation, obtaining data and setting values.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 1.3.2 Configuring Basic SNMPv2c Functions After basic SNMP functions are configured, an NM station can perform basic operations such as Get and Set operations on a managed device, and the managed device can send alarms to the NM station.
Page 29
The parameter securityname identifies the alarm sender, which will help you learn the alarm source. l If the NM station and managed device are both Huawei products, the parameter private- netmanager can be configured to add more information to alarms, such as the alarm type, alarm sequence number, and alarm sending time.
Configuring the Trap FunctionConfiguring the Trap Function. If the NM station and managed device are both Huawei products, follow the procedure described in Enabling the SNMP Extended Error Code Function to allow the device to send more types of error codes.
Page 31
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Context If a device is managed by multiple NM stations that use the same community name, note the following points: If all the NM stations that use the community name need to have rights to access the objects in the Viewdefault view (1.3.6.1), skip the following steps.
This section describes how to enable the extended SNMP error code function when both the NM station and managed device are Huawei products. After this function is enabled, more types of error codes are provided to help you locate and rectify faults more quickly and accurately.
Page 33
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: snmp-agent trap enable Alarm sending is enabled. NOTE If the snmp-agent trap enable command is run to enable the trap functions of all modules, or the snmp-...
Page 34
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The queue length depends on the number of generated trap messages. If the switch frequently generates trap messages, a longer queue length can be set to prevent trap messages from being lost.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration snmp-agent notification-log { global-ageout ageout | global-limit limit } The aging time of alarm logs and maximum number of alarm logs allowed to be stored in the log buffer are set.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration When a sub-interface is created, the system generates an index image file for the sub-interface in the memory in a specified mode. You may use various sub-interface numbering modes, such as the continuous mode or the discontinuous mode.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration sides. This section describes only the configurations on a managed device (the agent side). For details about configurations on an NM station, see the pertaining NM station operation guide.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Data (Optional) Number of interfaces indexed by fixed numbers 1.4.2 Configuring Basic SNMPv3 Functions After basic SNMP functions are configured, an NM station can perform basic operations such as Get and Set operations on a managed device, and the managed device can send alarms to the NM station.
Page 39
The parameter securityname identifies the alarm sender, which will help you learn the alarm source. l If the NM station and managed device are both Huawei products, the parameter private- netmanager can be configured to add more information to alarms, such as the alarm type, alarm sequence number, and alarm sending time.
Page 40
To allow a specified module on the managed device to report alarms to the NM station, follow the procedure described in Configuring the Trap Function. If the NM station and managed device are both Huawei products, follow the procedure described in Enabling the SNMP Extended Error Code Function to allow the device to send more types of error codes.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 1.4.3 (Optional) Controlling the NM Station's Access to the Device This section describes how to specify an NM station and manageable MIB objects for SNMPv3- based communication between the NM station and managed device to improve communication security.
This section describes how to enable the extended SNMP error code function when both the NM station and managed device are Huawei products. After this function is enabled, more types of error codes are provided to help you locate and rectify faults more quickly and accurately.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration By default, SNMP standard error codes are used. After the extended error code function is enabled, extended error codes can be sent to the NM station. ----End 1.4.5 (Optional) Configuring the Trap Function...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The length of the queue storing trap messages to be sent to the destination host is set. The queue length depends on the number of generated trap messages. If the switch frequently generates trap messages, a longer queue length can be set to prevent trap messages from being lost.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Step 4 Run: set constant-ifindex subinterface { dense-mode | sparse-mode } The memory distribution mode for the sub-interface index is set. When a sub-interface is created, the system generates an index image file for the sub-interface in the memory in a specified mode.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 1.5.1 Example for Configuring a Device to Communicate with an NM Station by Using SNMPv1 This section provides an example to describe how to configure a device to communicate with an NM station by using SNMPv1 and how to specify the MIB objects that can be managed by the NM station.
Page 47
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration SNMP version Community name ACL number IP address of the NM station Equipment administrator's contact information Procedure Step 1 Configure available routes between the switch and the NM stations. Details for the configuration procedure are not provided here.
Page 48
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration # Check information about the SNMP community name. <Quidway> display snmp-agent community Community name:adminnms2 Group name:adminnms2 Acl:2001 Storage-type: nonVolatile # Check the configured ACL. <Quidway> display acl 2001...
Page 50
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Figure 1-5 Networking diagram for configuring a device to communicate with an NM station by using SNMPv2c GE0/0/1 VLANIF100 NMS1 1.1.2.1/24 1.1.1.1/24 IP Network Switch NMS2 1.1.1.2/24...
Page 51
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration [Quidway] display snmp-agent sys-info version SNMP version running in the system: SNMPv2c SNMPv3 Step 4 Configure the NM stations' access rights. # Configure an ACL to allow NMS2 to manage and disallow NMS1 from managing the switch.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration snmp-agent notification-log global-ageout 12 return 1.5.3 Example for Configuring a Device to Communicate with an NM Station by Using SNMPv3 This section provides an example to describe how to configure a device to communicate with an NM station by using SNMPv3 and how to specify the MIB objects that can be managed by the NM station.
Page 54
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Configure the equipment administrator's contact information on the switch. Configure NMS2. Data Preparation To complete the configuration, you need the following data: SNMP version User group name...
Page 55
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration [Quidway] snmp-agent trap queue-size 200 [Quidway] snmp-agent trap life 60 Step 6 Configure the equipment administrator's contact information. [Quidway] snmp-agent sys-info contact call Operator at 010-12345678 Step 7 Configure the NMS2.
Page 56
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration # When an alarm is generated, run the display trapbuffer command to view the details. <Quidway> display trapbuffer Trapping buffer configuration and contents : enabled Allowed max buffer size : 1024...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration LLDP Configuration About This Chapter This chapter describes the LLDP concept, configuration procedures, and configuration examples. 2.1 Introduction to LLDP The Link Layer Discovery Protocol (LLDP) is a Layer 2 discovery protocol defined in the IEEE 802.1ab standard.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 2.1 Introduction to LLDP The Link Layer Discovery Protocol (LLDP) is a Layer 2 discovery protocol defined in the IEEE 802.1ab standard. Background Currently, the Ethernet technology is widely used in the network. Compared with small-scale networks, large-scale networks require that the network management system (NMS) have more functions and higher processing capability.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration LLDP is implemented by the MIB. The LLDP module updates the LLDP local system MIB and its own extended MIB (Organizationally defined local device LLDP MIB extension in the figure) by interacting with the PTOPO MIB, Entity MIB, Interface MIB, and Other MIBs.
Page 60
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration LLDP Trap When information in the LLDP local system MIB or the LLDP remote system MIB changes, the device sends traps to the NMS, requesting the NMS to update the topology. The information...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration V: content value The LLDPDU carries different types of TLVs to meet the LLDP interaction requirements. The device sends or receives the local and remote information by using these TLVs.
Page 63
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration TLV Types Supported by the S5700 Besides the mandatory TLVs Chassis ID TLV, Port ID TLV, Time to Live TLV, and End of LDPDU, the S5700 supports the following optional TLVs.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Type Description Maximum Frame Size TLV Maximum frame length supported by a port, namely, the maximum transmission unit (MTU) Power Via MDI TLV Power capability of a port, for example,...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration NOTE The LLDP management address contained in an LLDP packet is used to identify a device. Therefore, the management address of a device must be unique and easy to manage, for example, the IP address of the management port.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 2.3.3 (Optional) Disabling LLDP on an Interface After global LLDP is enabled, all the interfaces on the device are enabled with LLDP. To disable LLDP on some interfaces, run the undo lldp enable command on these interfaces.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Prerequisite LLDP has been enabled globally. Context If the configured management address is invalid or no management address is configured, the system sets an IP address in the address list as the management address. The system selects the IP address in the following priority order: loopback interface address, console port address, and then VLANIF interface address.
Page 68
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Procedure Step 1 Run: system-view 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-...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 2.3.6 (Optional) Configuring LLDP Timers The LLDP timers include interval for sending LLDP packets, delay to send LLDP packets, hold time multiplier of device information stored on neighbors, delay to re-enable LLDP on an interface, and delay to send neighbor change traps to the NMS.
Page 70
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration NOTE If the interval value is smaller than four times the delay value, the system displays an error message when you run the undo lldp message-transmission delay command. To run the undo lldp message- transmission delay command in this case, increase the interval value to at least four times the delay value first.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration The delay is applied to only the following traps: traps for adding neighbors, traps for deleting neighbors, neighbor aging traps, and traps for discarding neighbor packets (LLDP_1.0.8802.1.1.2.0.0.1 lldpRemTablesChange).
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Context After the LLDP trap function is enabled, the switch sends traps to the NMS in one of the following cases: The LLDP function is enabled or disabled globally. The traps are LLDP_1.3.6.1.4.1.2011.5.25.134.2.1 hwLldpEnabled and...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 2.4.1 Clearing LLDP Statistics To clear LLDP statistics, run the following reset command in the user view. Procedure Run the reset lldp statistics [ interface interface-type interface-number ] command to clear LLDP statistics.
Page 74
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Figure 2-7 Configuring LLDP on the device that has a single neighbor Internet 10.10.10.1 Switch A GE0/0/1 GE0/0/2 GE0/0/1 10.10.10.2 Switch B Configuration Roadmap The configuration roadmap is as follows: Enable global LLDP on SwitchA and SwitchB.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Similar to information about SwitchA. ----End Configuration Files Configuration file of SwitchA sysname SwitchA lldp enable interface GigabitEthernet0/0/1 undo port hybrid vlan 1 bpdu enable lldp management-address 10.10.10.1...
Page 79
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Figure 2-8 Configuring LLDP on the device that 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 NMS: Network Management System...
Page 80
:HUAWEI, Quidway Series, GigabitEthernet0/0/1 Interface System name :SwitchB System description :Quidway Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S5700 ) Copyright (c) 2003-2010 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge Management address type :ipV4 Management address : 10.10.10.2...
Page 81
:HUAWEI, Quidway Series, GigabitEthernet0/0/1 Interface System name :SwitchC System description :Quidway Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S5700 ) Copyright (c) 2003-2010 Huawei Technologies Co., Ltd System capabilities supported :bridge System capabilities enabled :bridge Management address type :ipV4 Management address : 10.10.10.3...
Page 82
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration PSE power enabled PSE pairs control ability:No Power pairs :Unknown Port power classification:Unknown Link aggregation supported:Yes Link aggregation enabled :No Aggregation port ID Maximum frame Size :1600...
Page 84
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Enable SwitchA and SwitchB to process LLDP BPDUs. Configure management addresses for SwitchA and SwitchB. Data Preparation To complete the configuration, you need the following data: Management address 10.10.10.1 for SwitchA and management address 10.10.10.2 for...
Page 85
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration [SwitchB] lldp management-address 10.10.10.2 Step 5 Verify the configuration. l View the configurations on SwitchA. # Check whether the physical interfaces are added to Eth-Trunk1. [SwitchA] display eth-trunk 1...
Page 86
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Remote Neighbors Added Remote Neighbors Deleted Remote Neighbors Dropped Remote Neighbors Aged Total Neighbors Port information: Interface GigabitEthernet0/0/1: LLDP Enable Status :enabled (default is disabled) Total Neighbors...
Page 87
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Auto-negotiation supported :Yes Auto-negotiation enabled :Yes OperMau :speed(1000)/duplex(Full) Power port class PSE power supported PSE power enabled PSE pairs control ability:No Power pairs :Unknown Port power classification:Unknown...
Page 88
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration PoE PSE power source :Unknown Port PSE Priority :Unknown Port Available power value:0 # View the neighbor information of SwitchA. [SwitchA] display lldp neighbor brief Local Intf...
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.
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 92
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 95
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 3.3 Configuring Basic HGMP Functions This section describes how to configure basic HGMP functions to create or manage a cluster. 3.3.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 98
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Procedure Enabling NDP in the system view Do as follows on the administrator switch and member switches: Run: system-view The system view is displayed. Run: ndp enable By default, NDP is enabled in the system view.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration The system view is displayed. Run: ndp timer hello interval The interval for sending NDP packets is set. By default, the interval for sending NDP packets is set to 60 seconds. The interval for sending NDP packets must be shorter than the aging time of NDP packets.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Run: system-view The system view is displayed. Run: ntdp timer hop-delay hop-delay-time The hop delay in forwarding NTDP packets is set. Run: ntdp timer port-delay port-delay-time The interface delay in forwarding NTDP packets is set.
Page 101
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration By default, the ID of the management VLAN on the device is 1, which should be created manually. – If you do not need to change the default ID of the management VLAN, you can skip Step 6 and Step 7.
Page 102
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Creating a cluster manually 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration NOTE The private IP addresses used by a cluster cannot be the same as any IP address on the device. Run: auto-build [ recover ] A cluster is created automatically.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration The cluster view is displayed. Run: auto-build [ recover ] A member switch is added automatically. The auto-build command can also be used to create a cluster automatically. For...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Run: undo cluster enable The administrator switch or member switch disable the cluster function. – After the command is run on an administrator switch, except the mngvlanid command, configurations of the HGMP cluster in the HGMP cluster view are deleted;...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration cluster The cluster view is displayed. Step 3 Run: delete-member member-number A member switch is deleted from the cluster. ----End 3.3.8 Checking the Configuration After configuring basic HGMP functions, you can view the configuration.
Page 107
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration If the NDP neighbor is normally established, you can run the display ndp interface command to check information about the MAC address of the neighboring station and the number of the interface on the neighboring station that is connected to the local interface.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration <HUAWEI_0.Quidway> display cluster candidates PLATFORM 0004-0004-0004 S5700 0003-0003-0003 S5700 0002-0002-0002 S5700 If the cluster is established successfully, you can run the display cluster members command to view information about member switches, such as the MAC address and device type. Member switches are in the Up state.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Data Multicast MAC address of the cluster IP addresses of the public FTP server, SFTP server, log host, SNMP host used in the cluster Default information about the FTP server that is configured for the cluster, including the IP address, user name, and password 3.4.2 Adjusting Parameters of the Cluster...
Page 110
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration By default, the holdtime is 60 seconds. The holdtime must be at least three times the interval for sending handshake packets. Enable candidate switches to automatically join a cluster.
Page 111
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Before setting up a cluster, you need to assign a multicast MAC address to the cluster or use the default multicast MAC address. To enhance the network security or if the default multicast MAC address is already used by other services on the network, you can reassign a multicast MAC address to the cluster within the permitted range.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration A public SFTP server is configured for the cluster. Run: snmp-host ip-address A public SNMP host is configured for the cluster. 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 113
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration After the configuration, the configured information is used by default during the process of batch distribution. (Optional) Run: cluster-member ftp-timeout time The timeout period for member switches to download the configuration file, the version file or the patch files through FTP is configured.
Page 114
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 115
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Run: increment The incremental configuration view is displayed. Run: 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>...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration The system view is displayed. Run: cluster 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>...
Page 117
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Example If the incremental configuration command is successfully delivered to member switches, run the display cluster-increment-result command, and you can view that success is displayed. <HUAWEI_0.Quidway> display cluster-increment-result...
Page 118
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration <Quidway> display member-getfile-state The status of member switches getting file: ------------------------------------------------------------------------ Device MacAddress IPAddress Result ------------------------------------------------------------------------ S5700 0002-0002-0002 10.0.0.2 success S5700 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 3.5 Maintaining HGMP This section describes how to clear the statistics on NDP, and monitor the operation status of the HGMP cluster. 3.5.1 Clearing the NDP Statistics This part describes how to use the reset ndp statistics command to clear the statistics on NDP.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 3.5.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 121
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 122
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Procedure Step 1 Configure a management VLAN. # Create VLAN 10 on the device and add interfaces of the administrator switch and member switches to VLAN 10.
Page 123
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-3-Vlanif10] quit Step 2 Configure NDP. # On switches, enable NDP in the system view and on an interface. # Configure the administrator switch. [Administrator-1] ndp enable...
Page 125
[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 126
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration On the administrator switch, check information about candidate switches, you can find all the candidate switches and their types. [HUAWEI_0.Administrator-1-cluster] display cluster candidates PLATFORM 0004-0004-0004 S5700 0003-0003-0003...
Page 127
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Input bandwidth utilization : -- Output bandwidth utilization : -- Step 8 Configure a static route on the administrator switch. # This operation is to ensure that a reachable route exists between switches in the cluster and servers or hosts.
Page 128
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration ntdp hop 3 ntdp timer 10 ndp enable interface Vlanif10 ip address 1.0.0.1 255.0.0.0 interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable...
Page 130
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration NOTE In this configuration example where the 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 131
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration l Run the cluster-ftp command on the member switch to set up a connection with the public FTP server of the cluster. For the situation that a device out of the cluster accesses the FTP server (Member-2): l Calculate the port number reserved on the administrator switch for the FTP protocol of a certain member switch in the cluster.
Page 133
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 134
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-3-GigabitEthernet0/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 135
[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 136
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration ------------------------------------------------------------------------------ S5700 0001-0001-0001 Admin HUAWEI_0.Administrator-1 S5700 0002-0002-0002 HUAWEI_1.Member-1 S5700 0003-0003-0003 HUAWEI_2.Member-2 S5700 0004-0004-0004 HUAWEI_3.Member-3 Step 7 Assign an IP address to VLANIF 10. # 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration return Configuration file of Member-2. sysname Member-2 FTP server enable vlan batch 10 cluster enable ntdp enable ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10...
Page 140
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration To upload files to Member-1, Member-2, and Member-3 or download files from them, you can set up an FTP connection between devices out of the cluster and member switches in NAT or non-NAT mode.
Page 141
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Create a cluster and configure basic HGMP functions for the cluster according to the steps described in the section Example for Configuring Basic HGMP Functions for a Cluster.
Page 143
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-GigabitEthernet0/0/1] quit # Configure member switch 3. [Member-3] ndp enable [Member-3] interface gigabitethernet 0/0/1 [Member-3-GigabitEthernet0/0/1] ndp enable [Member-3-GigabitEthernet0/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 144
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-GigabitEthernet0/0/1] quit # Configure member switch 3. [Member-3] ntdp enable [Member-3] ntdp timer 10 [Member-3] ntdp hop 3 [Member-3] interface gigabitethernet 0/0/1 [Member-3-GigabitEthernet0/0/1] ntdp enable [Member-3-GigabitEthernet0/0/1] quit After the previous configuration, globally check the NTDP configuration on the administrator switch.
Page 145
[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 146
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Info: Cluster auto-build is complete. Added 3 member(s) into the cluster successfully. After the previous configuration, check information about the administrator switch and member switches in the cluster on the administrator switch. You can find that all the member switches are added to the cluster and in the Up state.
Page 147
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 148
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface GigabitEthernet0/0/3 port link-type trunk port trunk allow-pass vlan 10 cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI ip route-static 0.0.0.0 0.0.0.0 1.0.0.2...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration port trunk allow-pass vlan 10 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...
Page 150
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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 151
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 153
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Name : GigabitEthernet0/0/1 Software Version: Version 5.70 V200R006C00 Device Name : Member-2 Port Duplex : FULL Product Ver : S5700 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 154
[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 155
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 156
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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. sysname Member-2 FTP server enable vlan batch 10...
Page 159
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Networking Requirements As shown in Figure 3-7, 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. The member ID of Member-2 is 2 and the member ID of Member-3 is 3.
Page 160
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Configuration Roadmap The configuration roadmap is as follows: Create a cluster and configure basic HGMP functions for the cluster according to the steps described in Example for Configuring Basic HGMP Functions for a Cluster.
Page 161
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-1] interface gigabitethernet 0/0/1 [Member-1-GigabitEthernet0/0/1] port link-type trunk [Member-1-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 [Member-1-GigabitEthernet0/0/1] quit [Member-1] interface gigabitethernet 0/0/2 [Member-1-GigabitEthernet0/0/2] port link-type trunk [Member-1-GigabitEthernet0/0/2] port trunk allow-pass vlan 10...
Page 162
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-3] ndp enable [Member-3] interface gigabitethernet 0/0/1 [Member-3-GigabitEthernet0/0/1] ndp enable [Member-3-GigabitEthernet0/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 163
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-3] ntdp enable [Member-3] ntdp timer 10 [Member-3] ntdp hop 3 [Member-3] interface gigabitethernet 0/0/1 [Member-3-GigabitEthernet0/0/1] ntdp enable [Member-3-GigabitEthernet0/0/1] quit After the previous configuration, globally check the NTDP configuration on the administrator switch.
Page 164
[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 165
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration After the previous configuration, check information about the administrator switch and member switches in the cluster on the administrator switch. You can find that all the member switches are added to the cluster and in the Up state.
Page 166
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration After the previous configuration, check information about the cluster to which the administrator switch belongs. You can find that the public log host, SNMP host, FTP server, and SFTP server are configured successfully.
Page 167
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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. ----End Configuration Files Configuration file of Administrator-1.
Page 168
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration interface Vlanif10 interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable...
Page 170
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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 GE0/0/1 Log station 1.0.0.2/8...
Page 171
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 and a reachable route between VLANIF 10 and the FTP server Address pool of the cluster, that is 10.0.0.0/8...
Page 175
3 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 176
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 177
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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) Cluster SNMP NAT capability : enabled Cluster FTP NAT capability : enabled There are 4 member(s) in the cluster, and 0 of them are down.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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. sysname Member-2 FTP server enable vlan batch 10...
Page 180
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Networking Requirements As shown in Figure 3-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. The member ID of Member-2 is 2 and the member ID of Member-3 is 3.
Page 181
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 183
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Interface: GigabitEthernet0/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 : GigabitEthernet0/0/1 Software Version: Version 5.70 V200R006C00...
Page 184
[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...
Page 186
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [HUAWEI_0.Administrator-1-Vlanif10] ip address 1.0.0.1 8 [HUAWEI_0.Administrator-1-Vlanif10] quit 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...
Page 187
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Step 10 Restart member switches in batches. # Run the cluster-member reboot group-by member-number 2 to 3 command on the administrator switch to restart Member-2 and Member-3.
Page 190
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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 GE0/0/1 Log station 1.0.0.2/8...
Page 191
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 193
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Duplex : FULL Product Ver : S5700 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 194
[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 195
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 196
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [HUAWEI_0.Administrator-1] display interface Vlanif 10 Vlanif10 current state : UP Line protocol current state : UP Description:HUAWEI, Quidway Series, Vlanif10 Interface Route Port,The MTU is 1500 Internet Address is 1.0.0.1/8 Internet Address is 10.0.0.1/8 Cluster...
Page 197
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [HUAWEI_0.Administrator-1-cluster-increment] increment-command command-number 20 command-text ip route-static 2.0.0.0 8 10.0.0.1 After the previous configuration, run the display increment-command command on the administrator switch to check the list of incremental configuration commands.
Page 200
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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 GE0/0/1 Log station 1.0.0.2/8...
Page 201
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 205
3 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 206
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 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 207
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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) Cluster SNMP NAT capability : enabled Cluster FTP NAT capability : enabled There are 4 member(s) in the cluster, and 0 of them are down.
Page 210
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-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 GE0/0/1 Log station 1.0.0.2/8 4.0.0.1/8...
Page 211
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 213
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Duplex : FULL Product Ver : S5700 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 214
[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 215
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 216
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [HUAWEI_0.Administrator-1] display interface Vlanif 10 Vlanif10 current state : UP Line protocol current state : UP Description:HUAWEI, Quidway Series, Vlanif10 Interface Route Port,The MTU is 1500 Internet Address is 1.0.0.1/8 Internet Address is 10.0.0.1/8 Cluster...
Page 217
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration # Disable NDP on the unrelated interfaces of member switches [HUAWEI_0.Administrator-1] cluster [HUAWEI_0.Administrator-1-cluster] undo cluster-member unrelated-port ndp # Disable NTDP on the unrelated interfaces of member switches [HUAWEI_0.Administrator-1] cluster...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 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. 4.1 Introduction to NTP This part describes the application and working principles of NTP.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 4.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 222
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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).
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Peer mode Broadcast mode Multicast mode In actual applications, a proper operation mode needs to be selected according to the networking topology to meet various clock synchronization requirements.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Context If you want to configure a switch to provide a primary NTP clock, do as follows on the switch functioning as the NTP server. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The IP address of the NTP server is configured. Step 2 is optional. If source-interface is specified in Step 3, use it preferentially. ip-address is the IP address of the NTP server. It can be the IP address of the host rather than a broadcast address, a multicast address, or the IP address of the reference clock.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Step 2 is optional. If source-interface is specified in both Step 2 and Step 3, use the source interface specified in Step 3 preferentially. ip-address is the IP address of the NTP peer. It can be the IP address of a host address rather than a broadcast address, a multicast address, or the IP address of the reference clock.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The local switch is set as an NTP broadcast server. After the configurations, the local switch periodically sends the clock synchronization packets to the broadcast address 255.255.255.255.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The system view is displayed. Run: vlan vlan-id A VLAN is created and the VLAN view is displayed. Run: interface vlanif vlan-id The interface that sends NTP multicast packets is specified.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Context Do as follows on the switch that needs to be disabled from receiving NTP packets. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id A VLAN is created and the VLAN view is displayed.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Procedure Run the display ntp-service status command to view the status of the NTP service. Run the display ntp-service sessions [ verbose ] command to view the status of NTP sessions.
Page 233
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Applicable Environment NTP supports two security mechanisms: access authority and NTP authentication. Access authority Access authority is a type of simple security method provided by the S5700 to protect local NTP services.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Data ACL rules Shared key and its ID that are used in NTP authentication NTP primary clock and its stratum Interfaces that send and receive NTP packets...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The NTP authentication key is configured. Run: ntp-service reliable authentication-keyid key-id The authentication key is declared to be reliable. ----End 4.4.4 Configuring NTP Authentication in Unicast Server/Client...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The ID of the authentication key used for the synchronization of the clocks on the NAT peer is configured. ----End 4.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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration vlan vlan-id A VLAN is created and the VLAN view is displayed. Step 3 Run: interface vlanif vlan-id The interface to send multicast NTP packets is specified.
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 S5700 Series Ethernet Switches Command Reference. Procedure...
Page 240
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Figure 4-2 Networking diagram for configuring the unicast client/server mode VLANIF111 10.0.0.2/24 SwitchC VLANIF111 VLANIF100 VLANIF110 Network VLANIF111 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 241
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Step 2 Configure a master NTP clock on Switch A and enable NTP authentication. # On Switch A, set the clock as a master NTP clock with stratum being 2.
Page 242
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration peer dispersion: 34.30 ms reference time: 11:55:56.833 UTC Mar 2 2006(C7B15BCC.D5604189) 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Configuration file of Switch D sysname SwitchD vlan batch 111 interface Vlanif111 ip address 10.0.0.3 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 111 port hybrid untagged vlan 111 ntp-service authentication enable ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX...
Page 245
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The clocks on Switch C, Switch D and Switch E can be synchronized. Data Preparation To complete the configuration, you need the following data: IP address of Switch C...
Page 246
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration port hybrid untagged vlan 100 ntp-service unicast-peer 3.0.1.32 return 4.6.3 Example for Configuring NTP Authentication in Broadcast Mode Networking Requirements As shown in Figure 4-4, Switch C and Switch D are on the same network segment; Switch A is on another network segment;...
Page 248
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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.
Page 249
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration [SwitchA-GigabitEthernet0/0/1] port hybrid untagged vlan 20 [SwitchA-GigabitEthernet0/0/1] quit [SwitchA] interface vlanif 20 [SwitchA-vlanif20] ip address 1.0.1.11 24 [SwitchA-vlanif20] quit Step 2 Configure the routes between them are reachable.The configuration procedure is not mentioned.
Page 250
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Check the NTP status of Switch D, 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 D is 4, one stratum lower than the clock stratum of Switch C.
Quidway S5700 Series Ethernet Switches 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"...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 5 Ping and Tracert 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 5 Ping and Tracert The S5700 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.
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 S5700 Series Ethernet Switches 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"...
Only some of the parameters are specified in the preceding tracert command. For details on more parameters, refer to the Quidway S5700 Series Ethernet Switches Command Reference. The output of the tracert command displays a list of gateways traversed between the source and the destination hosts.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 5 Ping and Tracert 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 262
Quidway S5700 Series Ethernet Switches 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 263
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 5 Ping and Tracert 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration NQA Configuration About This Chapter This chapter describes how to configure the Network Quality Analysis (NQA) to monitor the network operating status and collect network operation indexes in real time.
Page 265
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 LSP Ping Test This section describes how to configure a Label Switched Path (LSP) ping test to check the operating status of the LSP.
Page 266
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration This section describes how to configure the trap function in an NQA test instance. After the trap function is configured, a trap message is sent to the NMS in case of transmission success or transmission failure.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.1 Introduction to NQA This section helps you understand the background and functions of Network Quality Analysis (NQA). As the value-added services on networks are developed, users and carriers demand higher Quality of Service (QoS).
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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 269
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Supports auto distributing the start time and the test interval when several tests are performed at a time. Supports the auto-delay function, with which the system resources can be effectively utilized so that tests can be completed within a specified period.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.5.2 Configuring ICMP Test Parameters This part describes how to set ICMP test parameters. Context Do as follows on the NQA client: Procedure Step 1 Run: system-view The system view is displayed.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the interval for sending the test packets, run the interval seconds interval command. interval seconds equals the "-m" option in the ping command. l To configure the percentage of the failed NQA test, run the fail-percent percent command.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Example Run the display nqa results command. If the following is displayed, it means that the test is successful. "testFlag is inactive" "The test is finished" "Completion:success"...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name IP address of the FTP server (Optional) Source IP address of the FTP operation and VPN instance name and source and destination port numbers of the FTP operation...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the FTP source port number, run the source-port port-numbercommand. l To configure the FTP destination port number, run the destination-port port-number command. l To configure the NQA test packet to be sent without searching the routing table, run the sendpacket passroute command.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Prerequisite The configurations of the FTP Download 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration In an FTP upload test, you can specify the file to be uploaded or the bytes to be uploaded. If certain bytes are specified, the FTP client then automatically generates the test files for uploading.
Page 278
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 4 Run: destination-address ipv4 ip-address The destination IP address is configured. Step 5 (Optional) Perform the following as required to configure other parameters for the FTP upload...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration CtrlConnTime Min/Max/Average: 438/438/438 DataConnTime Min/Max/Average: 218/218/218 SumTime Min/Max/Average: 656/656/656 Average RTT:380 Lost packet ratio: 0 % 6.8 Configuring the HTTP Test This section describes how to configure a Hypertext Transfer Protocol (HTTP) test to check the responding speed of the HTTP service in each phase.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Start mode and end mode of the test 6.8.2 Configuring HTTP Test Parameters This part describes how to set HTTP test parameters. Context Do as follows on the NQA client (HTTP client):...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The HTTP operation type is configured. By default, the HTTP operation type is Get. Step 7 Run: http-url deststring [ verstring ] The web page to be visited and the HTTP version are configured.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Example Run the display nqa results command. If the test is successful, the following is displayed. "DNSRTT" "TCPConnectRTT" "TransactionRTT and RTT" <Quidway> display nqa results NQA entry(admin, http) :testflag is inactive ,testtype is http 1 .
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Host name to be resolved Start mode and end mode of the test 6.9.2 Configuring the DNS Test Parameters This part describes how to set DNS test parameters.
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.10 Configuring the Traceroute Test This section describes how to configure a traceroute test to check the connectivity to each hop on the network. 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 data required for the configuration.
Page 287
Quidway S5700 Series Ethernet Switches 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 trace A traceroute test is created.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The test instance is started after a certain delay. ----End 6.10.3 Checking the Configuration After configuring a traceroute test, you can view the test result. Prerequisite The configurations of the traceroute test are complete.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.11.1 Establishing the Configuration Task Before configuring an SNMP query 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 290
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 3 Run: test-type snmp The test type is set to SNMP Query. Step 4 Run: destination-address ipv4 ip-address The destination IP address, that is, the IP address of the SNMP agent, is configured.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.11.3 Checking the Configuration After configuring the SNMP query test, you can view the test result. Prerequisite The configurations of the SNMP Query Test function are complete.
Quidway S5700 Series Ethernet Switches 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 293
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Sum/Square-Sum Completion Time: 155/8649 Last Good Probe Time: 2006-8-5 15:55:15.3 Lost packet ratio: 0 % Run the display nqa-server command,the status of the NQA server is displayed.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Context Do as follows on the NQA server (UDP server): Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa-server udpecho [ vpn-instance vpn-instance-name ] ip-address port-number The UDP monitoring service is configured.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 6 (Optional) Perform the following as required to configure other parameters for the UDP test ( For detailed parameter configurations, see the chapter Configuring Universal NQA 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration After receiving the returned packets, the source subtracts the interval for the source to send two adjacent packets from the interval for the destination to receive the two packets and then obtains the jitter time.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The system view is displayed. Step 2 Run: nqa-server udpecho [ vpn-instance vpn-instance-name ] ip-address port-number The UDP monitoring service is configured. Note that the IP address and port number monitored by the Jitter server should be consistent with those configured on the client.
Page 301
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The destination port number is configured. Step 7 (Optional) Perform the following as required to configure other parameters for the Jitter test ( For detailed parameter configurations, see the chapter...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The test instance is started after a certain delay. ----End 6.14.4 Checking the Configuration After configuring the jitter test, you can view the test result. Prerequisite The configurations of the Jitter Test function are complete.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.15 Configuring the LSP Ping Test This section describes how to configure a Label Switched Path (LSP) ping test to check the operating status of the LSP.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.15.2 Configuring the LSP Ping Test Parameters for the LDP Tunnel Before performing an LDP LSP ping test, you need set parameters for the LSP ping test.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the padding character of the packet, run the datafill fillstring command. l To configure the interval for sending test packets, run the interval seconds interval command.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration – Number of wrong sequence numbers – Timeout times of the test packets History statistics of each test packet – Timestamp added when each test packet is sent –...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Pre-configuration Tasks Before configuring the LSP Jitter test, configure an LSP tunnel. Data Preparation To configure the LSP Jitter test, you need the following data. Data Administrator name and test name...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The destination IP address of the LSP Jitter test is configured. Step 6 (Optional) Perform the following as required to configure other parameters for the LSP Jitter...
Page 309
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.17 Configuring the LSP Trace Test This section describes how to configure an LSP trace test to check the connectivity between Label Switching Routers (LSRs) along the LSP.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data (Optional) Parameters of the LSP Traceroute test, including the response mode of the Echo packet, LSP EXP value, maximum hops, probes times, TTL value, and timeout...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the source IP address, run the source-address ipv4 ip-address command. l To configure the LSP EXP value, run the lsp-exp exp command. l To configure after how many hops the test is considered failed, run the tracert- hopfailtimes timescommand.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Statistics about errors – Number of unroutable connections – Number of wrong sequence numbers – Timeout times of the test packets History statistics of each test packet –...
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 315
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The percentage of the failed NQA tests is set. Step 6 Run: start The NQA test is started. Select the start mode as required because the startcommand has several forms.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Destination IP address and ID of the L2VC (Optional) Response mode of the Echo-Request packets, LSP EXP, maximum hops, number of probes, TTL value, and timeout period of the packets Start mode and end mode of the test 6.19.2 Configuring Parameters for the PWE3 Ping Test on a One-...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 8 (Optional) Run the following commands to configure other parameters for the PWE3 Ping test: l To configure the response mode of the Echo packet, run the lsp-replymode { no-reply | udp | udp-via-vpls | udp-router-alert | level-control-channel } command.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration – Number of unroutable connections – Number of wrong sequence numbers – Timeout times of the test packets History statistics of each test packet – Timestamp added when each test packet is sent –...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Pre-configuration Tasks Before configuring the PWE3 Ping test on a multi-hop PW, you must correctly configure the dynamic multi-hop PW or the static multi-hop PW. Data Preparation To configure the PWE3 Ping test on a multi-hop PW, you need the following data.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 5 (Optional) Run: local-pw-type { local-pw-type | ip-interworking } The type of the local PW is configured. By default, the type is Ethernet. Step 6 (Optional) Run: label-type { control-word | label-alert } The type of the PW label is configured.
Page 323
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.21 Configuring the PWE3 Trace Test to Check the One- Hop PW This section describes how to configure a PWE3 trace test to check the communications between devices along a PW.
Page 325
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
Quidway S5700 Series Ethernet Switches 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 –...
Quidway S5700 Series Ethernet Switches 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...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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 of the PWE3 Trace test.
Page 330
Quidway S5700 Series Ethernet Switches 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Min/Max/Average Completion Time: 7/9/8 Sum/Square-Sum Completion Time: 24/194 RTD OverThresholds number: 0 Last Good Probe Time: 2009-2-28 10:58:35.5 Destination ip address:12.14.21.12 Lost packet ratio: 0 % 6.23 Configuring Universal NQA Test Parameters This section describes how to set and use universal parameters for NQA test instances.
Page 332
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The fill string is set for the NQA test instance. NOTE This parameter cannot be configured for SNMP, TCP, FTP, HTTP, and DNS test instances. You can configure padding characters for only UDP, ICMP, Jitter and Trace tests.
Page 333
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration NOTE The file name and file path can be configured only for the FTP test instance. l Run: ftp-filesize size The size of the file is set for the FTP test instance.
Page 334
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration NOTE This parameter cannot be configured for FTP and DNS test instances. l Run: probe-failtimes times The number of permitted maximum probe failures, that is, the threshold to trigger the trap message, is set for the NQA test instance.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The timeout period is set for the NQA test instance. l Run: ttl number The TTL value in the NQA test packet is set. NOTE This parameter cannot be configured for DNS and Trace test instances.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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. ----End Example <Quidway>...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name Round-trip transmission delay threshold 6.24.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).
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.24.3 Checking the Configuration After setting the round-trip transmission delay threshold, you can view the configuration. Prerequisite The configurations of the Round-Trip Delay Thresholds Test function are complete.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Trap message sent when an NQA test fails It aims at checking whether the test fails. If the number of the times that a test fails exceeds the limit, trap messages are sent to a specified NM station.
Quidway S5700 Series Ethernet Switches 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 { jitter | icmpjitter } The test type is configured.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration NOTE Only S5700HI and S5706 support ICMP Jitter. Step 4 Run: destination-address ipv4 ip-address The destination IP address is configured. Step 5 (Optional)Run: destination-port port-number The destination port number is configured.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The destination IP address is configured. Step 5 (Optional)Run: destination-port port-number The destination port number is configured. Step 6 Run: send-trap testcomplete Sending trap messages when tests are completed is enabled.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration By default, the trap function is disabled. ----End 6.25.6 Checking the Configuration After the trap function is enabled in an NQA test instance, you can view trap messages in the trap buffer.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Context CAUTION Restarting an NQA test instance interrupts the running of tests. 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.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Context CAUTION Debugging affects the performance of the system. So, after debugging, run the undo debugging all command to disable it immediately. Procedure Step 1 Run the debugging nqa all command in the NQA view to enable NQA debugging.
Page 346
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Create a VLAN and add interfaces to the VLAN. # Configure Switch A. <Quidway> system-view [Quidway] sysname SwitchA [SwitchA] vlan 10 [SwitchA-Vlan10] quit [SwitchA] interface gigabitethernet 0/0/1...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10...
Page 348
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configure Switch A as the NQA client. Create and perform the FTP test on Switch A to check whether a connection between Switch A and the FTP server can be set up and to check the time for downloading a file from the FTP server.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10...
Page 350
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Roadmap The configuration roadmap is as follows: Configure Switch A as the NQA client and the FTP client. Create and perform the FTP test on Switch A to check whether a connection between Switch A and the FTP server can be set up and to test the time for uploading a file to the FTP server.
Page 351
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Operation timeout number: 0 System busy operation number:0 Drop operation number:0 Disconnect operation number: 0 CtrlConnTime Min/Max/Average: 657/657/657 DataConnTime Min/Max/Average: 500/500/500 SumTime Min/Max/Average: 1157/1157/1157 Average RTT:1157 Lost packet ratio:0 % # On Switch C, you can see that a file named nqa-ftp-test.txt is added.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration port hybrid untagged vlan 20 return Configuration file of Switch C sysname SwitchC FTP server enable vlan batch 20 interface Vlanif20 ip address 10.2.1.2 255.255.255.0 interface GigabitEthernet0/0/1...
Page 353
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Preparation To complete the configuration, you need the following data: Host address of the HTTP server HTTP operation type Procedure Step 1 Configure reachable routes between Switch and HTTP Server. The configuration details are not mentioned here.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration return 6.27.5 Example for Configuring the DNS Test Networking Requirements As shown in Figure 6-7, Switch functions as the DNS client to access the host whose IP address is 10.2.1.1/24 through a domain named server.com.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration return 6.27.7 Example for Configuring the SNMP Query Test Networking Requirements As shown in Figure 6-9, SNMP agent is enabled on Switch C. The NQA SNMP query test is used to measure the time from sending an SNMP query packet to receiving an Echo packet.
Page 359
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration interface GigabitEthernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100 interface GigabitEthernet0/0/2 port hybrid pvid vlan 110 port hybrid untagged vlan 110 return Configuration file of Switch C...
Page 363
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
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 S5700 Series Ethernet Switches Feature Description - Network Management. Figure 6-12 Networking diagram for configuring the Jitter test...
Page 365
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Roadmap The configuration roadmap is as follows: Configure Switch C as the NTP client and configure Switch B as the NTP server. Configure Switch A as the NQA client and configure Switch C as the NQA server.
Page 366
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Min Delay SD:0 Min Delay DS:0 Avg Delay SD:3 Avg Delay DS:3 Max Delay SD:49 Max Delay DS:48 Packet Loss SD:0 Packet Loss DS:0 Packet Loss Unknown:0 jitter out value:5.1291060...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration port hybrid untagged vlan 110 nqa-server udpecho 10.2.1.2 9000 ip route-static 10.1.1.0 255.255.255.0 10.2.1.1 return 6.27.11 Example for Configuring the LSP Ping Test for a Common Tunnel...
Page 368
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 S5700 Series Ethernet Switches Configuration Guide - MPLS. Step 3 # Configure Switch A.
Page 369
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration mpls ldp interface Vlanif100 ip address 10.1.1.1 255.255.255.0 mpls mpls ldp interface GigabitEthernet0/0/1 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...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration mpls lsr-id 3.3.3.9 mpls mpls ldp interface Vlanif110 ip address 10.2.1.2 255.255.255.0 mpls mpls ldp interface GigabitEthernet0/0/1 port hybrid pvid vlan 110 port hybrid untagged vlan 110 interface LoopBack1 ip address 3.3.3.9 255.255.255.255...
Page 371
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 S5700 Series Ethernet Switches Configuration Guide - MPLS. Step 3 Configure Switch A as the NQA client.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration area 0.0.0.0 network 2.2.2.9 0.0.0.0 network 10.1.1.0 0.0.0.255 network 10.2.1.0 0.0.0.255 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...
Page 374
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configure Switch A as the NQA client and create an ICMP jitter test instance on Switch Configure Switch B as the NQA server. Data Preparation To complete the configuration, you need the following data:...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 10 interface Vlanif10 ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10...
Page 376
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Figure 6-16 Networking diagram for configuring the PWE3 Ping test on the single-hop PW MPLS Backbone Loopback0 Loopback0 Loopback0 192.4.4.4/32 192.2.2.2/32 192.3.3.3/32 GE2/0/0 GE2/0/0 VLANIF120 VLANIF130 GE2/0/0 GE1/0/0 10.1.1.1/24...
Page 377
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration [PE-A-nqa-test-pwe3ping] test-type pwe3ping [PE-A-nqa-test-pwe3ping] local-pw-id 100 [PE-A-nqa-test-pwe3ping] local-pw-type vlan [PE-A-nqa-test-pwe3ping] label-type control-word Step 3 Perform the test. [PE-A-nqa-test-pwe3ping] start now Step 4 Verify the test result. After running the display nqa results command on the PE device, you can see that the test is successful.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.27.15 Example for Configuring the PWE3 Ping Test on a Multi- Hop PW Networking Requirements As shown in Figure 6-17, CE-A and CE-B are connected to U-PE1 and U-PE2 respectively through PPP.
Page 381
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Preparation To complete the configuration, you need the following data: L2VC IDs on U-PE1 and U-PE2, which must be different MPLS LSR-IDs of U-PE1, S-PE, and U-PE2...
Page 382
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of CE-A sysname CE-A vlan batch 110 interface Vlanif110 ip address 100.1.1.1 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 110 port hybrid untagged vlan 110...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration interface GigabitEthernet0/0/1 port hybrid pvid vlan 140 port hybrid untagged vlan 140 return 6.27.17 Example for Configuring the PWE3 Trace Test on a Multi- Hop PW Networking Requirements...
Page 391
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configure the basic MPLS functions on the backbone network and set up an LSP tunnel. Set up MPLS LDP peer relations between U-PE1 and S-PE, and between U-PE2 and S- Create an MPLS L2VC connection between the two U-PEs.
Page 392
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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 2006-9-30 9:33:3.324 1/4/3 6 success 5.5.5.9 2006-9-30 9:33:3.331 Running the display nqa results command on the PE device, you can see that the test is successful.
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 S5700 Series Ethernet Switches Feature Description - Network Management. Configuration Roadmap The configuration roadmap is as follows: Issue 01 (2011-10-26) Huawei Proprietary and Confidential...
Page 397
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configure a Jitter test. Configure the NQA thresholds. Enable the function of sending trap messages. Configure the function of sending trap messages to the NMS. Data Preparation To complete the configuration, you need the following data: IP address and port number of the server-side host.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration RMON Configuration About This Chapter This chapter describes how to monitor the Ethernet interface through Remote Network Monitoring (RMON). 7.1 Introduction to RMON This part describes working principles of RMON.
SNMP NM Station; so, the administrator can handle it properly without additional training. RMON in the S5700 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 403
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration The statistics group has one table: ethernetStatsTable. NOTE The RMON statistics result is not consistent with the output of the display interface command. Although data is collected from the bottom layer in both the cases, the RMON information is more comprehensive.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Table 7-1 Time span of each table Table Entry Capacity (Byte) Maximum Time Span(s) ethernetStatsTable historyControlTable alarmTable 6000 eventTable logTable prialarmTable 6000 NOTE logTable does not have a time span. Each log entry can have a maximum of 10 pieces of logs. The excessive logs supersede the older ones in a circular manner.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Pre-configuration Tasks Before configuring RMON, complete the following tasks: Configuring parameters for Ethernet interfaces Configuring basic SNMP functions Data Preparation To configure RMON, you need the following data.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration 7.3.3 Configuring the ethernetStatsTable EthernetStatsTable records traffic information that RMON collects on interfaces. Context Do as follows on the switch on which traffic statistics should be collected:...
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Do as follows on the switch on which traffic statistics should be collected: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface { | gigabitethernet | xgigabitethernet } interface-number The interface view is displayed.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration 7.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 410
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON 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.
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 S5700 Series Ethernet Switches Debugging Reference. Perform the configuration in the user view.
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Figure 7-1 Networking diagram of configuring RMON Configuration Roadmap To send a Trap message to the NMS, you need to use SNMP commands to enable the Trap function and set a corresponding community name.
Page 414
Quidway S5700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Will cause log when triggered, last triggered at 0days 00h:00m:00s. Event table 2 owned by User01 is VALID. Description: prialarmevent. Will cause snmp-trap when triggered, last triggered at 0days 00h:00m:00s.