beautypg.com

4 mac access-group, 5 show mac access-lists, Mac access-group - 26 – Kontron AT8904 CLI User Manual

Page 194: Show mac access-lists - 26, Quality of service (qos) commands at8904m

background image

Quality of Service (QoS) Commands

AT8904M

AT8904M CLI Reference Manual

Page 4 - 26

4.7.4

mac access-group

This command attaches a specific MAC Access Control List (ACL) identified by

to an interface in a given direction. The

parameter must be the name of

an existing MAC ACL.

An optional sequence number may be specified to indicate the order of this mac access
list relative to other mac access lists already assigned to this interface and direction. A
lower number indicates higher precedence order. If a sequence number is already in use
for this interface and direction, the specified mac access list replaces the currently
attached mac access list using that sequence number. If the sequence number is not
specified for this command, a sequence number that is one greater than the highest
sequence number currently in use for this interface and direction is used.

This command specified in 'Interface Config' mode only affects a single interface,
whereas the 'Global Config' mode setting is applied to all interfaces. The 'Interface
Config' mode command is only available on platforms that support independent per-
port class of service queue configuration.

Format

mac access-group in [sequence <1-4294967295>]

Modes

Global Config

Interface Config

4.7.4.1

no mac access-group

This command removes a MAC ACL identified by

from the interface in a

given direction.

Format

no mac access-list in

Modes

Global Config

Interface Config

4.7.5

show mac access-lists

This command displays a MAC access list and all of the rules that are defined for the
MAC ACL. Use the

[name]

parameter to identify a specific MAC ACL to display.

Format

show mac access-lists [name]

Mode

Privileged EXEC

Rule Number The ordered rule number identifier defined within the MAC ACL.
Action

The action associated with each rule. The possible values are Permit or
Deny.

Source MAC Address The source MAC address for this rule.
Destination MAC Address The destination MAC address for this rule.
Ethertype

The Ethertype keyword or custom value for this rule.

VLAN ID

The VLAN identifier value or range for this rule.

COS

The COS (802.1p) value for this rule.

Log

Displays when you enable logging for the rule.

Assign Queue The queue identifier to which packets matching this rule are assigned.