The display cp-rate-limit port command displays statistics about all protocol or specific protocol attack packets on an interface.
display cp-rate-limit [ enhance ] { port | dhcp | dhcpv6 | icmp | icmpv6 } [ slot slot-id ] [ verbose ]
display cp-rate-limit { port | dhcp | dhcpv6 | icmp | icmpv6 | ldp-hello | rsvp | ospf | rip | pim | isis | vrrp | ospfv3 | ripng | pimv6 | vrrpv6 } interface { interface-name | { interface-type interface-number } } vlan vlan-id [ verbose ]
display cp-rate-limit { port | dhcp | dhcpv6 | icmp | icmpv6 | ldp-hello | rsvp | ospf | rip | pim | isis | vrrp | ospfv3 | ripng | pimv6 | vrrpv6 } interface { interface-name | { interface-type interface-number } } pe-vid pe-vlan-id ce-vid ce-vlan-id [ verbose ]
display cp-rate-limit [ enhance ] { port | dhcp | dhcpv6 | icmp | icmpv6 } interface { interface-name | { interface-type interface-number } } [ verbose ]
display cp-rate-limit { ldp-hello | rsvp | ospf | rip | pim | isis | vrrp | ospfv3 | ripng | pimv6 | vrrpv6 } [ slot slot-id ] [ verbose ]
display cp-rate-limit { ldp-hello | rsvp | ospf | rip | pim | isis | vrrp | ospfv3 | ripng | pimv6 | vrrpv6 } interface { interface-name | { interface-type interface-number } } [ verbose ]
Parameter | Description | Value |
---|---|---|
enhance |
Indicates information about the port-vlan-car level-2 CAR. If this parameter is not specified, only the information about port-vlan-car level-1 CAR is displayed. |
- |
port |
Indicates statistics on all protocol attack packets on a specific interface. |
- |
dhcp |
Display statistics about DHCP protocol packets that attack an interface. |
- |
dhcpv6 |
Display statistics about DHCPv6 protocol packets that attack an interface. |
- |
icmp |
Display statistics about ICMP protocol packets that attack an interface. |
- |
icmpv6 |
Display statistics about ICMPv6 protocol packets that attack an interface. |
- |
slot slot-id |
Specifies the slot number. |
The value is an integer that ranges from 1 to 31. |
verbose |
Display detailed information about attack users. |
- |
ldp-hello |
Indicates statistics on LDP-HELLO attack packets. |
- |
rsvp |
Indicates statistics on RSVP attack packets. |
- |
ospf |
Indicates statistics on OSPF attack packets. |
- |
rip |
Indicates statistics on RIP attack packets. |
- |
pim |
Indicates statistics on PIM attack packets. |
- |
isis |
Indicates statistics on ISIS attack packets. |
- |
vrrp |
Indicates statistics on VRRP attack packets. |
- |
ospfv3 |
Indicates statistics on OSPFv3 attack packets. |
- |
ripng |
Indicates statistics on RIPNG attack packets. |
- |
pimv6 |
Indicates statistics on PIMv6 attack packets. |
- |
vrrpv6 |
Indicates statistics on VRRPv6 attack packets. |
- |
interface interface-name |
Specifies an interface number. |
- |
interface-type |
Specifies an interface type. |
- |
interface-number |
Specifies an interface name. |
- |
vlan vlan-id |
Specifies the VLAN ID. |
The value is an integer that ranges from 1 to 4094. |
pe-vid pe-vlan-id |
Specifies the outer VLAN tag value. |
The value is an integer ranging from 1 to 4094. |
ce-vid ce-vlan-id |
Specifies the inner VLAN tag value. |
The value is an integer ranging from 1 to 4094. |
Usage Scenario
To query information about users who send a large number of DHCP/DHCPv6/ICMP/ICMPv6/LDP-HELLO/RSVP/OSPF/RIP/PIM/ISIS/VRRP packets to the CPU or trigger a Layer 2 loop, run the display cp-rate-limit port command.
The display cp-rate-limit command displays statistics about attack packets on a specific board. The display cp-rate-limit interface command displays statistics about attack packets on a specific interface. The display cp-rate-limit interface pe-vid command displays statistics about attack packets on a QinQ interface.The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display cp-rate-limit port slot 1 verbose [Slot 1] Interface: GigabitEthernet0/1/1.1 PeVid(Vid): 100 CeVid: 200 ProtocolType: Port PassBytes(byte): 1391816 PassByteRate(kbps): 200 DropBytes(byte): 5827014740 DropByteRate(kbps): 838529 PassPackets(packet): 13384 PassPacketRate(pps): 240 DropPackets(packet): 56028990 DropPacketRate(pps): 1007848
Item | Description |
---|---|
Interface | Interface that is under attack. |
PeVid(Vid) | Outer VLAN tag value. |
CeVid | Inner VLAN tag value. |
ProtocolType | Packet type. |
PassBytes(byte) | Number of passing bytes. |
PassByteRate(kbps) | Rate at which bytes pass, in kbit/s. |
DropBytes(byte) | Number of dropped bytes. |
DropByteRate(kbps) | Rate at which bytes are dropped, in kbit/s. |
PassPackets(packet) | Number of passing packets. |
PassPacketRate(pps) | Rate at which packets pass, in pps. |
DropPackets(packet) | Number of dropped packets. |
DropPacketRate(pps) | Rate at which packets are dropped, in pps. |