H3C Technologies H3C Intelligent Management Center User Manual

Page 839

Advertising
background image

825

This field cannot contain question marks or blank spaces.

12.

Select the Layer 2 frame type from the Based Frame Type list.

13.

If you selected Ethernet Frame or 802.2 Ethernet Frame in the Base Frame Type list, you must
specify a code in the Code field.
A valid entry for this field includes any four character hexadecimal value.

14.

Click OK to accept the modifications to the rule.

15.

Click OK to accept the modifications to the template.

Modifying a user-defined rules in a user-defined ACL template

To modify the user-defined rule of a user-defined ACL template:

1.

Navigate to ACL Template:

a.

Click the Service tab from the tabular navigation system on the top.

b.

Click ACL Management section of the navigation tree on the left.

c.

Click the ACL Template link located under ACL Management on the navigation tree on the left.
The Template List displays in the main pane of the page.

2.

Click the icon in the Modify field associated with the user-defined template you want to modify.
The Modify Template page displays with the Rule List for the selected ACL template in the main
pane.

3.

Click the icon in the Modify field associated with the rule you want to modify.

4.

Select the action you want to take by clicking the radio button to the left of the option you want
to apply to this rule:

{

Select permit if, upon matching the specified conditions, the packet should be forwarded.

{

Select deny if, upon matching the specified conditions, the packet should be discarded.

5.

Enter a named variable for this ACL template in the Time Range field allowing you to create a
named variable without requiring you enter the Time Range in the template.
The named variable then serves as a placeholder for Time Range you created using the Assistant
combination when you import the template as a rule set into an existing ACL.

6.

You can modify or enter up to eight hexadecimal patterns, masks, and offsets for matching the
contents of a packet and applying the actions specified in the rule when a hexadecimal pattern is

matched.
The following rules and guidelines apply to constructing a valid hexadecimal string, mask, and
offset value:

{

A rule string must be expressed in hexadecimal only

{

A mask must be expressed in hexadecimal only

{

A rule string length must be equal to its mask length

{

Rule string and mask length must be in multiples of 2

{

The minimum length of a rule string and mask is 2

{

The maximum length of a rule string and mask is 160

{

Offsets must be expressed as a decimal integer

{

Offset range varies by the mask length

{

The minimum value for an offset is 0

{

The maximum value for an offset is 79

Advertising