xStack® DES-3528/DES-3552 Series Layer 2 Managed Stackable Fast Ethernet Switch CLI Reference Guide
431
delete mac_based_access_control_local
Purpose
Used to delete the local database entry.
Syntax
delete mac_based_access_control_local [mac <macaddr> | [vlan <vlan_name 32> |
vlanid <vlanid 1–4094>]]
Description
This command is used to delete a database entry.
Parameters
mac
– Deletes the database entry by this MAC address.
vlan
– Deletes the database entry by this VLAN name.
vlanid
– Deletes the database entry by this VLAN id.
Restrictions
Only Administrator and Operator and Power-User-level users can issue this command.
Example usage:
To delete the local database entry by mac address:
DES-3528:admin# delete mac_based_access_control_local mac 00–00–00–00–00–01
Command: delete mac_based_access_control_local mac 00–00–00–00–00–01
Success.
DES-3528:admin#
To delete the local database entry by vlan name:
DES-3528:admin# delete mac_based_access_control_local vlan default
Command: delete mac_based_access_control_local vlan default
Success.
DES-3528:admin#
show mac_based_access_control
Purpose
Used to display mac_based_access_control setting.
Syntax
show mac_based_access_control {ports {<portlist> }}
Description
This command is used to display mac_based_access_control settings.
Parameters
ports
– Display mac_based_access_control port state.
Restrictions
None.
Example usage:
To display MAC-based Access Control settings:
DES-3528:admin#show mac_based_access_control ports 1-7
Command: show mac_based_access_control ports 1-7
Port State Aging Time Block Time Max User
(min) (sec)
----- -------- ---------- --------- --------
1 Disabled 1440 300 128
2 Disabled 1440 300 128
3 Disabled 1440 300 128
4 Disabled 1440 300 128
5 Disabled 1440 300 128
6 Disabled 1440 300 128
7 Disabled 1440 300 128
DES-3528:admin#