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.
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.
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.
<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
<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
# 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
--------------------------------------------------------------------------------