3Com OfficeConnect Remote 812 Cli User's Manual page 73

Release 1.0
Hide thumbs Also See for OfficeConnect Remote 812:
Table of Contents

Advertisement

3 You can comment a section header out by placing a # sign before the section
header. This is useful if you want to insert a placeholder for a protocol section you
will define in the future.
4 Enter the protocol rules for the protocol section you are defining. Observe the
following guidelines.
Begin each rule with a unique line number ranging from 1 - 10.

Arrange rules in increasing line number order within each protocol section.

Arrange rules so that the rules you expect to be matched most frequently are

toward the top of the list
Delimit each rule with a semi-colon. Example:

IP 1 ACCEPT src-addr = 128.100.33.1;
2 ACCEPT dst-addr = 200.135.38.9;
999 DENY;
5 Continue to define protocol rules for each protocol section you want to filter.
6 Inspect the file to ensure that it meets all filtering rules.
7 This step is important since you cannot edit the filter file from within the CLI. To
edit the file, you must modify the it using a text editor, TFTP the modified file into
the FLASH (replacing the original file) and verify the filter using the verify filter
command.
8 Save the filter file using a 12.3 FLT extension. The filter file extension will allow you
to differentiate the filter file from other files stored in the router FLASH memory.
9 You can use the list files command to ensure the filter file was successfully stored
in the router FLASH memory.
10 Configure a PC as a Trivial File Transfer Protocol (TFTP) client of the router by
entering add TFTP client <hostname or IP address>.
To use CLI, see the CLI User's Guide for instructions for connecting the console
cable and communicating with the OfficeConnect Remote 812 using a terminal
emulator like Microsoft's HyperTerminal.
11 From a machine that has access to the same network as the router, use a TFTP
command to transfer the filter file to the router FLASH memory. For example, from
the workstation command line enter:
tftp <OfficeConnect Remote 812 IP address> put <filter filename>
12 The router does not recognize a filter file stored in its FLASH memory until you add
it to the managed filter table. To notify the unit about the filter file for the first
time, you must issue the CLI command add filter <name> to add the filter to the
managed filter table. When the filter is added, the unit automatically verifies the
filter file syntax. If you modified a file that had already been added, use the delete
filter <name> command to remove the old file before TFTPing the new file. Then
use the add filter <name> command again.
13 If the syntax is valid, no message is generated and the command prompt returns. If
the syntax is not valid, error messages are generated detailing the source of the
errors.
14 Apply the filter to the appropriate interface or VC / remote site profile. After
replacing a file, you need to re-apply the filter for it the new filter file to take
effect.
Creating Filters Using Command Line Interface
6-35

Advertisement

Table of Contents
loading

Table of Contents