beautypg.com

4 mac access-group, 1 no mac access-group, 5 show mac access-lists – Kontron AT8404 CLI User Manual

Page 203: Mac access-group - 29, Show mac access-lists - 29, At8404 quality of service (qos) commands

background image

AT8404

Quality of Service (QoS) Commands

Page 3 - 29

AT8404 CLI Reference Manual

3.7.4

mac access-group

This command either attaches a specific MAC Access Control List (ACL) identified by to an interface, or
associates it with a VLAN ID, 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 VLAN keyword is only valid in the 'Global Config' mode. The 'Interface Config'
mode command is only available on platforms that support independent per-port class of service queue
configuration.

3.7.4.1

no mac access-group

This command removes a MAC ACL identified by from the interface in a given direction.

3.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

mac access-group

[vlan ]

in [sequence <1-4294967295>]

Modes

Global Config
Interface Config

Format

no mac access-group

[vlan ]

in

Modes

Global Config
Interface Config

Format

show mac access-lists [name]

Mode

Privileged EXEC

Term

Definition

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.