U.S. Robotics SureConnect ADSL Ethernet/USB Router User Guide

lo af4 low priority traffic df default

Optionally an operator may be specified so that many ports can be matched. The operators supported are: <, >, =.

-flgs <tcp_flags>

This field represents the TCP flags SYN, URG, RST, FIN, ACK

-typ <icmp_types>

ICMP packet types such as ECHO REQ, ECHO REPLY, DEST UNREACH etc

Note: To assign an Action ID to a rule, you must create or use an existing Action ID before using AddRule command.

-tc <action_id> <not support in the USR9003>

Packets matching the criteria specified in this rule will be processed with the specified Traffic Conditioning action. The Traffic Conditioning action is identified by the action_id. The action_id was returned by an addtc <not support in the USR9003> command.

-fw <action_id>

Packets matching the criteria specified in this rule will be processed with the specified Firewall action. The Firewall action is identified by the action_id. The action_id was returned by addfw command.

Examples:

addrule 5 -o -sa 192.168.2.1/24 -da 192.168.3.4 -p tcp -dp <2334 -sp 4546 -tos ef -fw 3

Packets with a source IP address of 192.168.2.1, a destination address of 192.168.3.4, and using a TCP destination port less than 2334 will have its TOS field marked with high priority and will be processed by Firewall action #3.

file:///P/T_WRITER/Documentation/Released/9003%20(Guinness)/User%20Guide/9003%20(Guiness)%20prac%20template/cli.htm (45 of 71) [11/6/2002 8:58:45 AM]

Page 169
Image 169
USRobotics U.S. Robotics SureConnect ADSL Ethernet/USB Router manual Flgs tcpflags, Typ icmptypes, Fw actionid