How do you sort exception classes?
search cancel

How do you sort exception classes?

book

Article ID: 166233

calendar_today

Updated On:

Products

PacketShaper

Issue/Introduction

Problem:  I have several exception classes.  I would like to sort them not based on the class names.

Solution:  You can apply the internal parameter for sortorder.  Please refer the example below.

 class new outbound 1 sortorder:31005 inside host:1.1.1.1
 class new outbound 2 sortorder:31004 inside host:1.1.1.2
 class new outbound 3 sortorder:31006 inside host:1.1.1.3

PacketShaper# tr t outbound


Class name                         Type    Class   Policy   Cur  1 Min   Peak
                                            hits     hits  rate    avg   rate
------------------------------------------------------------------------------
/Outbound                          +                  n/a  1328    496     62k
 Localhost                           PE      135      135  1328    496     62k
 3                                  r          0      n/a     0      0      0
 1                                  r          0      n/a     0      0      0
 2                                  r          0      n/a     0      0      0
 Default                             P I       0        0     0      0      0