GS-4210-Series (V2) User Manual

Table Of Contents
Command Guide of GS-4210 Series
213
You can verify your setting by entering the show mac address-table static Privileged EXEC command
Example:
This example shows how to add filter mac addresses to the MAC address table.
Switch(config)# mac address-table static a:b:c:d:e:f vlan 20 drop
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 20 | 00:30:4F:0D:0E:0F | Filtering | All
Total number of entries: 3
4.15.5 show mac address-table
Command:
show mac address-table [(static|dynamic)] [interfaces IF_PORTS] [vlan <1-4094>]
show mac address-table A:B:C:D:E:F [vlan <1-4094>]
Parameter:
static
Add/Edit login authentication list
dynamic
Displays only static MAC address table entries.
IF_PORTS
Displays entries for a specific interface ID. The interface ID can be one of the following
types: Ethernet port or port-channel.
<1-4094>
Displays entries for a specific VLAN.
A:B:C:D:E:F
Displays entries for a specific MAC address.
Mode:
Privileged EXEC
Usage Guide:
Use the show mac address-table command in EXEC mode to view entries in the MAC address table.
Example:
This example shows all MAC address entries in mac address table.
Switch# show mac address-table
VID | MAC Address | Type | Ports