To display the diagnostics of the IPSH resource the following commands are used:
Shows diagnostic information, such as the state of the
resource, the current and maximum number of buffers reached from
start-up into the IPRTR's incoming/outgoing FIFOs and the maximum
number of users present into the user table (this information
indicate the maxuser parameter).
[18:06:40]ABILIS_CPX:d d ipshRES:IpSh ---------------------------------------------------------------------- IP_Shaping_service STATE:READY MAX-BUF:2000 CUR-BUF:23 PEAK-BUF:952 MAX-S-BUF:10000 CUR-S-BUF:0 PEAK-S-BUF:339 MAX-USER:500 CUR-USER:19 PEAK-USER:39
The meaning:
STATEIP SHAPING driver state.:
DOWN - driver is down.
READY - driver is ready.
MAX-BUFBuffers configured.
CUR-BUFCurrent buffers used.
PEAK-BUFPeak number of buffers used.
MAX-S-BUFNumber of small buffers configured.
CUR-S-BUFNumber of current small buffers used.
PEAK-S-BUFMaximum peak number of small buffers used.
MAX-USERNumber of users configured.
CUR-USERNumber of current users used.
PEAK-USERMaximum peak number of users used.
To display the statistics of the IPSH resource the following commands are used:
Show statistic information, such the number of IP datagrams
analyzed sent/received, number of IP datagrams shaped due to IP
shaping flow matching and those ignored because don't match. There
are also dropped packets due to MAXUSER-EXCEED
set with DROP or out-of-buffer due to buf
parameter.
[18:06:40]ABILIS_CPX:d s ipshRES:IpSh ---------------------------------------------------------------------- IP_Shaping_service --- Cleared 3 days 07:54:17 ago, on 22/09/2017 at 07:02:15 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| ANALYZED | 66359005| 67298210|SHAPED | 0| 25437| IGNORED | 66359005| 67272773|DROPPED | 0| 0| OUTBUF | 0| 0|MAXUSERS-EX| 0| 0| ------------------------------------------------------------------------
With reference to the shown interval of time («Cleared 3 days 07:54:17 ago») these counters show the number of:
ANALYZED | Incoming/outgoing packets received and being analyzed. |
SHAPED | Incoming/outgoing packets analyzed and shaped. |
IGNORED | Incoming/outgoing packets unshaped. |
DROPPED | Incoming/outgoing packets dropped. |
OUTBUF | Buffer exceeded during incoming/outgoing process. |
MAXUSERS-EX | Incoming/outgoing max users exceeded. |