Acl rate, Acl add – PLANET WGSD-8020 User Manual

Page 328

Advertising
background image

User’s Manual of WGSD-8020

328

ACL Rate

Description:

Set or show the ACL rate limiter.

Syntax:

ACL Rate [<rate_limiter_list>] [<packet_rate>]

Parameters:

<rate_limiter_list>

: Rate limiter list (1-15), default: All rate limiters

<packet_rate>

: Rate in pps (1, 2, 4, ..., 512, 1k, 2k, 4k, ..., 1024k)

Default Setting:

1

Example:

Set the ACL rate limiter

SWITCH/>acl rate 15 1024k

ACL Add

Description:

Add or modify Access Control Entry (ACE).

If the ACE ID parameter <ace_id> is specified and an entry with this ACE ID already exists, the ACE will be modified.

Otherwise, a new ACE will be added. If the ACE ID is not specified, the next available ACE ID will be used.

If the next ACE ID parameter <ace_id_next> is specified, the ACE will be placed before this ACE in the list. If the next

ACE ID is not specified, the ACE will be placed last in the list.

Syntax:

ACL Add [<ace_id>] [<ace_id_next>] [switch | (port <port>) | (policy <policy>)][<vid>] [<tag_prio>] [<dmac_type>][(etype

[<etype>] [<smac>] [<dmac>]) |(arp [<sip>] [<dip>] [<smac>] [<arp_opcode>] [<arp_flags>]) |(ip [<sip>] [<dip>]

[<protocol>] [<ip_flags>]) |(icmp [<sip>] [<dip>] [<icmp_type>] [<icmp_code>] [<ip_flags>]) |(udp [<sip>] [<dip>] [<sport>]

[<dport>] [<ip_flags>]) |(tcp [<sip>] [<dip>] [<sport>] [<dport>] [<ip_flags>]

Parameters:

<ace_id>

: ACE ID (1-128), default: Next available ID

<ace_id_next>

: Next ACE ID (1-128), default: Add ACE last

switch

: Switch ACE keyword

port

: Port ACE keyword

<port>

: Port number

policy

: Policy ACE keyword

<policy>

: Policy number (1-8)

<vid>

: VLAN ID (1-4095) or 'any'

Advertising