Cisco SPS2024 Reference Manual page 61

Cisco systems ethernet switch reference guide
Hide thumbs Also See for SPS2024:
Table of Contents

Advertisement

ACL Commands
deny (MAC)
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide
destination-wildcard —
by placing 1's in bit positions to be ignored.
vlan-id
— Specifies the ID of the packet vlan.
cos
— Specifies the packet's Class of Service (CoS).
cos-wildcard —
eth-type
— Specifies the packet's Ethernet type.
Default Configuration
This command has no default configuration.
Command Mode
MAC-Access List Configuration mode
User Guidelines
MAC BPDU packets cannot be denied.
This command defines an Access Control Element (ACE). An ACE can only be
removed by deleting the ACL, using the no mac access-list Global Configuration
mode command. Alternatively, the Web-based interface canbe used to delete
ACEs from an ACL.
Before an Access Control Element (ACE) is added to an ACL, all packets are
permitted. After an ACE is added, an implied deny-any-any condition exists at the
end of the list and those packets that do not match the conditions defined in the
permit statement are denied.
If the VLAN ID is specified, the policy map cannot be connected to the VLAN
interface.
Example
The following example shows how to create a MAC ACL with deny rules on a
device.
Console(config)# mac access-list macl1
Console (config-mac-acl)# deny 00:00:00:00:10:00 any
(Optional for the first type) Specifies wildcard bits
Specifies wildcard bits to be applied to the CoS.
3
59

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sps224g4Sps208g

Table of Contents