Specifications
Chapter 3 Configuring Ethernet Switching
Managing the Catalyst 4224 Access Gateway Switch
3-22
Catalyst 4224 Access Gateway Switch Software Configuration Guide
OL-2031-02
Adding and Removing Static Addresses
A static address has the following 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.
Because all ports are associated with at least one VLAN, the switch acquires the
VLAN ID for the address from the ports that you select on the forwarding map. A
static address in one VLAN must be a static address in other VLANs. 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.
Adding Static Addresses
Beginning in privileged EXEC mode, follow these steps to add a static address:
Task Command
Step 1
Enter global configuration mode.
configure terminal
Step 2
Enter the static MAC address, the interface,
and the VLAN ID of those ports.
mac-address-table static
hw-addr
[interface] interface
[vlan] vlan-id
Step 3
Return to privileged EXEC mode.
end
Step 4
Verify your entry.
show mac-address-table static