13 show access-list mac, 14 clear access-list counters – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 670

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 670 of 855

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

Related Commands

mac access-list

33.13 show access-list mac

Use this command to show the MAC ACL information.

Command Syntax

show access-list mac

Command Mode

Privileged EXEC

Usage

None

Examples

This example shows how to show the MAC ACL information.
Switch# show access-list mac
mac access-list list_mac_1
10 deny src-mac host 0000.0001.0002
20 permit src-mac any

Related Commands

mac access-list

33.14 clear access-list counters

Use this command to clear access-list counters.

Advertising