Access-list mac, Permit, deny (mac acl) – PLANET SGSD-1022 User Manual

Page 510

Advertising
background image

User’s Manual of SGSD-1022 / SGSD-1022P

SGSW-2840 / SGSW-2840P

show map access-list mac

Shows CoS value mapped to an access list for an interface

PE

Table 5-49 MAC ACL Commands

access-list mac

This command adds a MAC access list and enters MAC ACL configuration mode. Use the no form to remove the specified ACL.

Syntax

[no] access-list mac acl_name acl_name – Name of the ACL. (Maximum length: 16 characters)

Default Setting

None

Command Mode

Global Configuration

Command Usage

When you create a new ACL or enter configuration mode for an existing ACL, use the permit or deny command to add

new rules to the bottom of the list. To create an ACL, you must add at least one rule to the list.

To remove a rule, use the no permit or no deny command followed by the exact text of a previously configured rule.

An ACL can contain up to 100 rules.

Example

Console(config)#access-list mac jerry

Console(config-mac-acl)#

Related Commands

permit, deny

mac access-group

show mac access-list

permit, deny (MAC ACL)

This command adds a rule to a MAC ACL. The rule filters packets matching a specified MAC source or destination address (i.e.,

physical layer address), or Ethernet protocol type. Use the no form to remove a rule.

Syntax

[no]{permit | deny} {any | host source | source address-bitmask} {any | host destination | destination address-bitmask} [cos

cos-value] [vid vid vid-bitmask] [ethertype protocol]

510

Advertising
This manual is related to the following products: