No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Network Management and Monitoring

CloudEngine 12800 and 12800E V200R005C10

This document describes the configurations of Network Management and Monitoring, including SNMP, RMON, LLDP, NQA, Service Diagnosis, Mirroring, Packet Capture, sFlow, and NETCONF.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Configuring iPCA End-to-End Performance Measurement

Example for Configuring iPCA End-to-End Performance Measurement

Networking Requirements

As networks rapidly develop and applications become diversified, various value-added services are widely used. Link connectivity and network performance influence network quality.
  • For example, users will not sense any change in voice quality if the packet loss rate on voice links is lower than 5%. If the packet loss rate is higher than 10%, voice quality will deteriorate obviously.
  • The real-time services such as VoIP, online gaming, and online video require the delay be lower than 100 ms. Some delay-sensitive services even require that the delay be lower than 50 ms. Otherwise, user experience will degrade.

In Figure 15-16, users in enterprise branches and headquarters encounter erratic display and delay when using the video conference service. The enterprise wants to obtain packet loss statistics of the video conference service and receive an alarm when the packet loss rate exceeds 7% so that the network administrator can adjust service deployment in a timely manner.

Figure 15-16 End-to-end performance measurement

Configuration Roadmap

The configuration roadmap is as follows:
  1. Configure NTP to implement time synchronization between switch 1 and switch 2.

  2. Configure a service flow between video terminals as a target flow. It is a bidirectional symmetrical flow, so is divided into two unidirectional flows logically.

  3. Configure switch 1 as DCP1. Bind 10GE1/0/1 where the target flow passes to in-point ingress TLP of DCP1. Define instance 1 on DCP1 to collect statistics data of the target flow from TLPs.

  4. Configure switch 2 as DCP2. Bind 10GE1/0/1 where the target flow passes to out-point egress TLP of DCP2. Define instance 1 on DCP2 to collect statistics data of the target flow from TLPs.

  5. Configure switch 2 as the MCP to aggregate statistics data from DCP1 and DCP2 and export the statistics result. Configure alarm thresholds for packet loss rate and delay so that you can promptly detect network faults.

Data Plan

To complete the configuration, you need the following data:

  • Configure clock synchronization between switch 1 and switch 2. Switch 1 and switch 2 are connected through the network, which is not secure, so NTP authentication is required.

  • Set the router ID of switch 1 to 1.1.1.1 and router ID of switch 2 to 2.2.2.2. Configure the router IDs of two switches as DCP or MCP IDs.

  • Configure HMAC-SHA256 authentication on DCPs and MCP, and set the authentication password to Huawei_123.

  • Set the upper and lower alarm thresholds for packet loss to 7% and 5% respectively. Set the upper and lower alarm thresholds for bidirectional delay to 100 ms and 50 ms respectively.

  • Retain the default values of color bit, measurement interval, and UDP port number used for communication between DCPs and MCP.

NOTE:

Before configuring iPCA to implement end-to-end performance measurement, ensure that static routes or dynamic routing protocols have been configured to implement network connectivity between switch 1 and switch 2.

Before performing iPCA end-to-end performance measurement, ensure that NTP or 1588v2 has been configured to implement clock synchronization between switch 1 and switch 2 (1588v2 is recommended. To measure unidirectional delay, 1588v2 is mandatory.) In this example, NTP is configured.

