17 gmac stats clear command, 18 gmac regs show command, 19 general stats command – DSS Networks 8261-RTM User Manual
Page 38

Gigabit Ethernet Metro-Switch
Board and Firmware Users Manual
DSS NETWORKS, INC.
Version: 1.14g
Page: 38
(0x53) GTMCL* 0
(0x54) GTLCL* 0
(0x55) GTXCL* 0
(0x56) GTFrags 0
(0x57) GTNCL* 0
(0x5b) GTBYTes 5138544 (802.2-30.3.1.1.8/aOctetsTransmittedOk;2665/ifOutOctets)
(0x5c) GTIP 0
(0x5d) GTVLAN 0
(0x5e) GTAGE 0
(0x5f) GTIPD* 0
(0x60) GTIMTLD 0
(0x61) GTABRT* 0
(0x62) GTIMDR 0
(0x63) GTFIDR 0
(0x74) GTCE* 0
(0x75) GTIPAGE 0
9.1.17 GMAC STATS CLEAR COMMAND
The gmac stats clear command executes an implicit ‘gmac stat
clearing the stats values for the selected port.
metro-sw> gmac clr 3
9.1.18 GMAC REGS SHOW COMMAND
metro-sw> gmac regs 11
gmac[0x0000]: 1
gmac[0x0001]: 550a1681
gmac[0x0002]: c
gmac[0x0003]: 6
gmac[0x0004]: 180c200
gmac[0x0005]: 10000
gmac[0x0008]: 2328
gmac[0x0100]: 1
gmac[0x0101]: 4101
gmac[0x0102]: 15
gmac[0x0103]: c12
gmac[0x0104]: 370f
gmac[0x0105]: 23ff
gmac[0x0110]: 0
gmac[0x0111]: 0
gmac[0x0112]: 0
9.1.19 GENERAL STATS COMMAND
metro-sw> stats show
ms: unit: 0 statistics
main loop cnt 7888
sw i2c read cnt 63949
sw i2c read fail 0
sw i2c write cnt 127405
sw i2c write fail 0
sw ack cnt 1515882
sda val 0
wait clk high 0
wait clk low 0