Managing the Catalyst 4224 Access Gateway Switch
Adding and Removing Static Addresses
Adding Static Addresses
Step 1
Step 2
Step 3
Step 4
Catalyst 4224 Access Gateway Switch Software Configuration Guide
3-22
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.
Beginning in privileged EXEC mode, follow these steps to add a static address:
Task
Enter global configuration mode.
Enter the static MAC address, the interface,
and the VLAN ID of those ports.
Return to privileged EXEC mode.
Verify your entry.
Chapter 3
Configuring Ethernet Switching
Command
configure terminal
mac-address-table static
hw-addr [interface] interface
[vlan] vlan-id
end
show mac-address-table static
OL-2031-02