Specifications
clear security l2-restrict counters
Chapter 6
VLAN Commands
68
Defaults
If you do not specify a list of MAC addresses or all, all addresses are
removed.
Access
Enabled.
Usage
If you clear all MAC addresses, Layer 2 forwarding is no longer restricted
in the VLAN. Clients within the VLAN can communicate directly.
There can be a slight delay before functions such as pinging between clients
become available again after Layer 2 restrictions are lifted. Even though packets
are passed immediately once Layer 2 restrictions are gone, it can take 10 seconds
or more for upper-layer protocols to update their ARP caches and regain their
functionality.
To clear the statistics counters without removing any MAC addresses, use the
clear security l2-restrict counters command instead.
Examples
The following command removes MAC address aa:bb:cc:dd:ee:ff from
the list of addresses that clients in VLAN abc_air are allowed to send traffic at
Layer 2:
PROMPT# clear security l2-restrict vlan abc_air permit-mac aa:bb:cc:dd:ee:ff
success: change accepted.
See Also
l clear security l2-restrict counters on page 68
l set security l2-restrict on page 73
l show security l2-restrict on page 84
clear security l2-restrict counters
Clear statistics counters for Layer 2 forwarding restriction.
Syntax
clear security l2-restrict counters [vlan vlan-id | all]
vlan-id VLAN name or number.
all Clears Layer 2 forwarding restriction counters for all
VLANs.