Managing the MAC Address Table
Command
Step 6
end
Step 7
show mac address-table notification threshold
show running-config
Step 8
copy running-config startup-config
This example shows how to specify 172.69.59.93 as the network management system, enable the MAC
threshold notification feature, enable the switch to send MAC threshold notification traps to the NMS,
set the interval to 123 seconds, and set the limit to 78 percent:
Switch# configure terminal
Switch(config)# snmp-server host 171.69.59.93 private mac-notification
Switch(config)# snmp-server enable traps mac-notification threshold
Switch(config)# mac address-table notification threshold
Switch(config)# mac address-table notification threshold interval 123
Switch(config)# mac address-table notification threshold limit 78
Switch(config)# end
Switch# show mac-address-table notification threshold
-------------+-----------+-------------
enabled
Switch#
Adding and Removing Static Address Entries
A static address has these characteristics:
•
•
•
You can add and remove static addresses and define the forwarding behavior for them. The forwarding
behavior defines how a port that receives a packet forwards it to another port for transmission. Because
all ports are associated with at least one VLAN, the switch acquires the VLAN ID for the address from
the ports that you specify. You can specify a different list of destination ports for each source port.
A packet with a static address that arrives on a VLAN where it has not been statically entered is flooded
to all ports and not learned.
You add a static address to the address table by specifying the destination MAC unicast address and the
VLAN from which it is received. Packets received with this destination address are forwarded to the
interface specified with the interface-id option.
When you configure a static MAC address in a private-VLAN primary or secondary VLAN, you should
also configure the same static MAC address in all associated VLANs. Static MAC addresses configured
in a private-VLAN primary or secondary VLAN are not replicated in the associated VLAN. For more
information about PVLANs, see
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
4-36
Status
limit
78
It is manually entered in the address table and must be manually removed.
It can be a unicast or multicast address.
It does not age and is retained when the switch restarts.
Purpose
Returns to privileged EXEC mode.
Displays the MAC utilization threshold notification
status.
(Optional) Saves your entries in the configuration
file.
Interval
123
Chapter 44, "Configuring Private VLANs."
Chapter 4
Administering the Switch
OL-30933-01