< Home

Example for Configuring iPCA to Implement Packet Loss Measurement on a Device

Networking Requirements

In Figure 1, Switch_1, Switch_2, and Switch_3 are deployed on an enterprise network. The network-level packet loss measurement has been configured on the network, and the network administrator has known that packet loss occurred. To locate the device where packet loss occurred, the administrator wants to configure iPCA to implement packet loss measurement on a device.

Figure 1 Packet loss measurement on a device

Configuration Roadmap

The configuration roadmap is as follows:
  1. Enable iPCA on each device to implement packet loss measurement on the device so that you can know packet loss in a timely manner. Configure the packet loss alarm on each device.

  2. Retain the default values of color bit and measurement interval.

The packet loss measurement configuration on Switch_3 is the same as that on Switch_1 and Switch_2, and is not mentioned here.

Procedure

  1. Configure Switch_1.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch_1
    [Switch_1] iplpm global loss-measure alarm enable
    [Switch_1] iplpm global loss-measure enable
    [Switch_1] quit

  2. Configure Switch_2.

    <HUAWEI> system-view
    [HUAWEI] sysname Switch_2
    [Switch_2] iplpm global loss-measure alarm enable
    [Switch_2] iplpm global loss-measure enable
    [Switch_2] quit

  3. Verify the configuration.

    # Run the display iplpm loss-measure statistics global command on Switch_1 and Switch_2 to view packet loss measurement results.

    Switch_1 is used as an example here. The values of Loss Packets and LossRatio show whether packet loss occurs on Switch_1.

    <Switch_1> display iplpm loss-measure statistics global
    Latest global loss statistics:
    --------------------------------------------------------------------------------
     StartTime(DST)        Loss Packets            LossRatio         ErrorInfo      
    --------------------------------------------------------------------------------
     2014-06-12 18:47:30   344127                  4.513519%         OK 
     2014-06-12 18:47:20   381085                  4.513196%         OK 
     2014-06-12 18:47:10   381192                  4.513290%         OK 
     2014-06-12 18:47:00   381339                  4.513341%         OK 
     2014-06-12 18:46:50   381465                  4.513392%         OK 
     2014-06-12 18:46:40   381444                  4.513487%         OK 
     2014-06-12 18:46:30   381129                  4.513309%         OK 
    --------------------------------------------------------------------------------

Configuration Files

  • Switch_1 configuration file

    #
    sysname Switch_1
    #
    iplpm global loss-measure alarm enable
    iplpm global loss-measure enable
    #
    return
  • Switch_2 configuration file

    #
    sysname Switch_2
    #
    iplpm global loss-measure alarm enable
    iplpm global loss-measure enable
    #
    return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic