5-26
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
OL-8915-03
Chapter 5 Administering the Switch
Managing the MAC Address Table
To disable unicast MAC address filtering, use the
no mac address-table static
mac-addr
vlan
vlan-id
global configuration command.
This example shows how to enable unicast MAC address filtering and to configure the switch to drop
packets that have a source or destination address of c2f3.220a.12f4. When a packet is received in
VLAN 4 with this MAC address as its source or destination, the packet is dropped:
Switch(config)#
mac
a
ddress-table static c2f3.220a.12f4 vlan 4 drop
Displaying Address Table Entries
You can display the MAC address table by using one or more of the privileged EXEC commands
described in
Table 5-4
:
Step 4
show mac address-table static
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Table 5-4
Commands for Displaying the MAC Address Table
Command
Description
show ip igmp snooping groups
Displays the Layer 2 multicast entries for all VLANs or the specified VLAN.
show mac address-table address
Displays MAC address table information for the specified MAC address.
show mac address-table aging-time
Displays the aging time in all VLANs or the specified VLAN.
show mac address-table count
Displays the number of addresses present in all VLANs or the specified VLAN.
show mac address-table dynamic
Displays only dynamic MAC address table entries.
show mac address-table interface
Displays the MAC address table information for the specified interface.
show mac address-table notification
Displays the MAC notification parameters and history table.
show mac address-table static
Displays only static MAC address table entries.
show mac address-table vlan
Displays the MAC address table information for the specified VLAN.