![SNR S2940-8G-v2 Скачать руководство пользователя страница 154](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630154.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAC Table Configuration
Chapter 24
MAC Table Configuration
24.1
Introduction to MAC Table
MAC table is a table identifies the mapping relationship between destination MAC addresses and
switch ports. MAC addresses can be categorized as static MAC addresses and dynamic MAC
addresses. Static MAC addresses are manually configured by the user, have the highest priority
and are permanently effective (will not be overwritten by dynamic MAC addresses); dynamic MAC
addresses are entries learnt by the switch in data frame forwarding, and is effective for a limited
period. When the switch receives a data frame to be forwarded, it stores the source MAC address
of the data frame and creates a mapping to the destination port. Then the MAC table is queried for
the destination MAC address, if hit, the data frame is forwarded in the associated port, otherwise,
the switch forwards the data frame to its broadcast domain. If a dynamic MAC address is not learnt
from the data frames to be forwarded for a long time, the entry will be deleted from the switch MAC
table.
There are two MAC table operations:
1. Obtain a MAC address.
2. Forward or filter data frame according to the MAC table.
24.1.1
Obtaining MAC Table
The MAC table can be built up statically and dynamically. Static configuration is to set up a mapping
between the MAC addresses and the ports; dynamic learning is the process in which the switch
learns the mapping between MAC addresses and ports, and updates the MAC table regularly. In
this section, we will focus on the dynamic learning process of MAC table.
The topology of the figure above: 4 PCs connected to switch, where PC1 and PC2 belongs to
a same physical segment (same collision domain), the physical segment connects to port 1/5 of
switch; PC3 and PC4 belongs to the same physical segment that connects to port 1/12 of switch.
The initial MAC table contains no address mapping entries. Take the communication of PC1
and PC3 as an example, the MAC address learning process is as follow:
1. When PC1 sends message to PC3, the switch receives the source MAC address 00-01-11-
11-11-11 from this message, the mapping entry of 00-01-11-11-11-11 and port 1/5 is added
to the switch MAC table.
154
Содержание S2940-8G-v2
Страница 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Страница 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Страница 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Страница 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Страница 176: ...SNR S2940 8G v2 Switch Configuration Guide Part V QoS and Flow based Redirection Configuration 176...
Страница 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Страница 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Страница 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Страница 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Страница 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Страница 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Страница 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Страница 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...