Cisco Systems 4500 Switch User Manual


  Open as PDF
of 1504
 
4-27
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 4 Administering the Switch
Managing the MAC Address Table
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
Status limit Interval
-------------+-----------+-------------
enabled 78 123
Switch#
Adding and Removing Static Address Entries
A static address has these characteristics:
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.
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 Chapter 39, “Configuring Private VLANs.”
Step 6
end
Returns to privileged EXEC mode.
Step 7
show mac address-table notification threshold
show running-config
Displays the MAC utilization threshold notification
status.
Step 8
copy running-config startup-config
(Optional) Saves your entries in the configuration
file.
Command Purpose