xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
998
94-2
delete mac_based_vlan
Description
This command is used to delete static MAC-based VLAN entries.
Format
delete mac_based_vlan {mac_address <macaddr> [vlan <vlan_name 32>| vlanid <vlanid 1-
4094>]}
Parameters
mac_address
- (Optional) Specify the MAC address to be deleted.
<macaddr>
- Specify the MAC address to be deleted.
vlan
- (Optional) Specify the VLAN associated with the MAC address.
<vlan_name 32>
- Specify the VLAN name. The maximum length is 32 characters.
vlanid
- (Optional) Specify the VLAN ID associated with the MAC address.
<vlanid 1-4094>
- Specify the VLAN ID between 1 and 4094.
Note:
If the MAC address and VLAN are not specified, all static entries associated with
the port will be removed.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
Example
To delete a static MAC-based VLAN entry:
DGS-3620-28SC:admin#delete mac_based_vlan mac_address 00-00-00-00-00-01 vlan
default
Command: delete mac_based_vlan mac mac_address 00-00-00-00-00-01 vlan default
Success.
DGS-3620-28SC:admin#
94-3
show mac_based_vlan
Description
This command is used to display the MAC-based VLAN entries.
Format
show mac_based_vlan {mac_address <macaddr> | [vlan <vlan_name 32> | vlanid <vlanid 1-
4094>]}
Parameters
mac_address
- (Optional) Specify the MAC address to be displayed.
<macaddr>
- Specify the MAC address to be displayed.