clear security l2-restrict counters

Clear statistics counters for Layer 2 forwarding restriction.

Syntax: clear security l2-restrict counters [vlan vlan-id all]

vlan-idVLAN name or number.

all

Clears Layer 2 forwarding restriction counters for all VLANs.

Defaults: If you do not specify a VLAN or all, counters for all VLANs are cleared.

Access: Enabled.

Usage: To clear MAC addresses from the list of addresses to which clients are allowed to send data, use the clear security l2-restrictcommand instead.

Examples: The following command clears Layer 2 forwarding restriction statistics for VLAN abc_air:

DWS-1008# clear security l2-restrict counters vlan abc_air success: change accepted.

See Also:

clear security l2-restrict

set security l2-restrict

show security l2-restrict

clear vlan

Removes physical or virtual ports from a VLAN or removes a VLAN entirely.

Caution: When you remove a VLAN, MSS completely removes the VLAN from the configuration and also removes all configuration information that uses the VLAN. If you want to remove only a specific port from the VLAN, make sure you specify the port number in the command.

Syntax: clear vlan vlan-id[port port-list[tag tag-value]]

vlan-idVLAN name or number.

port port-listList of physical ports. MSS removes the specified ports from the VLAN. If you do not specify a list of ports, MSS removes the VLAN entirely.

tag tag-valueTag number that identifies a virtual port. MSS removes only the specified virtual port from the specified physical ports.

D-Link DWS-1008 CLI Manual

62

Page 65
Image 65
D-Link dws-1008 Clear security l2-restrict counters, Clear vlan, All, Syntax clear vlan vlan-idport port-listtag tag-value