3 acl example, Xample – PLANET XGS3-24042 User Manual

Page 509

Advertising
background image

51-18

[no] periodic

{{Monday+Tuesday+Wednesday+Thursday+

Friday+Saturday+Sunday} | daily | weekdays |

weekend} <start_time> to <end_time>

3Configure absolute time range

Command

Explanation

Global Mode

absolute start <start_time> <start_data> [end

<end_time> <end_data>]

Configure absolute time

range.

[no] absolute start <start_time> <start_data> [end

<end_time> <end_data>]

Stop the function of the time

range.

4. Bind access-list to a specific direction of the specified port.

Command

Explanation

Physical Port Mode, VLAN Port Mode

{ip|ipv6|mac|mac-ip} access-group <acl-name>

{in|out} [traffic-statistic]

no {ip|ipv6|mac|mac-ip} access-group <acl-name>

{in|out}

Apply an access-list to the

ingress or egress direction

on the port; the no command

deletes the access-list

bound to the port.

5. Clear the filtering information of the specified port

Command

Explanation

Admin Mode

clear access-group statistic interface

{ <interface-name> | ethernet <interface-name> }

Clear the filtering information

of the specified port.

51.3 ACL Example

Scenario 1:

The user has the following configuration requirement: port 1/0/10 of the switch connects to 10.0.0.0/24

segment, ftp is not desired for the user.

Configuration description:

1. Create a proper ACL

2. Configuring packet filtering function

Advertising
This manual is related to the following products: