Polycom EX 软件指南

下载
页码 300
System Commands
© Polycom, Inc.
121
lanstat
Description
This command displays local area network statistics. 
Syntax
lanstat <min|misc|reset|sec|tmin|total> |“time”
Example 1
lanstat min 1
returns information similar to this:
lanstat: LAN statistics for minute -1
lanstat: Port 0 Port 1
lanstat: rx_bytes 985 0
lanstat: tx_bytes 351 0
lanstat: rx_packets 6 0
lanstat: tx_packets 5 0
lanstat: rx_errors 0 0
lanstat: rx_unicasts 5 0
lanstat: rx_polycasts 1 0
lanstat: rx_polycasts_filtered 0 0
lanstat: rx_resource_error 0 0
Parameter
Definition
sec
Returns the accumulating total of LAN statistics for the 
current minute.
min
Returns the last 0 to 60 minutes of LAN statistics. 
When “time” is not specified, the last 10 minutes of 
statistics are returned. 
tmin
Returns the LAN statistics totals of the last minutes. 
When “time” is not specified, the last 10 minutes of 
statistics are returned.
“time”
Number of minutes for which statistics will be returned, 
in the range {0..60}.
total
Returns cumulative LAN statistics.
misc
Returns miscellaneous LAN/VLAN statistics.
reset
Resets cumulative LAN statistics.