GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
212
Mode:
Global Configuration
Usage Guide:
Use the mac address-table static global configuration command to add static addresses to the MAC address table.
Use the no form of this command to remove static entries from the table.
You can verify your setting by entering the show mac address-table static Privileged EXEC command
Example:
This example shows how to add static addresses to the MAC address table.
Switch(config)# mac address-table static 0:1:2:3:4:5 vlan 1 interfaces gi5
Switch(config)# mac address-table static 1:6:7:9:a:b vlan 100 interfaces gi1,gi5,gi10
Switch# show mac address-table static
VID | MAC Address | Type | Ports -----+-------------------------+-----------------
---------+---------------- 1 | 00:30:4F:03:04:05 | Static | gi5
100 | 00:30:4F:09:0A:0B | Static | gi1,gi5,gi10
Total number of entries: 2
4.15.4 mac address-table static drop
Command:
mac address-table static A:B:C:D:E:F vlan <1-4094> drop
Parameter:
A:B:C:D:E:F
Unicast source or destination MAC address. Packets with this MAC address are
dropped.
<1-4094>
Specify the VLAN for which the packet with the specified MAC address is received.
Default:
Unicast MAC address filtering is disabled. The switch does not drop traffic for specific source or destination MAC
addresses.
Mode:
Global Configuration
Usage Guide:
Use the mac address-table static drop global configuration command to enable unicast MAC address filtering and
to configure the switch to drop traffic with a specific source or destination MAC address.
Use the no form of this command to return to the default setting.