4-1. Switching Table

  • The switching table contains MAC addresses and the switch ports on which they were learned or statically configured.

  • Packets or frames are forwarded by looking up the destination MAC address in the switching table. The frame is sent out the corresponding switch port.

  • The switching table entries are normally dynamically learned as packets flow. Entries can also be statically defined.

Configuration

1.
(Optional) Assign a static switching table entry:
COS
												set cam {dynamic | static | permanent} {mac-addr |

												route-descr} mod/port [vlan-id]
IOS
(global) mac-address-table {dynamic | static | 
secure} mac-addr {vlan
												vlan-id} {interface ...

Get Cisco® Field Manual: Catalyst® Switch Configuration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.