StatisticsΒΆ
Statistics about received and transmitted packets are available per interface.
To get the statistics of the eth0
interface in main
vrf, do:
vrouter> show state vrf main interface physical eth0 counters
counters
in-octets 7316
out-unicast-pkts 22
out-octets 7316
in-unicast-pkts 113
in-discards 0
in-errors 0
out-discards 0
out-errors 0
To show the statistics in a human readable way:
vrouter running config# show interface statistics name eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether de:ad:de:01:02:03 brd ff:ff:ff:ff:ff:ff
RX: bytes packets errors dropped overrun mcast
7316 113 0 0 0 0
TX: bytes packets errors dropped carrier collsns
7316 22 0 0 0 0
See also
The command reference for details about the API, and the show interface command.