
371
action this parameter should contain trap level 0
(trap disabled) or 1 (trap enabled). Other values
are invalid for this action. For modifytos action
this parameter should contain value to be set in
TOS field in the packet in the range 0 to 255.
Other values are invalid for this action. The
application of this value is dependent on the
mask parameter. For setbaclevel action this
parameter should contain valid Buffer Admission
Control level value of 0 or 1. For pktvlanid and
pktservicevlanid actions this parameter should
be filled with VLAN ID value in the range 1 to
4094. For mirror action this parameter should
be filled with valid mirror context id.
Action Mask
This field is valid for modifytos action only. Only
lower 8-bits are taken into consideration for
modifytos action and other bits are ignored. In
the mask if a bit location contains 1, then the
corresponding bit in the TOS field is overwritten
with the corresponding bit in action value. In the
mask if a bit location contains 0, then the
corresponding bit in the TOS field remains
unchanged.
8.13.22 Filter rule entry Commands
8.13.22.1 Get filter rule entry
Description: Use this command to get.
Command Syntax: get filter rule entry [ruleid <ruleid-val>]
8.13.22.2 Create filter rule entry
Description: Use this command to create.
Command Syntax: create filter rule entry ruleid r<ruleid-val>
[ action drop | allow | setprio | sendtocontrol | retagprio | copytocontrol |
clfrdef | gotonextrule | forwardexit| exprdef | modifytos | setbaclevel |
pktvlanid | retagvlanid | pktservicevlanid | retagservicevlanid |
retagserviceprio | ratelimiter | Mirror ] [ description <description-val> ]
[ priority <priority-val> ] [ status enable | disable ] [ statsstatus enable
| disable ] [ ruleprio low | high ] [ ruledir in | out ] [ applywhenreq
enable | disable ] [ pkttype Mcast | Bcast | Ucast ] [ snooplevel
interface | bridge ] [ exprid <exprid-val> ] [ actionval <actionval-val> ]
[ actionmask <actionmask-val> ]
8.13.22.3 Delete filter rule entry
Description: Use this command to delete.
Command Syntax: delete filter rule entry ruleid <ruleid-val >
8.13.22.4 Modify filter rule entry
Description: Use this command to modify.
Command Syntax: modify filter rule entry ruleid <ruleid-val>
[ action drop | allow | setprio | sendtocontrol | retagprio | copytocontrol |
clfrdef | gotonextrule | forwardexit | exprdef | modifytos | setbaclevel |
pktvlanid | retagvlanid | pktservicevlanid | retagservicevlanid |
retagserviceprio | ratelimiter | Mirror ] [ description <description-val> ]
[ priority <priority-val> ] [ status enable | disable ] [ statsstatus enable
| disable ] [ ruleprio low | high ] [ applywhenreq enable | disable ]
[ pkttype Mcast | Bcast | Ucast ] [ snooplevel interface | bridge ]
[ exprid <exprid-val> ] [ actionval <actionval-val> ] [ actionmask
<actionmask-val> ]
Parameters
Comentarios a estos manuales