D-Link dgs-3420 Work Light User Manual


 
xStack® DGS-3420 Series Layer 2 Managed Stackable Gigabit Switch CLI Reference Guide
791
83-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-3420-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-3420-28SC:admin#
83-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.