Procedure

  1. Configure NTP to implement clock synchronization between switch 1 and switch 2.

    # Enable NTP authentication on switch 1 and configure switch 2 as the NTP server.
    <HUAWEI> system-view
    [~HUAWEI] sysname Switch1
    [*HUAWEI] commit
    [~Switch1] ntp authentication enable
    [*Switch1] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*Switch1] ntp trusted authentication-keyid 42
    [*Switch1] ntp unicast-server 10.3.1.1 authentication-keyid 42
    [*Switch1] commit
    # Configure NTP master clock, enable NTP authentication, and enable NTP server on switch 2.
    <HUAWEI> system-view
    [~HUAWEI] sysname Switch2
    [*HUAWEI] commit
    [~Switch2] ntp refclock-master 1
    [*Switch2] ntp authentication-keyid 42 authentication-mode hmac-sha256 Hello@123456
    [*Switch2] ntp trusted authentication-keyid 42
    [*Switch2] undo ntp server disable
    [*Switch2] commit
    After this step is complete, run the display ntp status command on switch 1 and switch 2 to view clock synchronization information. For example, synchronized displayed for switch 2 indicates that clock synchronization is complete.
    [~Switch2] display ntp status
     clock status: synchronized                                                     
     clock stratum: 10                                                              
     reference clock ID: LOCAL(0)                                                   
     nominal frequency: 100.0000 Hz                                                 
     actual frequency: 100.0000 Hz                                                  
     clock precision: 2^16                                                          
     clock offset: 0.0000 ms                                                        
     root delay: 0.00 ms                                                            
     root dispersion: 11.20 ms                                                      
     peer dispersion: 10.00 ms                                                      
     reference time: 10:51:15.360 UTC Feb 10 2017(DC4819A3.5C3E425A)                
     synchronization state: clock synchronized

  2. Configure DCP1.

    # Enable the DCP function, specify the target flow, and create TLPs.
    [~Switch1] nqa ipfpm dcp
    [*Switch1-nqa-ipfpm-dcp] dcp id 1.1.1.1
    [*Switch1-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei_123
    [*Switch1-nqa-ipfpm-dcp] instance 1
    [*Switch1-nqa-ipfpm-dcp-instance-1] mcp 2.2.2.2
    [*Switch1-nqa-ipfpm-dcp-instance-1] flow bidirectional source 10.1.1.1 destination 10.2.1.1
    [*Switch1-nqa-ipfpm-dcp-instance-1] tlp 1 in-point ingress
    [*Switch1-nqa-ipfpm-dcp-instance-1] quit
    [*Switch1-nqa-ipfpm-dcp] quit
    
    # Bind interfaces to TLPs.
    [*Switch1] interface 10GE 1/0/1
    [*Switch1-10GE1/0/1] ipfpm tlp 1
    [*Switch1-10GE1/0/1] quit
    
    # Enable packet loss and delay measurement.
    [*Switch1] nqa ipfpm dcp
    [*Switch1-nqa-ipfpm-dcp] instance 1
    [*Switch1-nqa-ipfpm-dcp-instance-1] loss-measure enable continual
    [*Switch1-nqa-ipfpm-dcp-instance-1] delay-measure enable two-way tlp 1 continual
    [*Switch1-nqa-ipfpm-dcp-instance-1] quit
    [*Switch1-nqa-ipfpm-dcp] quit
    [*Switch1] commit
    After this step is complete, run the display ipfpm dcp command to view DCP1 configuration.
    [~Switch1] display ipfpm dcp
                                                                                    
    Specification Information(Main Board):                                          
     Max Instance Number                       :2048                                
     Max 10s Instance Number                   :2048                                
     Max 1s Instance Number                    :0                                   
     Max TLP Number                            :2048                                
     Max TLP Number Per Instance               :64                                  
                                                                                    
    Specification Information(IO Board):                                            
     Board ID :1                                                                    
     Max 1s Instance Number                    :0                                   
     Max non-1s Instance Number                :2048                                
     Max TLP Number                            :1024                                
                                                                                    
    Configuration Information:                                                      
     DCP ID                                    : 1.1.1.1                            
     Loss-measure Flag                         : tos-bit6(default)                  
     Delay-measure Flag                        : tos-bit7(default)                  
     Authentication Mode                       : hmac-sha256                        
     Test Instances MCP ID                     : 2.2.2.2                            
     Test Instances MCP Port                   : 65030(default)                     
     Current Instance Number                   : 1 

  3. Configure DCP2.

    # Enable the DCP function, specify the target flow, and create TLPs.
    [~Switch2] nqa ipfpm dcp
    [*Switch2-nqa-ipfpm-dcp] dcp id 2.2.2.2
    [*Switch2-nqa-ipfpm-dcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei_123
    [*Switch2-nqa-ipfpm-dcp] instance 1
    [*Switch2-nqa-ipfpm-dcp-instance-1] mcp 2.2.2.2
    [*Switch2-nqa-ipfpm-dcp-instance-1] flow bidirectional source 10.1.1.1 destination 10.2.1.1
    [*Switch2-nqa-ipfpm-dcp-instance-1] tlp 2 out-point egress
    [*Switch2-nqa-ipfpm-dcp-instance-1] quit
    [*Switch2-nqa-ipfpm-dcp] quit
    
    # Bind interfaces to TLPs.
    [*Switch2] interface 10GE 1/0/1
    [*Switch2-10GE1/0/1] ipfpm tlp 2
    [*Switch2-10GE1/0/1] quit
    
    # Enable packet loss and delay measurement.
    [*Switch2] nqa ipfpm dcp
    [*Switch2-nqa-ipfpm-dcp] instance 1
    [*Switch2-nqa-ipfpm-dcp-instance-1] loss-measure enable continual
    [*Switch2-nqa-ipfpm-dcp-instance-1] delay-measure enable two-way tlp 2 continual
    [*Switch2-nqa-ipfpm-dcp-instance-1] quit
    [*Switch2-nqa-ipfpm-dcp] quit
    [*Switch2] commit
    After this step is complete, run the display ipfpm dcp command to view DCP2 configuration.
    [~Switch2] display ipfpm dcp
                                                                                    
    Specification Information(Main Board):                                          
     Max Instance Number                       :2048                                
     Max 10s Instance Number                   :2048                                
     Max 1s Instance Number                    :0                                   
     Max TLP Number                            :2048                                
     Max TLP Number Per Instance               :64                                  
                                                                                    
    Specification Information(IO Board):                                            
     Board ID :1                                                                    
     Max 1s Instance Number                    :0                                   
     Max non-1s Instance Number                :2048                                
     Max TLP Number                            :1024                                
                                                                                    
    Configuration Information:                                                      
     DCP ID                                    : 2.2.2.2                            
     Loss-measure Flag                         : tos-bit6(default)                  
     Delay-measure Flag                        : tos-bit7(default)                  
     Authentication Mode                       : hmac-sha256                        
     Test Instances MCP ID                     : 2.2.2.2                            
     Test Instances MCP Port                   : 65030(default)                     
     Current Instance Number                   : 1 

  4. Configure the MCP.

    [~Switch2] nqa ipfpm mcp
    [*Switch2-nqa-ipfpm-mcp] mcp id 2.2.2.2
    [*Switch2-nqa-ipfpm-mcp] authentication-mode hmac-sha256 key-id 1 cipher Huawei_123
    [*Switch2-nqa-ipfpm-mcp] instance 1
    [*Switch2-nqa-ipfpm-mcp-instance-1] dcp 1.1.1.1
    [*Switch2-nqa-ipfpm-mcp-instance-1] dcp 2.2.2.2
    [*Switch2-nqa-ipfpm-mcp-instance-1] quit
    [*Switch2-nqa-ipfpm-mcp] quit
    [*Switch2] commit
    After this step is complete, run the display ipfpm mcp command to view MCP configuration.
    [~Switch2] display ipfpm mcp
                                                                                    
    Specification Information:                                                      
     Max Instance Number                       :1024                                
     Max DCP Number Per Instance               :1024                                
     Max ACH Number Per Instance               :16                                  
     Max TLP Number Per ACH                    :128                                 
     Max TLP Number managed by MCP             :4350                                
     Max ACH Number managed by MCP             :400                                 
                                                                                    
    Configuration Information:                                                      
     MCP ID                                    :2.2.2.2                             
     Status                                    :Active                              
     Protocol Port                             :65030(default)                      
     Current Instance Number                   :1

  5. Configure the upper and lower alarm thresholds.

    # Configure the upper and lower thresholds for the IP FPM performance alarm and clear alarm.
    [~Switch2] nqa ipfpm mcp
    [~Switch2-nqa-ipfpm-mcp] instance 1
    [*Switch2-nqa-ipfpm-mcp-instance-1] loss-measure ratio-threshold upper-limit 7 lower-limit 5
    [*Switch2-nqa-ipfpm-mcp-instance-1] commit
    
    # Configure the upper and lower thresholds for the IP FPM bidirectional delay alarm and clear alarm.
    [~Switch2-nqa-ipfpm-mcp-instance-1] delay-measure two-way delay-threshold upper-limit 100000 lower-limit 50000
    [*Switch2-nqa-ipfpm-mcp-instance-1] commit
    [~Switch2-nqa-ipfpm-mcp-instance-1] quit
    [~Switch2-nqa-ipfpm-mcp] quit
    

  6. Verify the configuration.

    Run the display ipfpm statistic-type { loss | twoway-delay } instance instance-id command on switch 2 to check performance statistics of the specified measurement instance in the IP FPM measurement system.

    • View the packet loss statistics in measurement instance 1.
      [~Switch2] display ipfpm statistic-type loss instance 1
      Latest loss statistics of forward flow:
      Unit: p - packet, b - byte      
      ------------------------------------------------------------------------------------------ 
       Period               Loss(p)              LossRatio(p)  Loss(b)              LossRatio(b) 
      ------------------------------------------------------------------------------------------ 
       136118757            20                      20.000000% 2000                   20.000000%
       136118756            20                      20.000000% 2000                   20.000000%
       136118755            20                      20.000000% 2000                   20.000000%
       136118753            20                      20.000000% 2000                   20.000000%
       136118752            20                      20.000000% 2000                   20.000000%
       136118751            20                      20.000000% 2000                   20.000000%
       136118750            20                      20.000000% 2000                   20.000000%
       136118749            20                      20.000000% 2000                   20.000000%
       136118748            20                      20.000000% 2000                   20.000000%
       136118747            20                      20.000000% 2000                   20.000000%
       136118746            20                      20.000000% 2000                   20.000000%
       136118745            20                      20.000000% 2000                   20.000000%
                 
      Latest loss statistics of backward flow:
      Unit: p - packet, b - byte      
      ------------------------------------------------------------------------------------------ 
       Period               Loss(p)              LossRatio(p)  Loss(b)              LossRatio(b) 
      ------------------------------------------------------------------------------------------ 
       136118757            20                      20.000000% 2000                   20.000000%
       136118756            20                      20.000000% 2000                   20.000000%
       136118755            20                      20.000000% 2000                   20.000000%
       136118753            20                      20.000000% 2000                   20.000000%
       136118752            20                      20.000000% 2000                   20.000000%
       136118751            20                      20.000000% 2000                   20.000000%
       136118750            20                      20.000000% 2000                   20.000000%
       136118749            20                      20.000000% 2000                   20.000000%
       136118748            20                      20.000000% 2000                   20.000000%
       136118747            20                      20.000000% 2000                   20.000000%
       136118746            20                      20.000000% 2000                   20.000000%
       136118745            20                      20.000000% 2000                   20.000000%
    • View the bidirectional delay statistics in measurement instance 1.
      [~Switch2] display ipfpm statistic-type twoway-delay instance 1
                                                                                      
      Latest two-way delay statistics:
      --------------------------------------------------
       Period               Delay(usec) Delay
                                        Variation(usec)
      --------------------------------------------------
       136118757            800         0
       136118756            800         0
       136118755            800         0
       136118753            800         0
       136118752            800         0
       136118751            800         0
       136118750            800         0
       136118749            800         0
       136118748            800         0
       136118747            800         0
       136118746            800         0
       136118745            800         0
                                      
      Latest one-way delay statistics of bidirectional flow:
      --------------------------------------------------------------------------------
       Period               Forward     ForwardDelay    Backward    BackwardDelay     
                            Delay(usec) Variation(usec) Delay(usec) Variation(usec)   
      --------------------------------------------------------------------------------
       136118757            400         0               400         0
       136118756            400         0               400         0
       136118755            400         0               400         0
       136118753            400         0               400         0
       136118752            400         0               400         0
       136118751            400         0               400         0
       136118750            400         0               400         0
       136118749            400         0               400         0
       136118748            400         0               400         0
       136118747            400         0               400         0
       136118746            400         0               400         0
       136118745            400         0               400         0

Configuration Files

  • Switch 1 configuration file

    #
    sysname Switch1
    #
    ntp server disable
    ntp ipv6 server disable
    ntp authentication-keyid 42 authentication-mode hmac-sha256 cipher %^%##zu$~6IaPUov0U==~zFO@#*{!bF2R$'zTl<=[Tr'%^%#
    ntp trusted authentication-keyid 42
    ntp unicast-server 10.3.1.1 authentication-keyid 42
    ntp authentication enable
    #
    interface 10GE1/0/1
     ipfpm tlp 1
    #
    nqa ipfpm dcp
     dcp id 1.1.1.1
     authentication-mode hmac-sha256 key-id 1 cipher %^%#P,{-'+sTGVEBJf7bh=HNZraw<0+pzPkO3<O-:jAK%^%#
     instance 1
      mcp 2.2.2.2
      flow bidirectional source 10.1.1.0 24 destination 10.2.1.0 24
      tlp 1 in-point ingress
      loss-measure enable continual
      delay-measure enable two-way tlp 1 continual
    #
    return
  • Switch 2 configuration file

    #
    sysname Switch2
    #
    ntp ipv6 server disable
    ntp authentication-keyid 42 authentication-mode hmac-sha256 cipher %^%#U<4mQGpvo!<>F0>y^=j=PfyVLXuXV,,shDQhFWlE%^%#
    ntp trusted authentication-keyid 42
    ntp refclock-master 1
    #
    interface 10GE1/0/1
     ipfpm tlp 2
    #
    nqa ipfpm dcp
     dcp id 2.2.2.2
     authentication-mode hmac-sha256 key-id 1 cipher %^%#XndC51it9~}rXP'MM`Z,$0a')$<`1""_YD*Q3)H-%^%#
     instance 1
      mcp 2.2.2.2
      flow bidirectional source 10.1.1.0 24 destination 10.2.1.0 24
      tlp 2 out-point egress
      loss-measure enable continual
      delay-measure enable two-way tlp 2 continual
    #
    nqa ipfpm mcp
     mcp id 2.2.2.2
     authentication-mode hmac-sha256 key-id 1 cipher %^%#MovQM8%wzKJWs!~h!**6^N%T+xWbeGLr&n6~f}lP%^%#
     instance 1
      dcp 1.1.1.1
      dcp 2.2.2.2
      loss-measure ratio-threshold upper-limit 7.000000 lower-limit 5.000000
      delay-measure two-way delay-threshold upper-limit 100000 lower-limit 50000
    #
    return
Translation
Download
Updated: 2019-04-20

Document ID: EDOC1100075344

Views: 30026

Downloads: 29

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