Huawei Quidway S2700 Series Configuration Manual

Huawei Quidway S2700 Series Configuration Manual

Hide thumbs Also See for Quidway S2700 Series:
Table of Contents

Advertisement

Quick Links

Quidway S2700 Series Ethernet Switches
V100R006C00
Configuration Guide - Network
Management
Issue
01
Date
2011-07-15
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei Quidway S2700 Series

  • Page 1 Quidway S2700 Series Ethernet Switches V100R006C00 Configuration Guide - Network Management Issue Date 2011-07-15 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.
  • Page 3: About This Document

    Quidway S2700 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 S2700.
  • Page 4: Command Conventions

    Quidway S2700 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.
  • Page 5: Table Of Contents

    Quidway S2700 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 S2700....................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 S2700 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 S2700......................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....................54 2.3.4 (Optional) Configuring an LLDP Management Address................55...
  • Page 7 Quidway S2700 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)...............................119 3.6.3 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in Non-NAT Mode)............................129...
  • Page 8 Quidway S2700 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 S2700 Series Ethernet Switches Configuration Guide - Network Management Contents 6.12.1 Establishing the Configuration Task....................279 6.12.2 Configuring the TCP Server........................279 6.12.3 Configuring the TCP Client.........................280 6.12.4 Checking the Configuration.........................281 6.13 Configuring the UDP Test..........................282 6.13.1 Establishing the Configuration Task....................282 6.13.2 Configuring the UDP Server.......................283...
  • Page 10 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management Contents 6.19.9 Example for Configuring the UDP Test....................321 6.19.10 Example for Configuring the Jitter Test....................323 6.19.11 Example for Configuring the Test of Sending NQA Threshold Traps to the NMS......326 7 RMON Configuration.......................330 7.1 Introduction to RMON...........................331...
  • Page 11: Snmp Configuration

    Quidway S2700 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.
  • Page 12: Introduction To Snmp

    Quidway S2700 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.
  • Page 13 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Figure 1-1 SNMP structure UDP Port161 Request Response Agent NM Station UDP Port162 Agent NM Station SNMP uses a hierarchical naming convention to identify managed objects and to distinguish between managed objects.
  • Page 14: Snmp Features Supported By The S2700

    Quidway S2700 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 15 Quidway S2700 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 16 Quidway S2700 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...
  • Page 17: Configuring A Device To Communicate With An Nm Station By Running Snmpv1

    Quidway S2700 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.
  • Page 18: Configuring Basic Snmpv1 Functions

    Quidway S2700 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 19 Quidway S2700 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 20 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.
  • Page 21: Optional) Controlling The Nm Station's Access To The Device

    Quidway S2700 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...
  • Page 22: Optional) Enabling The Snmp Extended Error Code Function

    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 23: Optional) Configuring The Trap Function

    Quidway S2700 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...
  • Page 24: Optional) Configuring The Constant Interface Index Feature

    Quidway S2700 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.
  • Page 25: Checking The Configuration

    Quidway S2700 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.
  • Page 26: Establishing The Configuration Task

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Sends requests to the managed device to perform the GetRequest, GetNextRequest, GetResponse, GetBulk, or SetRequest operation, obtaining data and setting values. Receives alarms from the managed device and locates and rectify device faults based on the alarm information.
  • Page 27: Configuring Basic Snmpv2C Functions

    Quidway S2700 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 28 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 29: Optional) Controlling The Nm Station's Access To The Device

    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 30 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 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.
  • Page 31: Optional) Enabling The Snmp Extended Error Code Function

    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 32 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 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 33 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration The lifetime of every trap message depends on the number of generated trap messages. If the switch frequently generates trap messages, a longer lifetime can be set for every trap message to prevent trap messages from being lost.
  • Page 34: Optional) Configuring The Constant Interface Index Feature

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration By default, the log buffer can store a maximum of 500 alarm logs. If the number of alarm logs in the log buffer exceeds 500, the device will delete the alarm logs from the earliest one.
  • Page 35: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration l Dense mode: applies to continuous sub-interface numbering. ----End 1.3.7 Checking the Configuration After SNMPv2c functions are configured, you can view the SNMPv2c configurations. Prerequisite The configurations of basic SNMPv2c functions are complete.
  • Page 36: Establishing The Configuration Task

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Receives alarms from the managed device and locates and rectify device faults based on the alarm information. In the following configuration, after basic SNMP functions are configured, the NM station can manage the device in these manners.
  • Page 37: Configuring Basic Snmpv3 Functions

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 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 38 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 39: Optional) Controlling The Nm Station's Access To The Device

    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.
  • Page 40 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration Context If a device is managed by multiple NM stations that are in the same SNMPv3 user group, note the following points: If all the NM stations need to have rights to access the objects in the Viewdefault view (1.3.6.1), skip the following steps.
  • Page 41: Optional) Enabling The Snmp Extended Error Code Function

    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 42: Optional) Configuring The Trap Function

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 1.4.5 (Optional) Configuring the Trap Function This section describes how to specify the alarms to be sent to the NM station, which will help you to locate important problems. After relevant parameters are set, the security of alarm sending can be improved.
  • Page 43: Optional) Configuring The Constant Interface Index Feature

    Quidway S2700 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.
  • Page 44: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration 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. You may use various sub-interface numbering modes, such as the continuous mode or the discontinuous mode.
  • Page 45: Example For Configuring A Device To Communicate With An Nm Station By Using Snmpv1

    Quidway S2700 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 46 Quidway S2700 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 47 Quidway S2700 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 48: Example For Configuring A Device To Communicate With An Nm Station By Using Snmpv2C

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration vlan batch 100 acl number 2001 rule 5 permit source 1.1.1.2 0 rule 6 deny source 1.1.1.1 0 interface Vlanif100 ip address 1.1.2.1 255.255.255.0 interface GigabitEthernet0/0/1 port hybrid pvid vlan 100...
  • Page 49 Quidway S2700 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 50 Quidway S2700 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.
  • Page 51 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 1 SNMP Configuration <Quidway> display snmp-agent target-host Target-host NO. 1 ----------------------------------------------------------- IP-address : 1.1.1.2 Source interface : - VPN instance Security name : 1.1.2.1 Port : 162 Type : inform...
  • Page 52: Example For Configuring A Device To Communicate With An Nm Station By Using Snmpv3

    Quidway S2700 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 53 Quidway S2700 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 54 Quidway S2700 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 55 Quidway S2700 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...
  • Page 56: Lldp Configuration

    Quidway S2700 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.
  • Page 57: Introduction To Lldp

    Quidway S2700 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.
  • Page 58 Quidway S2700 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 59 Quidway S2700 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...
  • Page 60: Lldp Feature Supported By The S2700

    Quidway S2700 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 61 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Figure 2-5 Each interface has multiple neighbors SwitchD SwitchF LLDPDU SwitchE 10.10.10.1 10.10.10.2 10.10.10.3 SwitchA SwitchB SwitchC LLDP interface SNMP packet NMS: Network Management System LLDPDU packet...
  • Page 62 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration TLV Types Supported by the S2700 Besides the mandatory TLVs Chassis ID TLV, Port ID TLV, Time to Live TLV, and End of LDPDU, the S2700 supports the following optional TLVs.
  • Page 63: Configuring Lldp

    Quidway S2700 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,...
  • Page 64: Enabling Global Lldp

    Quidway S2700 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.
  • Page 65: Optional) Configuring An Lldp Management Address

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Prerequisite LLDP has been enabled globally. Context LLDP can be enabled in the system view and the interface view: After LLDP is enabled in the system view, all interfaces are enabled with LLDP.
  • Page 66: Optional) Configuring The Tlv In The Lldpdu

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 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 67: Optional) Configuring Lldp Timers

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: lldp tlv-enable { basic-tlv { all | management-address | port-description | system-...
  • Page 68 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Prerequisite LLDP has been enabled globally. Context Interval for sending LLDP packets and delay to send LLDP packets When the LLDP status of the device keeps unchanged and the device does not discover new neighbors, the interface module sends LLDP packets to the neighbors at a certain interval.
  • Page 69 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration The hold time multiplier is the Time to Live (TTL) of the packets sent by the local device. You can specify the storage time of device information on the neighbors. After receiving the LLDP packets, the neighbors update the aging time of the device information from the sender according to the TTL.
  • Page 70: Optional) Enabling The Lldp Trap Function

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: lldp message-transmission interval interval The interval for sending LLDP packets is set. By default, the interval for sending LLDP packets is 30 seconds.
  • Page 71: Checking The Configuration

    Quidway S2700 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...
  • Page 72: Clearing Lldp Statistics

    Quidway S2700 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 73 Quidway S2700 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 Eethernet0/0/1 Eethernet0/0/2 Ethernet0/0/1 10.10.10.2 Switch B Configuration Roadmap The configuration roadmap is as follows: Enable global LLDP on SwitchA and SwitchB.
  • Page 74 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration [SwitchA] bpdu enable # Configure SwitchB. [SwitchB] bpdu enable Step 3 Configure management addresses for SwitchA and SwitchB. # Configure SwitchA. [SwitchA] lldp management-address 10.10.10.1 # Configure SwitchB.
  • Page 75 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration LLDP Refresh Delay (default is 2s) LLDP Tx Delay (default is 2s) LLDP Notification Interval (default is 5s) LLDP Notification Enable :enabled (default is disabled) Management Address :IP: 10.10.10.1...
  • Page 76 :HUAWEI, Quidway Series, Ethernet0/0/1 Interface System name :SwitchB System description :Quidway Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S2700 V200R006C00) 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 77: Example For Configuring Lldp On The Device That Has Multiple Neighbors

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Configuration Files Configuration file of SwitchA sysname SwitchA bpdu enable lldp enable interface Ethernet0/0/1 undo port hybrid vlan 1 lldp management-address 10.10.10.1 return Configuration file of SwitchB...
  • Page 78 Quidway S2700 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 79 :HUAWEI, Quidway Series, Ethernet0/0/1 Interface System name :SwitchB System description :Quidway Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S2700 ) 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 80 :HUAWEI, Quidway Series, Ethernet0/0/1 Interface System name :SwitchC System description :Quidway Huawei Versatile Routing Platform Software VRP (R) Software, Version 5.70 (S2700 ) 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 81 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration 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 MED Device information...
  • Page 82: Example For Configuring Lldp On The Network Where Link Aggregation Is Configured

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration lldp enable lldp management-address 10.10.10.2 interface Ethernet0/0/1 undo port hybrid vlan 1 return Configuration file of SwitchC sysname SwitchC bpdu enable lldp enable lldp management-address 10.10.10.3 interface Ethernet0/0/1...
  • Page 83 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Add the physical interfaces of SwitchA and SwitchB to the Eth-Trunk. Enable global LLDP on SwitchA and SwitchB. Enable SwitchA and SwitchB to process LLDP BPDUs. Configure management addresses for SwitchA and SwitchB.
  • Page 84 Quidway S2700 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 85 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Remote Neighbors Deleted Remote Neighbors Dropped Remote Neighbors Aged Total Neighbors Port information: Interface Ethernet0/0/1: LLDP Enable Status :enabled (default is disabled) Total Neighbors Port ID subtype...
  • Page 86 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Auto-negotiation enabled :Yes OperMau :speed(100)/duplex(Full) Power port class PSE power supported PSE power enabled PSE pairs control ability:No Power pairs :Unknown Port power classification:Unknown Link aggregation supported:Yes...
  • Page 87 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration Port PSE Priority :Unknown Port Available power value:0 # View the neighbor information of SwitchA. [SwitchA] display lldp neighbor brief Local Intf Neighbor Dev Neighbor Intf Exptime...
  • Page 88 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 2 LLDP Configuration eth-trunk 1 interface Ethernet0/0/2 eth-trunk 1 interface Ethernet0/0/3 eth-trunk 1 lldp management-address 10.10.10.2 return Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 89: Hgmp Configuration

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

    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 91 Quidway S2700 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...
  • Page 92: Hgmp Features Supported By The S2700

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-2 Networking diagram of a cluster (RRPP) Server IP/MPLS Server core Router Cluster1 Administrator Member1 Member2 Member3 Member4 DSLAM Host Administrator: administrator switch Member: member switch 3.2 HGMP Features Supported by the S2700...
  • Page 93: Roles In A Cluster

    Quidway S2700 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 94 Quidway S2700 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.
  • Page 95: Configuration Synchronization

    Quidway S2700 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.
  • Page 96: Configuring Basic Hgmp Functions

    Quidway S2700 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 97 Quidway S2700 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.
  • Page 98: Configuring Ntdp

    Quidway S2700 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.
  • Page 99: Creating A Cluster

    Quidway S2700 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 100 Quidway S2700 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 101 Quidway S2700 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.
  • Page 102: Adding A Member Switch

    Quidway S2700 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.
  • Page 103: Optional) Deleting Or Quitting A Cluster

    Quidway S2700 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...
  • Page 104: Optional) Deleting A Member Switch

    Quidway S2700 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;...
  • Page 105: Checking The Configuration

    Quidway S2700 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 106 Quidway S2700 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.
  • Page 107: Configuring Advanced Hgmp Functions

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration <HUAWEI_0.Quidway> display cluster candidates PLATFORM 0004-0004-0004 S2700 0003-0003-0003 S2700 0002-0002-0002 S2700 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.
  • Page 108: Adjusting Parameters Of The Cluster

    Quidway S2700 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 109 Quidway S2700 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 110 Quidway S2700 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.
  • Page 111: Managing Switches In A Cluster Through Hgmp

    Quidway S2700 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 112 Quidway S2700 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 113 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 114 Quidway S2700 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>...
  • Page 115: Checking The Configuration

    Quidway S2700 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 116 Quidway S2700 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 117 Quidway S2700 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 ------------------------------------------------------------------------ S2700 0002-0002-0002 10.0.0.2 success S2700 0003-0003-0003 10.0.0.3 success Interfaces running NDP and NTDP are not required on member switches. If NDP and NTDP are disabled successfully, run the display member-interface-state command, and you can view that success is displayed.
  • Page 118: Maintaining Hgmp

    Quidway S2700 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.
  • Page 119: Debugging Hgmp

    Quidway S2700 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 120 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 121 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Configure public servers and hosts for the cluster. 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...
  • Page 122 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-vlan10] quit [Member-2] interface ethernet 0/0/1 [Member-2-Ethernet0/0/1] port link-type trunk [Member-2-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-2-Ethernet0/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3.
  • Page 123 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Software Version: Version 5.70 V200R006C00 Device Name : Member-1 Port Duplex : FULL Product Ver : S2700 Interface: Ethernet0/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0...
  • Page 124 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 125 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 126 Quidway S2700 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 127 Quidway S2700 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 128 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration interface Vlanif10 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable...
  • Page 129: Example For Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration return 3.6.2 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in NAT Mode) Networking Requirements As shown in Figure 3-4, all the Layer 2 switches belong to the same cluster.
  • Page 130 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Administrator-1 0001-0001-0001 Member-1 0002-0002-0002 Member-2 0003-0003-0003 Member-3 0004-0004-0004 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 the section "Example for Configuring Basic HGMP Functions for a...
  • Page 131 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Administrator-1-Ethernet0/0/3] port link-type trunk [Administrator-1-Ethernet0/0/3] port trunk allow-pass vlan 10 [Administrator-1-Ethernet0/0/3] quit [Administrator-1] interface vlanif 10 [Administrator-1-Vlanif10] quit # Configure member switch 1. <Quidway> system-view [Quidway] sysname Member-1...
  • Page 132 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-1-Ethernet0/0/2] ndp enable [Member-1-Ethernet0/0/2] quit # Configure member switch 2. [Member-2] ndp enable [Member-2] interface ethernet 0/0/1 [Member-2-Ethernet0/0/1] ndp enable [Member-2-Ethernet0/0/1] quit # Configure member switch 3.
  • Page 133 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration # Configure member switch 2. [Member-2] ntdp enable [Member-2] ntdp timer 10 [Member-2] ntdp hop 3 [Member-2] interface ethernet 0/0/1 [Member-2-Ethernet0/0/1] ntdp enable [Member-2-Ethernet0/0/1] quit # Configure member switch 3.
  • Page 134 [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 135 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Name MAC Address DeviceType Member-1 0002-0002-0002 S2700 Member-2 0003-0003-0003 S2700 Member-3 0004-0004-0004 S2700 Warning: Add all to cluster?(Y/N) y Info: Cluster auto-build is complete. Added 3 member(s) into the cluster successfully.
  • Page 136 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration # Configure a Simple Network Management Protocol (SNMP) host. [HUAWEI_0.Administrator-1-cluster] snmp-host 3.0.0.1 # Configure a log host. [HUAWEI_0.Administrator-1-cluster] logging-host 4.0.0.1 After the previous configuration, check information about the cluster to which the administrator switch belongs.
  • Page 137 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Password: 230 User logged in. ftp> ----End Configuration Files Configuration file of Administrator-1. sysname Administrator-1 vlan batch 10 cluster enable ntdp enable ntdp hop 5 ntdp timer 10...
  • Page 138 Quidway S2700 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 Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable cluster...
  • Page 139: Example For Configuring The Interconnection Of Ftp Servers And Devices In And Out Of The Hgmp Cluster (In Non-Nat Mode)

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration return 3.6.3 Example for Configuring the Interconnection of FTP Servers and Devices in and out of the HGMP Cluster (in Non-NAT Mode) Networking Requirements As shown in Figure 3-5, all the Layer 2 switches belong to the same cluster.
  • Page 140 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Administrator-1 0001-0001-0001 Member-1 0002-0002-0002 Member-2 0003-0003-0003 Member-3 0004-0004-0004 Configuration Roadmap The configuration roadmap is as follows: Create a cluster and configure basic HGMP functions for the cluster according to the steps...
  • Page 141 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Administrator-1-Ethernet0/0/1] quit [Administrator-1] interface ethernet 0/0/2 [Administrator-1-Ethernet0/0/2] port link-type trunk [Administrator-1-Ethernet0/0/2] port trunk allow-pass vlan 10 [Administrator-1-Ethernet0/0/2] quit [Administrator-1] interface ethernet 0/0/3 [Administrator-1-Ethernet0/0/3] port link-type trunk [Administrator-1-Ethernet0/0/3] port trunk allow-pass vlan 10...
  • Page 142 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-1] ndp enable [Member-1] interface ethernet 0/0/1 [Member-1-Ethernet0/0/1] ndp enable [Member-1-Ethernet0/0/1] quit [Member-1] interface ethernet 0/0/2 [Member-1-Ethernet0/0/2] ndp enable [Member-1-Ethernet0/0/2] quit # Configure member switch 2. [Member-2] ndp enable...
  • Page 143 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-1-Ethernet0/0/1] ntdp enable [Member-1-Ethernet0/0/1] quit [Member-1] interface ethernet 0/0/2 [Member-1-Ethernet0/0/2] ntdp enable [Member-1-Ethernet0/0/2] quit # Configure member switch 2. [Member-2] ntdp enable [Member-2] ntdp timer 10 [Member-2] ntdp hop 3...
  • Page 144 [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 145 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration # Add all candidate switches to the cluster. [HUAWEI_0.Administrator-1-cluster] auto-build Collecting candidate list, please wait... Candidate list: Name MAC Address DeviceType Member-1 0002-0002-0002 S2700 Member-2 0003-0003-0003 S2700...
  • Page 146 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [HUAWEI_1.Member-1] ip route-static 2.0.0.0 8 10.0.0.1 # Configure member switch 2. [HUAWEI_2.Member-2] ip route-static 2.0.0.0 8 10.0.0.1 # Configure member switch 3. [HUAWEI_3.Member-3] ip route-static 2.0.0.0 8 10.0.0.1 NOTE Multiple member switches can be configured simultaneously through incremental configuration.
  • Page 147 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration interface Vlanif10 ip address 1.0.0.1 255.0.0.0 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10...
  • Page 148: Example For Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host (In Nat Mode)

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration cluster enable ntdp enable ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable...
  • Page 149 Quidway S2700 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 outside SNMP host (3.0.0.1/8). Figure 3-6 Networking diagram of configuring devices in the HGMP cluster to access the...
  • Page 150 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Assign an IP address to the SNMP host. Data Preparation To complete the configuration, you need the following data: Management VLAN ID of the cluster, that is 10 IP address of the SNMP host, that is 3.0.0.1/8...
  • Page 151 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-vlan10] quit [Member-2] interface ethernet 0/0/1 [Member-2-Ethernet0/0/1] port link-type trunk [Member-2-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-2-Ethernet0/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3.
  • Page 152 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Software Version: Version 5.70 V200R006C00 Device Name : Member-1 Port Duplex : FULL Product Ver : S2700 Interface: Ethernet0/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0...
  • Page 153 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 154 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 155 Quidway S2700 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 156 Quidway S2700 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 157 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration interface Vlanif10 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10 ntdp enable...
  • Page 158: Example For Configuring Devices In The Hgmp Cluster To Access The Outside Snmp Host (In Non-Nat Mode)

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return 3.6.5 Example for Configuring Devices in the HGMP Cluster to Access the Outside SNMP Host (in non-NAT Mode) Networking Requirements...
  • Page 159 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Figure 3-7 Networking diagram of configuring devices in the HGMP cluster to access the outside SNMP host (in non-NAT mode) FTP Server 2.0.0.1/8 NM station 3.0.0.1/8 IP/MPLS...
  • Page 160 Quidway S2700 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 the SNMP host, that is 3.0.0.1/8 IP address of VLANIF 10 that is 1.0.0.1/8 and a reachable route between VLANIF 10 and...
  • Page 161 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-2-Ethernet0/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3 [Member-3] vlan 10...
  • Page 162 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Product Ver : S2700 Interface: Ethernet0/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 : Ethernet0/0/1 Software Version: Version 5.70 V200R006C00...
  • Page 163 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 164 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 165 Quidway S2700 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 166 Quidway S2700 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 167 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration ntdp hop 5 ntdp timer 10 ndp enable interface Vlanif10 ip address 1.0.0.1 255.0.0.0 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable...
  • Page 168 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration snmp-agent snmp-agent target-host trap address udp-domain 3.0.0.1 params securityname cluster return Configuration file of Member-2. sysname Member-2 FTP server enable vlan batch 10 cluster enable ntdp enable...
  • Page 169: Example For Configuring The Batch Distribution Function For An Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration return 3.6.6 Example for Configuring the Batch Distribution Function for an HGMP Cluster Networking Requirements As shown in Figure 3-8, all the Layer 2 switches belong to the same cluster. Administrator-1 is the administrator switch of the cluster and other switches are member switches.
  • Page 170 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Configuration Roadmap The configuration roadmap is as follows: Create a cluster according to the steps described in 3.6.1 Example for Configuring Basic HGMP Functions for a Cluster.
  • Page 171 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-1-vlan10] quit [Member-1] interface ethernet 0/0/1 [Member-1-Ethernet0/0/1] port link-type trunk [Member-1-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-1-Ethernet0/0/1] quit [Member-1] interface ethernet 0/0/2 [Member-1-Ethernet0/0/2] port link-type trunk [Member-1-Ethernet0/0/2] port trunk allow-pass vlan 10...
  • Page 172 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-3] ndp enable [Member-3] interface ethernet 0/0/1 [Member-3-Ethernet0/0/1] ndp enable [Member-3-Ethernet0/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 173 Quidway S2700 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 ethernet 0/0/1 [Member-3-Ethernet0/0/1] ntdp enable [Member-3-Ethernet0/0/1] quit After the previous configuration, globally check the NTDP configuration on the administrator switch.
  • Page 174 [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 175 Quidway S2700 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 176 Quidway S2700 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 177 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Startup saved-configuration file: flash:/vrpcfg.zip Next startup saved-configuration file: flash:/vrpcfg-hgmp.zip Startup paf file: NULL Next startup paf file: NULL Startup license file: NULL Next startup license file: NULL...
  • Page 178 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration ndp enable interface Vlanif10 interface Ethernet0/0/1 port link-type trunk port trunk allow-pass vlan 10 ntdp enable ndp enable interface Ethernet0/0/2 port link-type trunk port trunk allow-pass vlan 10...
  • Page 179: Example For Configuring The Batch Restart Function For An Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return 3.6.7 Example for Configuring the Batch Restart Function for an HGMP Cluster 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.
  • Page 180 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Configuration Roadmap The configuration roadmap is as follows: Create a cluster according to the steps described in 3.6.1 Example for Configuring Basic HGMP Functions for a Cluster.
  • Page 181 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration # Configure member switch 2. <Quidway> system-view [Quidway] sysname Member-2 [Member-2] vlan 10 [Member-2-vlan10] quit [Member-2] interface ethernet 0/0/1 [Member-2-Ethernet0/0/1] port link-type trunk [Member-2-Ethernet0/0/1] port trunk allow-pass vlan 10...
  • Page 182 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Interface: Ethernet0/0/1 Status: Enabled, Packets Sent: 0, Packets Received: 11, Packets Error: 0 Neighbor 1: Aging Time: 2(s) MAC Address : 0002-0002-0002 Port Name : Ethernet0/0/1 Software Version: Version 5.70 V200R006C00...
  • Page 183 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI Issue 01 (2011-07-15) Huawei Proprietary and Confidential...
  • Page 184 3 HGMP Configuration [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 185 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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.
  • Page 186 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration IP pool:10.0.0.1/8 Logging host:4.0.0.1 SNMP host:3.0.0.1 FTP server:2.0.0.1 SFTP server:2.0.0.2 cluster-member ftp-timeout: 300 sec(default) 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 187 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration 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 cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server 2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2...
  • Page 188: Example For Configuring The Incremental Configuration Function For An Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable...
  • Page 189 Quidway S2700 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 Log station Ethernet0/0/1 4.0.0.1/8...
  • Page 190 Quidway S2700 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 191 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Quidway] sysname Member-3 [Member-3] vlan 10 [Member-3-vlan10] quit [Member-3] interface ethernet 0/0/1 [Member-3-Ethernet0/0/1] port link-type trunk [Member-3-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-3-Ethernet0/0/1] quit [Member-3] interface vlanif 10 [Member-3-Vlanif10] quit Step 2 Configure NDP.
  • Page 192 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Duplex : FULL Product Ver : S2700 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 193 [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 194 Quidway S2700 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 195 Quidway S2700 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 196 Quidway S2700 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 197 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration cluster mngvlanid 10 ip-pool 10.0.0.1 255.0.0.0 build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server 2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1.
  • Page 198: Example For Configuring The Configuration Synchronization Function For An Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable interface Vlanif10 interface Ethernet0/0/1 port link-type trunk...
  • Page 199 Quidway S2700 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 Log station Ethernet0/0/1 4.0.0.1/8...
  • Page 200 Quidway S2700 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 201 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Member-2-Ethernet0/0/1] port link-type trunk [Member-2-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-2-Ethernet0/0/1] quit [Member-2] interface vlanif 10 [Member-2-Vlanif10] quit # Configure member switch 3. <Quidway> system-view [Quidway] sysname Member-3...
  • Page 202 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Duplex : FULL Product Ver : S2700 Interface: Ethernet0/0/2 Status: Enabled, Packets Sent: 6, Packets Received: 16, Packets Error: 0 Neighbor 1: Aging Time: 5(s) MAC Address : 0003-0003-0003...
  • Page 203 # On the administrator switch, set the range of IP addresses that can be assigned to the cluster to 10.0.0.0/8, in which the IP address assigned to the administrator switch is 10.0.0.1/8. [Administrator-1] cluster [Administrator-1-cluster] ip-pool 10.0.0.1 8 # Create a cluster named HUAWEI on the administrator switch. [Administrator-1-cluster] build HUAWEI [HUAWEI_0.Administrator-1-cluster] Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 204 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 205 Quidway S2700 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 206 Quidway S2700 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 207 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration interface Ethernet0/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 cluster-ftp-nat enable ftp-server 2.0.0.1 sftp-server 2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2...
  • Page 208: Example For Configuring Security Features For An Hgmp Cluster

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration ndp enable cluster mngvlanid 10 administrator-address 0001-0001-0001 name HUAWEI return Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 5 ntdp timer 10...
  • Page 209 Quidway S2700 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 Log station Ethernet0/0/1 4.0.0.1/8 1.0.0.2/8...
  • Page 210 Quidway S2700 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 211 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration [Quidway] sysname Member-3 [Member-3] vlan 10 [Member-3-vlan10] quit [Member-3] interface ethernet 0/0/1 [Member-3-Ethernet0/0/1] port link-type trunk [Member-3-Ethernet0/0/1] port trunk allow-pass vlan 10 [Member-3-Ethernet0/0/1] quit [Member-3] interface vlanif 10 [Member-3-Vlanif10] quit Step 2 Configure NDP.
  • Page 212 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Port Duplex : FULL Product Ver : S2700 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 213 [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 214 Quidway S2700 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 215 Quidway S2700 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 216 Quidway S2700 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...
  • Page 217 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration build HUAWEI cluster-ftp-nat enable ftp-server 2.0.0.1 sftp server 2.0.0.2 logging-host 4.0.0.1 snmp-host 3.0.0.1 ip route-static 0.0.0.0 0.0.0.0 1.0.0.2 return Configuration file of Member-1. sysname Member-1 vlan batch 10...
  • Page 218 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 3 HGMP Configuration Configuration file of Member-3. sysname Member-3 vlan batch 10 cluster enable ntdp enable ntdp hop 3 ntdp timer 10 ndp enable interface Vlanif10 interface Ethernet0/0/1 port link-type trunk...
  • Page 219: Ntp Configuration

    Quidway S2700 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.
  • Page 220: Introduction To Ntp

    Quidway S2700 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 221 Quidway S2700 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.
  • Page 222: Ntp Supported By The S2700

    Quidway S2700 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).
  • Page 223: Configuring Basic Ntp Functions

    Quidway S2700 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.
  • Page 224: Configuring The Ntp Primary Clock

    Quidway S2700 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.
  • Page 225: Configuring The Unicast Server/Client Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ntp-service refclock-master [ ip-address ] [ stratum ] A primary NTP server is displayed.
  • Page 226: Configuring The Peer Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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.
  • Page 227: Configuring The Broadcast Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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.
  • Page 228: Configuring The Multicast Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration After the configurations, the local switch periodically sends the clock synchronization packets to the broadcast address 255.255.255.255. NOTE Broadcast mode can be used only in the same LAN.
  • Page 229: Disabling The Interface From Receiving Ntp Packets

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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. Run:...
  • Page 230: Optional) Setting The Maximum Number Of Dynamic Ntp Sessions

    Quidway S2700 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.
  • Page 231: Configuring Ntp Security Mechanisms

    Quidway S2700 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 232 Quidway S2700 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 S2700 to protect local NTP services.
  • Page 233: Setting Ntp Access Authorities

    Quidway S2700 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...
  • Page 234: Enabling Ntp Authentication

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration NTP Operation Mode Limited NTP Query Supported Devices Unicast NTP server/client Clock synchronization Server mode request from the client NTP peer mode Clock synchronization with Symmetric active end...
  • Page 235: Configuring Ntp Authentication In Unicast Server/Client Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration The authentication key is declared to be reliable. ----End 4.4.4 Configuring NTP Authentication in Unicast Server/Client Mode By configuring the authentication key ID used in the synchronization with the specific NTP server on the NTP client, you can apply NTP authentication in C/S mode.
  • Page 236: Configuring Ntp Authentication In Broadcast Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration 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.
  • Page 237: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration interface vlanif vlan-id The interface to send multicast NTP packets is specified. Step 4 Run: ntp-service multicast-server [ authentication-keyid key-id | version number ]* The ID of the authentication key used by the NTP multicast server is configured.
  • Page 238: Configuration Examples

    Run the following debugging commands in the user view to debug NTP and locate the fault. For the description about the debugging commands, refer to the Quidway S2700 Series Ethernet Switches Command Reference. Procedure...
  • Page 239 Quidway S2700 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 240 Quidway S2700 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 241 Quidway S2700 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.
  • Page 242 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration interface Ethernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100 ospf 1 area 0.0.0.0 network 2.2.2.0 0.0.0.255 ntp-service authentication enable ntp-service authentication-keyid 42 authentication-mode md5 %@ENC;8HX \#Q=^Q`MAF4<1!!
  • Page 243: Example For Configuring The Common Ntp Peer Mode

    Quidway S2700 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 Ethernet0/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 244 Quidway S2700 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 245 Quidway S2700 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.
  • Page 246: Example For Configuring Ntp Authentication In Broadcast Mode

    Quidway S2700 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 247 Quidway S2700 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 248 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration [SwitchA-Ethernet0/0/1] port hybrid untagged vlan 20 [SwitchA-Ethernet0/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 249 Quidway S2700 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.
  • Page 250: Example For Configuring The Common Ntp Multicast Mode

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Configuration file of Switch D sysname SwitchD vlan batch 10 interface Vlanif10 ip address 3.0.1.32 255.255.255.0 ntp-service broadcast-client interface Ethernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 ntp-service authentication enable ntp-service authentication-keyid 16 authentication-mode md5 %@ENC;8HX...
  • Page 251 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration Figure 4-5 Networking diagram for configuring the NTP multicast mode Ethernet0/0/1 VLANIF10 3.0.1.31/24 Ethernet Ethernet Ethernet 0/0/1 SwitchC 0/0/1 0/0/2 VLANIF10 VLANIF20 VLANIF20 Ethernet0/0/1 SwitchA SwitchF 3.0.1.2/24 1.0.1.11/24...
  • Page 252 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration [SwitchD-Ethernet0/0/1] quit [SwitchD] interface vlanif 10 [SwitchD-Vlanif10] ip address 3.0.1.32 24 [SwitchD-Vlanif10] quit # Configure the IP address of the VLANIF interface on Switch F. <SwitchF> system-view...
  • Page 253 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration # Configure Switch A as the NTP multicast client and configure Switch A to sense NTP multicast packets through VLANIF20. <SwitchA> system-view [SwitchA] interface vlanif 20 [SwitchA-vlanif20] ntp-service multicast-client [SwitchA-vlanif20] quit Step 6 Verify the configuration.
  • Page 254 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 4 NTP Configuration ntp-service multicast-server interface Ethernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 return Configuration file of Switch D sysname SwitchD vlan batch 10 interface Vlanif10 ip address 3.0.1.32 255.255.255.0...
  • Page 255: Ping And Tracert

    Quidway S2700 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"...
  • Page 256: Ping

    Quidway S2700 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.
  • Page 257: Performing Ping And Tracert Operations

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

    Network connectivity is tested. Only some of the parameters are specified in the preceding ping command. For details on more parameters, refer to the Quidway S2700 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"...
  • Page 259: Locating Faults On The Network Through The Tracert Operation

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

    Quidway S2700 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 261 Quidway S2700 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 262 Quidway S2700 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.
  • Page 263: Nqa Configuration

    Quidway S2700 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 264 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 Universal NQA Test Parameters This section describes how to set and use universal parameters for NQA test instances.
  • Page 265: Introduction To Nqa

    Quidway S2700 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). NOTE The S2700SI does not support NQA. As the value-added services on networks are developed, users and carriers demand higher Quality of Service (QoS).
  • Page 266: Nqa Server And Nqa Clients

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration You can also configure the Network Management System (NM Station) to control each NQA operation parameter and enable NQA tests. 6.3 NQA Server and NQA Clients This part describes the relationships between NQA client, NQA server, and NQA test instance.
  • Page 267: Nqa Supported By The S2700

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.4 NQA Supported by the S2700 This part describes NQA test types and scheduling modes supported by the S2700. Features Provided by NQA Cooperates with the NM Station: –...
  • Page 268: Configuring The Icmp Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Supports the configuration of different start time and end time for a single test: – Supports three modes of starting tests: immediate, timely, and delayed. – Supports several modes of ending tests: automatic, immediate, timely, delayed, and ending the test when the lifetime of the test expires.
  • Page 269: Configuring Icmp Test Parameters

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Start mode and end mode 6.5.2 Configuring ICMP Test Parameters This part describes how to set ICMP test parameters. Context Do as follows on the NQA client:...
  • Page 270: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration datafill equals the "-p" option in the ping command. 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.
  • Page 271: Configuring The Ftp Download Test

    Quidway S2700 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"...
  • Page 272: Configuring The Ftp Download Test Parameters

    Quidway S2700 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 source and destination port numbers of the FTP operation...
  • Page 273: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the NQA test packet to be sent without searching the routing table, run the sendpacket passroute command. Step 6 Run: ftp-operation get The FTP operation type is set to Get.
  • Page 274: Configuring The Ftp Upload Test

    Quidway S2700 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.
  • Page 275: Configuring The Ftp Upload Test Parameters

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Pre-configuration Tasks Before configuring the FTP upload test, complete the following tasks: Configuring the FTP user name and password and the login directory Configuring routes between the NQA client and the FTP server Data Preparation To configure the FTP upload test, you need the following data.
  • Page 276 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 5 (Optional) Perform the following as required to configure other parameters for the FTP upload test ( For detailed parameter configurations, see the chapter Configuring Universal NQA Test Parameters l To configure the source IP address, run the source-address ipv4 ip-address command.
  • Page 277: Checking The Configuration

    Quidway S2700 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.
  • Page 278: Configuring The Http Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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.
  • Page 279: Configuring Http Test Parameters

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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): Procedure Step 1 Run: system-view The system view is displayed.
  • Page 280: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 8 Run: start The NQA test is started. Select the start mode as required because the start command has several forms. l To perform the NQA test immediately, run the start now [ end { at [ yyyy/mm/dd ] hh:mm:ss | delay { seconds second | hh:mm:ss } | lifetime { seconds second | hh:mm:ss } } ] command.
  • Page 281: Configuring The Dns Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration SendProbe:3 ResponseProbe:3 Completion:success RTD OverThresholdsnumber: 0 MessageBodyOctetsSum: 411 TargetAddress: 100.2.1.200 DNSQueryError number: 0 HTTPError number: 0 TcpConnError number : 0 System busy operation number:0 DNSRTT Sum/Min/Max:0/0/0 TCPConnectRTT Sum/Min/Max: 6/1/4...
  • Page 282 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Context Do as follows on the NQA client (DNS client): Procedure Step 1 Run system-view The system view is displayed. Step 2 Run: dns resolve Enable dynamic DNS resolution. By default, the function is disabled.
  • Page 283: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The test instance is started after a certain delay. ----End 6.9.3 Checking the Configuration After configuring the DNS test, you can view the test result. Prerequisite The configurations of the DNS Test function are complete.
  • Page 284: Configuring Parameters For A Traceroute Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Applicable Environment An NQA Traceroute test can provide functions similar to those provided by the tracert command, but outputs more detailed information. Pre-configuration Tasks Before configuring a traceroute test, configure reachable routes between the NQA client and the device to be tested.
  • Page 285: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 5 Run the following commands as required ( For detailed parameter configurations, see the chapter Configuring Universal NQA Test Parameters l To configure the maximum hops, run:...
  • Page 286: Configuring The Snmp Query Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run the display nqa results [ test-instance admin-name test-name ] command to view the test results on the NQA client. ----End Example Run the display nqa results command. If the statistics about each hop are displayed, it means that the traceroute test is successful.
  • Page 287: Configuring The Snmp Query Test Parameters

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name IP address of the SNMP agent (Optional) Source IP addresses and source port numbers of test packets, interval for sending test packets, and percentage of the failed NQA tests Start mode and end mode of the test 6.11.2 Configuring the SNMP Query Test Parameters...
  • Page 288: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l To configure the NQA test packets to be sent without searching the routing table, run the sendpacket passroute command. Step 6 Run: start The NQA test is started.
  • Page 289: Configuring The Tcp Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Attempts number:0 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Stats errors number:0 Destination ip address:10.2.1.2...
  • Page 290: Configuring The Tcp Client

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Context Do as follows on the NQA server (TCP server): Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: nqa-server tcpconnect ip-address port-number The TCP monitoring service is configured.
  • Page 291: Checking The Configuration

    Quidway S2700 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 source port number, run the source-port port-numbercommand. l To configure the interval for sending test packets, run the interval seconds interval command.
  • Page 292: Configuring The Udp Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Procedure Run the display nqa results [ test-instance admin-name test-name ] command to view the test results on the NQA client. Run the display nqa-server command to view the information about the NQA server.
  • Page 293: Configuring The Udp Server

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Preparation To configure the UDP test, you need the following data. Data Administrator name and test name IP address and port of the UDP server Destination IP addresss and the port of the probe packets sent by the UDP client...
  • Page 294 Quidway S2700 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.
  • Page 295: Checking The Configuration

    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. Issue 01 (2011-07-15) Huawei Proprietary and Confidential Copyright ©...
  • Page 296: Establishing The Configuration Task

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 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. This can help you complete the configuration task quickly and accurately.
  • Page 297: Configuring The Jitter Server

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Start mode and end mode of the test 6.14.2 Configuring the Jitter Server The IP address and number of the port monitored by the server must be identical with those configured on the client.
  • Page 298 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration destination to the source or from an unknown direction). According to these statistics, the network administrator can easily detect network faults and malicious attacks. Step 3 Run: nqa test-instance admin-name test-name An NQA test instance is created and the test instance view is displayed.
  • Page 299: Checking The Configuration

    Quidway S2700 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.
  • Page 300: Configuring Universal Nqa Test Parameters

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Max Negative SD:1 Max Negative DS:1 Negative SD Number:15 Negative DS Number:1 Negative SD Sum:15 Negative DS Sum:1 Negative SD Square Sum:15 Negative DS Square Sum:1 Min Delay SD:0...
  • Page 301 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l Run: agetime hh:mm:ss The aging time is set for the NQA test instance. l Run: datafill fillstring The fill string is set for the NQA test instance.
  • Page 302 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The test period is set for the NQA test instance. l Run: ftp-filename file-name The file name and file path are configured for the FTP test instance.
  • Page 303 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration The number of test packets is set for the NQA test instance. l Run: probe-count number The number of probes for one time is set. NOTE This parameter cannot be configured for FTP and DNS test instances.
  • Page 304: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration l Run: test-failtimes times The trap threshold for continuous probe failures is set for the NQA test instance. l Run: timeout time The timeout period is set for the NQA test instance.
  • Page 305: Configuring Round-Trip Delay Thresholds

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Prerequisite The configurations of the Universal NQA Test Parameters function are complete. Procedure Step 1 Run the display nqa-agent [admin-name test-name ] [ verbose ] to view the status of the test instance configured on the NQA client.
  • Page 306: Configuring Round-Trip Delay Thresholds

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Administrator name and test name Round-trip transmission delay threshold 6.16.2 Configuring Round-Trip Delay Thresholds This part describes how to set a round-trip transmission delay threshold. When the transmission duration exceeds the threshold, a trap message is sent to the Network Management System (NMS).
  • Page 307: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.16.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.
  • Page 308: Sending Trap Messages When Test Failed

    Quidway S2700 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.
  • Page 309: Sending Trap Messages When Probes Failed

    Quidway S2700 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 } The test type is configured.
  • Page 310: Sending Trap Messages When Probes Are Complete

    Quidway S2700 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 probefailure Sending trap messages when probes fail is enabled.
  • Page 311: Sending Trap Messages When The Transmission Delay Exceeds Thresholds

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Sending trap messages when tests are completed is enabled. By default, the trap function is disabled. ----End 6.17.5 Sending Trap Messages When the Transmission Delay Exceeds Thresholds A trap message is sent to the NMS when the test result exceeds the threshold.
  • Page 312: Maintaining Nqa

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Run the display trapbuffer [ size value ] to view the trap messages sent in an NQA test. ----End Example Run the display trapbuffer [ size value ] command. If information about the trap messages is displayed, it means that the configuration succeeds.
  • Page 313: Clearing Nqa Statistics

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Step 3 Run the restart command in the NQA instance view to restart an NQA test instance. ----End 6.18.2 Clearing NQA Statistics When the statistics on the current test instance are saved to the FTP server, you can clear test results on the device.
  • Page 314: Configuration Examples

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.19 Configuration Examples This section provides several configuration examples of NQA. 6.19.1 Example for Configuring the ICMP Test Networking Requirements As shown in Figure 6-3, Switch A and Switch B must be connected at Layer 3 through the VLANIF interface.
  • Page 315 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration [SwitchB] vlan 10 [SwitchB-Vlan10] quit [SwitchB] interface ethernet 0/0/1 [SwitchB-Ethernet0/0/1] port hybrid pvid vlan 10 [SwitchB-Ethernet0/0/1] port hybrid untagged vlan 10 [SwitchB-Ethernet0/0/1] quit Step 2 Configure the VLANIF interface and assign an IP address to the VLANIF interface.
  • Page 316: Example For Configuring The Ftp Download Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration file of Switch B sysname SwitchB vlan batch 10 interface Vlanif10 ip address 10.1.1.2 255.255.255.0 interface Ethernet0/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 return 6.19.2 Example for Configuring the FTP Download Test...
  • Page 317 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Procedure Step 1 Configure the IP addresses of Switch A and Switch B. The configuration details are not mentioned here. Step 2 Configure Switch B as the FTP server.
  • Page 318: Example For Configuring The Ftp Upload Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration ftp-password hello ftp-filename test.txt ftp-operation get return Configuration file of Switch B sysname SwitchB vlan batch 10 interface Vlanif10 ip address 10.1.1.2 255.255.255.0 interface Ethernet0/0/1 port hybrid pvid vlan 10...
  • Page 319 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Data Preparation To complete the configuration, you need the following data: IP address of the FTP server Source IP address for the test FTP user name and password...
  • Page 320 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 2540 KB total (1536 KB free) ----End 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 Ethernet0/0/1...
  • Page 321: Example For Configuring The Http Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration port hybrid pvid vlan 20 port hybrid untagged vlan 20 local-user user1 password cipher 3MQ*TZ,O3KCQ=^Q`MAF4<1!! local-user user1 service-type ftp local-user user1 ftp-directory flash: ip route-static 10.1.1.0 255.255.255.0 10.2.1.1 return 6.19.4 Example for Configuring the HTTP Test...
  • Page 322: Example For Configuring The Dns Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration [Quidway-nqa-admin-http] test-type http [Quidway-nqa-admin-http] destination-address ipv4 10.2.1.1 [Quidway-nqa-admin-http] http-operation get [Quidway-nqa-admin-http] http-url www.huawei.com Step 3 Perform the test. [Quidway-nqa-admin-http] start now Step 4 Verify the test result.
  • Page 323 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Figure 6-7 Networking diagram for configuring the DNS test server.com 10.2.1.1/24 Switch Ethernet 10.1.1.2/24 0/0/1 Network VLANIF100 10.1.1.1/24 DNS Server 10.3.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Configure the Switch as the NQA client.
  • Page 324: Example For Configuring The Traceroute Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Send operation times: 1 Receive response times: 1 Completion:success RTD OverThresholds number: 0 Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0...
  • Page 325 Quidway S2700 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. Create and perform the traceroute test on Switch A to check the statistics on each hop from Switch A to Switch C.
  • Page 326 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Configuration Files Configuration file of Switch A sysname SwitchA vlan batch 100 interface Vlanif100 ip address 10.1.1.1 255.255.255.0 interface Ethernet0/0/1 port hybrid pvid vlan 100 port hybrid untagged vlan 100...
  • Page 327: Example For Configuring The Snmp Query Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration 6.19.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 328 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Attempts number:1 Drop operation number:0 Disconnect operation number:0 Operation timeout number:0 System busy operation number:0 Connection fail number:0 Operation sequence errors number:0 RTT Stats errors number:0 Destination ip address:10.2.1.2...
  • Page 329: Example For Configuring The Tcp Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration port hybrid untagged vlan 110 ip route-static 10.1.1.0 255.255.255.0 10.2.1.1 snmp-agent snmp-agent local-engineid 000007DB7F00000100006294 snmp-agent sys-info version v3 return 6.19.8 Example for Configuring the TCP Test Networking Requirements...
  • Page 330 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration # Enable the NQA client and create a TCP Private test. <SwitchA> system-view [SwitchA] nqa test-instance admin tcp [SwitchA-nqa-admin-tcp] test-type tcp [SwitchA-nqa-admin-tcp] destination-address ipv4 10.2.1.2 [SwitchA-nqa-admin-tcp] destination-port 9000 Step 4 Perform the test.
  • Page 331: Example For Configuring The Udp Test

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration port hybrid untagged vlan 100 interface Ethernet0/0/2 port hybrid pvid vlan 110 port hybrid untagged vlan 110 return Configuration file of Switch C sysname SwitchC vlan batch 110 interface Vlanif110 ip address 10.2.1.2 255.255.255.0...
  • Page 332 Quidway S2700 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.
  • Page 333: Example For Configuring The Jitter Test

    Switch A to Switch C. Switch A and Switch C synchronize the clock from Switch B so that the test precision is improved. NOTE For information about clock synchronization, see "NTP" in the Quidway S2700 Series Ethernet Switches Feature Description - Network Management. Figure 6-12 Networking diagram for configuring the Jitter test...
  • Page 334 Quidway S2700 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 335 Quidway S2700 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...
  • Page 336: Example For Configuring The Test Of Sending Nqa Threshold Traps To The Nms

    VLANIF120 NQA Server 30.1.1.1/24 10.1.1.2/24 NOTE For the information about clock synchronization, see "NTP" in the Quidway S2700 Series Ethernet Switches Feature Description - Network Management. Configuration Roadmap The configuration roadmap is as follows: Configure a Jitter test. Configure the NQA thresholds.
  • Page 337 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration IP address and port number of the server-side host. Type of the monitored service and monitoring port number RTD threshold and OWD threshold IP address of the NMS...
  • Page 338 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration Positive SD Sum:2128 Positive DS Sum:0 Positive SD Square Sum :4864 Positive DS Square Sum :0 Min Negative SD:1 Min Negative DS:1 Max Negative SD:16 Max Negative DS:2...
  • Page 339 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 6 NQA Configuration test-type jitter destination-address ipv4 30.1.1.2 destination-port 9000 threshold rtd 20 send-trap rtd snmp-agent snmp-agent local-engineid 000007DB7F00000100007B29 snmp-agent sys-info version v2c v3 snmp-agent target-host trap address udp-domain 20.1.1.2 params securityname...
  • Page 340: Rmon Configuration

    Quidway S2700 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.
  • Page 341: Introduction To Rmon

    SNMP NM Station; so, the administrator can handle it properly without additional training. RMON in the S2700 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 342 Quidway S2700 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.
  • Page 343: Configuring Rmon

    Quidway S2700 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.
  • Page 344: Enabling The Rmon Statistics Function On The Interface

    Quidway S2700 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.
  • Page 345: Configuring The Ethernetstatstable

    Quidway S2700 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:...
  • Page 346: Configuring The Eventtable

    Quidway S2700 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 { ethernet | gigabitethernet | } interface-number The interface view is displayed.
  • Page 347: Configuring The Alarmtable

    Quidway S2700 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 348: Checking The Configuration

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Step 2 Run: rmon prialarm entry-number prialarm-formula description-string sampling-interval { absolute | changeratio | delta } rising-threshold threshold-value1 event-entry1 falling-threshold threshold-value2 event-entry2 entrytype { cycle entry-period | forever } [ owner owner-name ] The prialarmTable is configured.
  • Page 349 Quidway S2700 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.
  • Page 350: Maintaining Rmon

    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 S2700 Series Ethernet Switches Debugging Reference. Perform the configuration in the user view.
  • Page 351: Configuration Procedure

    Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Figure 7-1 Networking diagram of configuring RMON Ethernet 0/0/1 Network Switch VLAN 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 352 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration Statistics entry 1 owned by User01 is VALID.Received Interface : Ethernet0/0/1<ifEntry.514> Received octets :156 , packets broadcast packets , multicast packets:1 undersized packets , oversized packets:0 fragments packets...
  • Page 353 Quidway S2700 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.
  • Page 354 Quidway S2700 Series Ethernet Switches Configuration Guide - Network Management 7 RMON Configuration interface Ethernet0/0/1 rmon-statistics enable rmon statistics 1 owner user01 rmon history 1 buckets 10 interval 30 owner user01 rmon event 1 description logevent log owner User01 rmon event 2 description prialarmeven trap public owner User01 rmon alarm 1 1.3.6.1.2.1.16.1.1.1.6.1 30 absolute rising-threshold 10000 2 falling-...

Table of Contents