Debug hardware dev-swdrv – Brocade 6910 Ethernet Access Switch Configuration Guide (Supporting R2.2.0.0) User Manual
Page 694

638
Brocade 6910 Ethernet Access Switch Configuration Guide
53-1002651-02
31
Debug Commands
[512]pcl_id=512, hw_idx=118, upper_rule_id=56, policer_idx=-1, pce_type=4(EXT), valid=1
pattern:00000000 00000000 00000000 00000800 00000000 00000000 00000000 00000000
00000000 00000000 7003C000 00748EF8
mask:000001FF 00000000 00000000 00000800 00000000 00000000 00000000 00000000
00000000 00000000 FFFFFF00 00FFFFFF
action:00000000 00000000 00000000 00000000 Forward
Console#
debug hardware dev-swdrv
This command shows the switch driver’s buffer allocation for packets, including the status of
packet buffers, counter for dropped packets over a period of time, counter for registers of all PHY
ports, mapping between physical ports and MAC ports, and configuration of all Spanning Trees.
Syntax
debug hardware dev-swdrv {buff-cnt | drop-cnt | phy-cnt | port-map | stg}
buff-cnt – Shows allocation status of packet buffers.
drop-cnt – Shows the counter for dropped packets over a period of time.
phy-cnt – Shows the counter for the registers of all PHY ports.
port-map – Shows the mapping between physical ports and MAC ports
stg – Shows the configuration of all Spanning Trees.
Command Mode
Privileged Exec
Example
Console#debug hardware dev-swdrv buff-cnt
================= Buffers Allocation Counters ================
Data = 0x0 , AgedPacketCnt[0-12][ROC] = 0x0
Data = 0x57 , TotalBuffAllocCnt[0-12][RW] = 0x57
Data = 0x0 , PacketCounter[0-12][RW] = 0x0
Offset Formula: 0x03000100+n * 0x4: where n present port
Data = 0x3 , Port< 0>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 1>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 2>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 3>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 4>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 5>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 6>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 7>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 8>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port< 9>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port<10>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port<11>BuffAllocCnt[0-12][RW] = 0x3
Data = 0x3 , Port<12>BuffAllocCnt[0-12][RW] = 0x3
Console#