Information About Layer 2 Switching
You can configure Layer 2 switching ports as access or trunk ports. Trunks carry the traffic of multiple VLANs over a single link and allow you to extend VLANs across an entire network. All Layer 2 switching ports maintain MAC address tables.
Note |
See Cisco Nexus 3550-T Interfaces Configuration Guide, for information on creating interfaces. |
Switching Frames Between Segments
Each LAN port on a device can connect to a single workstation, server, or to another device through which workstations or servers connect to the network.
To reduce signal degradation, the device considers each LAN port to be an individual segment. When stations connected to different LAN ports need to communicate, the device forwards frames from one LAN port to the other at wire speed to ensure that each session receives full bandwidth.
To switch frames between LAN ports efficiently, the device maintains an address table. When a frame enters the device, it associates the media access control (MAC) address of the sending network device with the LAN port on which it was received.
Building the Address Table and Address Table Changes
The device dynamically builds the address table by using the MAC source address of the frames received. When the device receives a frame for a MAC destination address not listed in its address table, it floods the frame to all LAN ports of the same VLAN except the port that received the frame. When the destination station replies, the device adds its relevant MAC source address and port ID to the address table. The device then forwards subsequent frames to a single LAN port without flooding all LAN ports.
You can configure MAC addresses, which are called static MAC addresses, to statically point to specified interfaces on the device. These static MAC addresses override any dynamically learned MAC addresses on those interfaces. You cannot configure broadcast addresses as static MAC addresses. The static MAC entries are retained across a reboot of the device.
The address table can store a number of MAC address entries depending on the hardware I/O module. The device uses an aging mechanism, defined by a configurable aging timer, so if an address remains inactive for a specified number of seconds, it is removed from the address table.
Layer 3 Static MAC Addresses
You can configure a static MAC address for the following Layer 3 interfaces:
-
Layer 3 interfaces
-
Layer 3 port channels
-
VLAN network interface
Note |
When you configure static MAC on SVI interface, ensure that the first 42 bits match the Virtual Device Context (VDC) MAC. |
See the Cisco Nexus Series NX-OS Interfaces Configuration Guide, for information on configuring Layer 3 interfaces.