display ip urpf discard statistics

Function

The display ip urpf discard statistics command displays the statistics on the packets that fail the URPF check and are discarded.

Format

display { ip | ipv6 } urpf discard statistics [ slot slot-id ]

Parameters

Parameter Description Value
ip

Indicates IPv4 URPF.

-

ipv6

Indicates IPv6 URPF.

-

slot slot-id

Specifies the slot number of an installed interface boards.

  • If slot slot-id is not specified, the statistics on packets that fail the URPF check and are discarded on all interface boards are displayed.
  • If slot slot-id is specified, the statistics on packets that fail the URPF check and are discarded on the specified interface board are displayed.

The value is an integer that ranges from 1 to 31.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
device-mgr read

Usage Guidelines

Usage Scenario

To view the statistics on the packets that fail the URPF check and are discarded, you can run the display ip urpf discard statistics command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the statistics on the packets that fail the IPv6 URPF check and are discarded on all interface boards.
<HUAWEI> display ipv6 urpf discard statistics
slot         Discard-packets
-------------------------------------------
1            0                
2            0                
3            3                
5            1
# Display the statistics on the packets that fail the IPv4 URPF check and are discarded on all interface boards.
<HUAWEI> display ip urpf discard statistics
slot         Discard-packets
-------------------------------------------------------------------------------------------------------
1            0                
2            0                
3            3                
5            1
Table 1 Description of the display ip urpf discard statistics command output
Item Description
slot

Slot number of the installed interface board.

Discard-packets

Number of the packets that fail the URPF check and are discarded on an interface board.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >