3 Configuring the Switch

Web – Click Address Table, Static Addresses. Specify the interface, the MAC address and VLAN, then click Add Static Address.

Figure 3-64 Static Addresses

CLI – This example adds an address to the static address table, but sets it to be deleted when the switch is reset.

Console(config)#mac-address-table static 00-e0-29-94-34-de interface

ethernet 1/1 vlan 1 delete-on-reset

4-147

Console(config)#

Displaying the Address Table

The Dynamic Address Table contains the MAC addresses learned by monitoring the source address for traffic entering the switch. When the destination address for inbound traffic is found in the database, the packets intended for that address are forwarded directly to the associated port. Otherwise, the traffic is flooded to all ports.

Command Attributes

Interface – Indicates a port or trunk.

MAC Address – Physical address associated with this interface.

VLAN – ID of configured VLAN (1-4094).

Address Table Sort Key – You can sort the information displayed based on MAC address, VLAN or interface (port or trunk).

Dynamic Address Counts – The number of addresses dynamically learned.

Current Dynamic Address Table – Lists all the dynamic addresses.

3-110