Default
None.
Command Mode
Access-list Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command is available in the MAC, IP, IPv6, and Expert Access-list Configure mode.
Example
This example shows how to add a remark to the access-list.
Switch# configure terminal
Switch(config)# ip extended access-list R&D
Switch(config-ip-ext-acl)# list-remark This access-list is used to match any IP
packets from the host 10.2.2.1.
Switch(config-ip-ext-acl)# end
Switch# show access-list ip
Extended IP access list R&D(ID: 3999)
10 permit host 10.2.2.1 any
This access-list is used to match any IP packets from the host 10.2.2.1.
Switch#
4-12 mac access-group
This command is used to specify a MAC access list to be applied to an interface. Use the no form of
this command to remove the access group control from the interface.
mac access-group {NAME | NUMBER} [in]
no mac access-group [NAME | NUMBER] [in]
Parameters
(Optional) Specifies that the MAC access list will be applied to
check in the ingress direction. If direction is not specified, in is used.