Cisco Systems SPS224G4 Switch User Manual


 
ACL Commands
permit (MAC)
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 57
3
permit (MAC)
The permit MAC-Access List Configuration mode command defines permit
conditions of an MAC ACL.
Syntax
permit {any | {host
source source-wildcard
} any | {
destination destination-wildcard
}}
[lan
vlan-id
] [cos
cos cos-wildcard
] thtype
eth-type
] [inner-vlan
vlan-id
]
Parameters
source
— Specifies the source MAC address of the packet.
source-wildcard
— Specifies wildcard bits to be applied to the source MAC
address. Use 1s in bit positions to be ignored.
destination
— Specifies the MAC address of the host to which the packet is
being sent.
destination-wildcard —
Specifies wildcard bits to be applied to the
destination MAC address. Use 1s in bit positions to be ignored.
vlan-id
— Specifies the ID of the packet vlan. (Range: 0-4094)
cos
— Specifies the Class of Service (CoS) for the packet. (Range: 0-7)
cos-wildcard —
Specifies wildcard bits to be applied to the CoS.
eth-type
— Specifies the Ethernet type of the packet .(Range: 05dd-ffff
(hex))
inner-vlan
vlan-id
— Specifies the inner VLAN ID of a double tagged packet
Default Configuration
No MAC ACL is defined.
Command Mode
MAC-Access List Configuration mode