12 mac access-group – CANOGA PERKINS 9175 Command Reference User Manual

Page 599

Advertising
background image

CanogaOS Command Reference

33-8

remark: the remarks of the MAC ACL

Command Mode

MAC ACL configuration

Usage

The remarks are up to 100 characters. The exceed parts will not be stored and will be truncated.

Examples

This example shows how to add a remark to describe the MAC ACL.

Switch(config-mac-acl)# remark remark of List for mac

This example shows how to remove the remark of the MAC ACL.

Switch(config-mac-acl)# no remark

Related Commands

None

33.12 mac access-group

Use this command to apply the specified MAC on the interface.

To cancel the application of MAC ACL, use the no form of this command.

Command Syntax

mac access-group acl {in|out}

no mac access-group acl {in |out}

acl: the name of the MAC ACL

Command Mode

Interface configuration

Usage

To cancel the application of MAC ACL on the interface, it should be applied first. Otherwise, the following

error message will be prompted:

%This access is not applied in this interface!

To create the MAC ACL, please refer to the command mac access-list.

Examples

This example shows how to apply the MAC ACL list_mac_1 on the interface and set the filter for the

outgoing packets.

Switch(config-if)# mac access-group mac_list_1 out

This example shows how to apply the MAC ACL list_mac_2 on the interface and set the filter for the

incoming packets.

Switch(config-if)# mac access-group mac_list_2 in

This example shows how to cancel the application of MAC ACL list_mac_1 on the interface.

Switch(config-if)# no mac access-group mac_list_1 out

Advertising