Use this command to apply L2 access restrictions to inbound or outbound frames on an interface.
name | Specifies the L2 ACL to be applied to the access group. This is an alpha-numeric text name of up to 64 characters. |
in | Filters inbound frames. |
out | Filters outbound frames. |
None.
Configuration command, Interface configuration.
L2 ACLs must be applied per VLAN interface. An L2 ACL can either be applied to inbound or outbound frames. An L2 ACL can be applied before it is created. The uncreated applied L2 ACL will have no affect.
The “no” form of this command removes the specified L2 ACL from the access group.
This example shows how to apply L2 ACL list1 for all inbound frames on VLAN 1:
System(rw-config)->interface vlan 1 System(rw-config-intf-vlan.0.1)->l2 access-group list1 in