13.5. CPU Traffic Statistics Commands

13.5.1. cpu-traffic-statistics time

Command Purpose

Use this command to set the CPU receive packets or CPU transmit packets statistics time.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

cpu-traffic-statistics time RATE-TIME

Parameter

Parameter Description

Parameter Value

RATE-TIME

Rate of statistics time

1-10 seconds

Command Mode

Global Config

Default

5 s

Usage

N/A

Examples

This example shows how to configure cpu-traffic-statistics time:

Switch# configure terminal
Switch(config)# cpu-traffic-statistics time 2

13.5.2. no cpu-traffic-statistics time

Command Purpose

Use this command to reset the CPU receive packets or CPU transmit packets statistics time.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

no cpu-traffic-statistics time

Command Mode

Global Config

Default

N/A

Usage

N/A

Examples

This example shows how to reset cpu-traffic-statistics time:

Switch# configure terminal
Switch(config)# no cpu-traffic-statistics time

Related Commands

N/A

13.5.3. show cpu traffic- statistics receive

Command Purpose

Use this command to show CPU receive packets by reason.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show cpu traffic-statistics receive (bpdu|slow-protocol|eapol|erps|smart-link|arp|dhcp|rip|ldp|ospf|pim|bgp|vrrp|ssh|telnet|mlag|tcp|ipda|icmp-redirect|mcast-rpf-fail|macsa-mismatch|port-security-discard|vlan-security-discard|ip-mtu-fail|ip-option|ucast-ttl-fail|sflow-ingress|sflow-egress|igmp|udld|dot1x-mac-bypass|l2protocol-tunnel|mirror-to-cpu|tunnel-gre-keepalive|loopback-detection|rsvp|bfd-learning|fwd-to-cpu|ptp| )

Parameter

Parameter Description

Parameter Value

Bpdu

Reason for BPDU protocols packets(including STP, RSTP, MSTP)

-

Slow-protocol

Reason for slow protocol packets (including EFM, LACP)

-

Eapol

Reason for Dot1x protocol packets

-

Erps

Reason for ERPS protocol packets

-

Arp

Reason for ARP protocol packets

-

Dhcp

Reason for DHCP protocol packets

-

Rip

Reason for RIP protocol packets

-

Bgp

Reason for BGP protocol packets

-

Ldp

Reason for LDP protocol packets

-

Ospf

Reason for OSPF protocol packets

-

Pim

Reason for PIM protocol packets

-

Vrrp

Reason for VRRP protocol packets

-

Ssh

Reason for SSH protocol packets

-

Telnet

Reason for Telnet protocol packets

-

Mlag

Reason for MLAG protocol packets

-

Tcp

Reason for TCP protocol packets

-

Ipda

Reason for packets with IPDA destination to router itself

-

Icmp-redirect

Reason for redirecting ICMP

-

learning-full

Reason for learning cache is full

-

Mcast_rpf_fail

Reason for multi-cast packets with RPF fail

-

Macsa-mismatch

Reason for packets that are discarded for source mac is learned from another security port

-

Port-security-discard

Reason for packets that are discarded for FDB number equals to allowed maximum number of security port

-

Vlan-security-discard

Reason for packets that are discarded for FDB number equals to allowed maximum number on the specified VLAN

-

Ip-mtu-fail

IP MTU fail

-

Ip-option

Reason for IP packets with optional fields

-

Ucast-ttl-fail

Reason for ucast IP packets with fail TTL

-

Igmp

Reason for IGMP or IGMP snooping packets

-

Sflow-ingress

Reason for Sflow sampled packets at ingress direction

-

Sflow-egress

Reason for Sflow sampled packets at egress direction

-

Fwd-to-cpu

Reason for packets forwarding to CPU

-

Bfd-learning

Reason for BFD learning packets

-

Mld

MLD packets or MLD snooping packets

-

Dot1x-mac-bypass

MAC auth bypass packets

-

Command Mode

Privileged EXEC

Default

N/A

Usage

N/A

Examples

This example shows how to show CPU receive BPDU packets:

Switch# show cpu traffic-statistics receive bpdu
statistics rate time is 5 second(s)
reason count(packets) rate(pps)
bpdu 0 0

Related Commands

show cpu traffic-statistics receive all

13.5.4. show cpu traffic-statistics receive all

Command Purpose

Use this command to show CPU receive all packets.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show cpu traffic-statistics receive all

Command Mode

Privileged EXEC

Default

N/A

Usage

N/A

Examples

This example shows how to show CPU receive all packets:

Switch# show cpu traffic-statistics receive all
statistics rate time is 5 second(s)
reason count(packets) rate(pps)
dot1x-mac-bypass 0 0
bpdu 0 0
slow-protocol 0 0
eapol 0 0
erps 0 0
smart-link 0 0
udld 0 0
loopback-detection 0 0
arp 0 0
dhcp 0 0
rip 0 0
ldp 0 0
ospf 0 0
pim 0 0
bgp 0 0
vrrp 0 0
rsvp 0 0
ssh 0 0
telnet 0 0
mlag 0 0
tcp 0 0
ipda 0 0
icmp-redirect 0 0
mcast-rpf-fail 0 0
macsa-mismatch 0 0
port-security-discard 0 0
vlan-security-discard 0 0
ip-mtu-fail 0 0
bfd-learning 0 0
ptp 0 0
ip-option 0 0
tunnel-gre-keepalive 0 0
ucast-ttl-fail 0 0
igmp 0 0
sflow-ingress 0 0
sflow-egress 0 0
fwd-to-cpu 0 0
l2protocol-tunnel 0 0
mirror-to-cpu 0 0

other 0 0
Total 0 0

Related Commands

N/A

13.5.5. show cpu traffic-statistics transmit

Command Purpose

Use this command to show the CPU transmit all packets.

Prerequisites

Platform

Software

License

Comments

AQ-N3000

7.0

Base

-

AQ-N5000

7.0

Base

-

AQ-N6000

7.0

Base

-

Command Syntax

show cpu-traffic -statistic transmit

Command Mode

Privileged EXEC

Default

N/A

Usage

CPU transmit packets statistics not distinguish reason.

Examples

This example shows how to show the CPU transmit all packets:

Switch# show cpu traffic-statistics transmit
statistics rate time is 5 second(s)
count(packets) rate(pps)
Total 0 0

Related Commands

N/A