Defining your own rules, Defining your own rules -13 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual

Page 629

Advertising
background image

Defining and Configuring AutoTracker Policies

Page 20-13

Defining Your Own Rules

A user-defined rule enables you to include all devices in the mobile group or AutoTracker

VLAN

that originate frames containing a specified pattern at a specified location. Each user-

defined rule requires an Offset, a Value, and a Mask; you will be prompted for each of these
values. The Offset specifies the location of the pattern within the frame. The Value specifies
the pattern. The Mask specifies the bits that you care about within the Value pattern.

After you enter the Administrative Status for this mobile group or AutoTracker

VLAN

, the

following menu displays:

Select rule type:
1. Port Rule
2. MAC Address Rule

21) MAC Address Range Rule

3. Protocol Rule
4. Network Address Rule
5. User Defined Rule
6. Binding Rule
7. DHCP PORT Rule
8. DHCP MAC Rule

81) DHCP MAC Range Rule

Enter rule type (1):

1. Enter

5

and press

<Return>

.

2. The following prompt displays:

Set Rule Admin Status to ((e)nable/(d)isable):

Indicate whether or not you want to enable the Administrative Status for this rule. Type

e

to enable or

d

to disable. If you enable the rule, the switch will use it to determine

membership of devices. If you disable the rule, then the switch will not use this rule, but
the parameters you set up will be saved. The Admin Status for a Policy is different from
the Admin Status for the mobile group or AutoTracker

VLAN

as it controls only to this

specific rule. You can enable or disable the rule at a later time using the

modatvl

command.

3. The following prompt displays:

Enter the Offset into the frame ( < 64) :

Enter an

Offset

value, in number of bytes, to define the location where the

Value

– or

pattern – is found. The offset value can be any number from 0 – 63. The first byte of the
frame’s

MAC

header is considered byte 1. An offset of 0 specifies that the pattern begins in

byte 1 of the frame.

As an example, enter an offset value of

14

if you want to specify the pattern that defines

NETBIOS

, because that pattern begins in the 21st byte of the frame.

4. The following prompt displays:

Enter the value of the pattern to match:

Enter a

Value

, in hex, to specify the pattern itself. The value can be a maximum of eight

bytes. For example, enter

F0F0

to specify the pattern that identifies

NETBIOS

.

5. The following prompt displays:

Enter the mask for the pattern to match:

Enter a

Mask

value, in hex, to specify the bits within the

Value

that you care about. The

mask can be a maximum of eight bytes, but must be the same length as the

Value

you

entered. The mask value is

AND

ed with the

Value

and frames are searched for the result.

Advertising