Optional) Creating A Time Range For A Layer 2 Acl - Huawei AR1200-S Configuration Manual

Enterprise routers
Hide thumbs Also See for AR1200-S:
Table of Contents

Advertisement

Huawei AR1200-S Series Enterprise Routers
Configuration Guide - Security
Pre-configuration Tasks
Before configuring a Layer 2 ACL, complete the following task:
l
Data Preparation
To configure a Layer 2 ACL, you need the following data.
No.
1
2
3
4
5
6

10.5.2 (Optional) Creating a Time Range for a Layer 2 ACL

To make a Layer 2 ACL take effect during a specified period of time, create a time range and
reference the time range in the Layer 2 ACL. If no time range is specified for the ACL, the ACL
remains effective until it is deleted or the rules of the ACL are deleted.
Context
Some services or functions that reference Layer 2 ACLs need to be started during a specified
period of time, for example, QoS needs to be started during peak hours. You can create a time
range and reference the time range in a Layer 2 ACL so that the Layer 2 ACL takes effect in the
time range. The service or function that references the Layer 2 ACL is also started in the specified
time range.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
time-range time-name { start-time to end-time days | from time1 date1 [ to time2
date2 ] }
A time range is created.
To configure multiple time ranges with the same name on the AR1200-S, run the preceding
command with the same value of time-name multiple times.
Issue 02 (2012-03-30)
Connecting interfaces and setting physical parameters for the interfaces to ensure that the
physical status of the interfaces is Up
Data
(Optional) Name of a time range during which ACL rules take effect
Number or name of a Layer 2 ACL
Source MAC address, destination MAC address, Layer 2 protocol type, and VLAN
ID or 802.1p priority
(Optional) Description of a Layer 2 ACL
(Optional) Description of a Layer 2 ACL rule
(Optional) Step value between Layer 2 ACL rule IDs
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
10 ACL Configuration
203

Advertisement

Table of Contents
loading

Table of Contents