ZyXEL Communications n/a User Manual

Page of 222
Chapter 21 WAN Commands
DSL & IAD CLI Reference Guide
162
21.5.1  wan hwsar Examples
The following example:
• Displays SAR and HAL packet statistics.
• Selects firmware mode OAM.
• Performs an internal loopback test.
Table 65    wan hwsar Commands
COMMAND
DESCRIPTION
wan hwsar clear
Resets SAR and HAL incoming and outgoing packet 
counters.
wan hwsar disp
Displays SAR (Segmentation And Reassembly) and 
HAL (Hardware Abstraction Layer) incoming and 
outgoing packet statistics. 
wan hwsar driver config
Displays SAR and HAL configuration information.
wan hwsar driver dischan <channel>
Discards the specified channel.
wan hwsar driver oammode mode:<0|1>
Sets the Operation, Administration, and 
Maintenance (OAM) mode.
0
: firmware OAM mode.
1
: host OAM mode.
wan hwsar driver test <vpi> <vci> 
<count> <0|1>
Performs an ATM test on the specified connection.
0
: send packet.
1
: internal loopback.
ras> wan hwsar disp
SAR Driver Counters Display:
inPkts        = 0x00000000, inDiscards    = 0x00000000
outPkts       = 0x00000000, outDiscards   = 0x00000000
inF4Pkts      = 0x00000000, outF4Pkts     = 0x00000000
inF5Pkts      = 0x00000000, outF5Pkts     = 0x00000000
openChan      = 0x00000000, closeChan     = 0x00000000
txRate(Bps)   =          0, rxRate(Bps)   =          0
HAL Stats Display Ch 0:
Rx Total      = 0x00000000, Tx Total      = 0x00000000
Rx Peak       = 0x00000000, TxH Peak      = 0x00000000
TxL Peak      = 0x00000000, CrcErr        = 0x00000000
LenErr        = 0x00000000, DmaLenErr     = 0x00000000
AbortErr      = 0x00000000, StarvErr      = 0x00000000
TxH MisQ Cnt  = 0x00000000, TxL MisQ Cnt  = 0x00000000
Rx MisQ Cnt   = 0x00000000, Tx DMA Busy   = 0x00000000
Rx EOQ Cnt    = 0x00000000, TxH EOQ Cnt   = 0x00000000
TxL EOQ Cnt   = 0x00000000, Rx Pkts       = 0x00000000
TxH Pkts      = 0x00000000, TxL Pkts      = 0x00000000
ras> wan hwsar driver oammode 0
ras> wan hwsar driver test 30 33 2 1