show ip traffic

To display the IP protocol statistics, use the show ip traffic command in Privileged EXEC Mode.

show ip traffic

show ip traffic
[interface { {vlan } { <vlan-id/vfi-id> } { [switch } { <switch-name>] } | tunnel <tunnel-id (0-128)> { | {Gigabitethernet } { <interface-id> } { | Extreme-ethernet } { <interface-id> } { | Linuxvlan } { <interface-name> } | <IP-interface-type> <IP-interface-number>}] { [hc] }

Parameters

Parameter Type Description
interface   Enter to configure interface type and number to be displayed.
vlan   Enter for configure a vlan option to be displayed.
<vlan-id/vfi-id> Integer Enter to specify the range of the specified VLAN ID to be displayed. This is a unique value that represents the specific VLAN created and activated. The range (1-4094) is for VLAN ID and the range (4096 - 65535) is for VFI. Note that if router ports are used then correspondingly the last set of vlans will not be available. For example, if router ports is 24, then max VLAN number will be 4070 only
switch   Enter to configure name of the switch to be displayed.
<switch-name>   Enter a name for the switch to be displayed.
tunnel   Enter to configure the static route for the specified Tunnel Identifier to be displayed.
<tunnel-id (0-128)> Integer Enter a value for tunnel Identifier to be displayed. This value ranges from 0 to 128.
Gigabitethernet <interface-id>   Enter to select Gigabit Ethernet interface to be displayed. Gigabit Ethernet interface is a version of Ethernet that supports data transfer up to 10 Gigabits per second. This Ethernet supports only full duplex links. Specify the interface ID with a format <0>/<1-28>—slot number/port number
Extreme-Ethernet <interface-id>   Enter to select Extreme Ethernet interface to be displayed. Extreme Ethernet interface is a version of LAN standard architecture that supports data transfer up to 1 Gigabit per second. Specify the interface ID with a format <0>/<1-28>—slot number/port number
Linuxvlan   Enter to specify Linux VLAN interface related configuration to be displayed.
<interface-name>   Enter a name for the Linux VLAN Interface to be displayed.
<IP-interface-type>   Enter to the IP statistics for the specified L3 Pseudo wire interface in the system to be displayed.
<IP-interface-number>   Enter a value that represents the specific interface. This value ranges from 1 to 65535 for Pseudowire interface to be displayed.
hc   Enter to display the high counters statistics.

Mode

Privileged EXEC Mode

Examples

iS5Comm # show ip traffic

IP Statistics
-------------------- 
Rcvd: 10811 total, 0 header error discards 
0 bad ip address discards, 0 unsupported protocol discards 
Frags: 0 reassembled, 30 timeouts, 0 needs reassembly 0 fragmented, 0 couldn't fragment 
Bcast: Sent: 0 forwarded, 14954 generated requests 
Drop: 0 InDiscards 10811 InDelivers 202 InMcastPkts 
0 InTruncated 850384 InOctets 0 InNoRoutes 
0 ReasmFails 8288 InMcast Octets 0 InBcastPkts 
0 OutDiscards 0 OutMcastPkts 0 OutFrgCreates 
0 OutForwDgrms 14923 OutTrnsmits 0 OutFrgRqds
3839361 OutOctets 0 OutMcstOctets 0 OutBcstPkts 
0 DiscntTime 1000 RefrshRate


			
ICMP Statistics:
---------------- 
Rcvd: 0 total, 0 InErrors, 0 unreachable, 0 redirects 
0 time exceeded, 0 param problems, 0 quench 
0 echo, 0 echo reply, 0 mask requests, 0 mask replies, 
0 timestamp , 0 time stamp reply, 
Sent: 0 total, 0 OutErrors, 0 unreachable, 0 redirects 
0 time exceeded, 0 param problems, 0 quench 
0 echo, 0 echo reply, 0 mask requests, 0 mask replies, 
0 timestamp , 0 time stamp reply

iS5Comm # show ip traffic hc

IP High Count Statistics
--------------------
34931   InRcvs          2129183 InOctets            0   InFwdDgrms
34937   InDelivers      10228   OutRequests         0   OutFwdDgrms
10217   OutTrnsmits     848106  OutOctets       28159   InMcstPkts
1666345 InMcstOctets 0   OutMcstPkts         0   OutMcstOctets    0   InBcast             0   OutBcast