![SNR S2940-8G-v2 Configuration Manual Download Page 156](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630156.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAC Table Configuration
1. Forward data according to the MAC table
If PC1 sends a message to PC3, the switch will forward the data received on port 1/5 from port
1/12.
2. Filter data according to the MAC table
If PC1 sends a message to PC2, the switch, on checking the MAC table, will find PC2 and PC1
are in the same physical segment and filter the message (i.e. drop this message).
Three types of frames can be forwarded by the switch:
• Broadcast frame
• Multicast frame
• Unicast frame
The following describes how the switch deals with all the three types of frames:
•
Broadcast frame:
The switch can segregate collision domains but not broadcast domains. If
no VLAN is set, all devices connected to the switch are in the same broadcast domain. When
the switch receives a broadcast frame, it forwards the frame in all ports. When VLANs are
configured in the switch, the MAC table will be adapted accordingly to add VLAN information.
In this case, the switch will not forward the received broadcast frames in all ports, but forward
the frames in all ports in the same VLAN.
•
Multicast frame:
For the unknown multicast, the switch will broadcast it in the same vlan, but
the switch only forwards the multicast frames to the multicast group's port if IGMP Snooping
function or the static multicast group has been configured.
•
Unicast frame:
When no VLAN is configured, if the destination MAC addresses are in the
switch MAC table, the switch will directly forward the frames to the associated ports; when
the destination MAC address in a unicast frame is not found in the MAC table, the switch will
broadcast the unicast frame. When VLANs are configured, the switch will forward unicast
frame within the same VLAN. If the destination MAC address is found in the MAC table but
belonging to different VLANs, the switch can only broadcast the unicast frame in the VLAN
it belongs to.
24.2
Mac Address Table Configuration Task List
1. Configure the MAC address aging-time
2. Configure static MAC forwarding or filter entry
3. Clear dynamic address table
1. Configure the MAC aging-time
Command
Explanation
Global Mode
mac-address-table aging-time <0 | aging-time>
Configure the MAC address aging-time.
no mac-address-table aging-time
156
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...