![SNR S2940-8G-v2 Скачать руководство пользователя страница 158](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630158.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAC Table Configuration
The configuration steps are listed below:
1. Set the MAC address 00-01-11-11-11-11 of PC1 as a filter address.
Switch(config)#mac-address-table static 00-01-11-11-11-11 discard vlan 1
2. Set the static mapping relationship for PC2 and PC3 to port 1/7 and port 1/9, respectively.
Switch(config)#mac-address-table static address 00-01-22-22-22-22
vlan 1 interface ethernet 1/7
Switch(config)#mac-address-table static address 00-01-33-33-33-33
vlan 1 interface ethernet 1/9
24.4
MAC Table Troubleshooting
Using the show mac-address-table command, a port is found to be failed to learn the MAC of a
device connected to it. Possible reasons:
• The connected cable is broken.
• Spanning Tree is enabled and the port is in 'discarding' status; or the device is just con-
nected to the port and Spanning Tree is still under calculation, wait until the Spanning Tree
calculation finishes, and the port will learn the MAC address.
• If not the problems mentioned above, please check for the switch portand contact technical
support for solution.
24.5
MAC Address Function Extension
24.5.1
MAC Address Binding
Introduction to MAC Address Binding
Most switches support MAC address learning, each port can dynamically learn several MAC ad-
dresses, so that forwarding data streams between known MAC addresses within the ports can be
achieved. If a MAC address is aged, the packet destined for that entry will be broadcasted. In
other words, a MAC address learned in a port will be used for forwarding in that port, if the con-
nection is changed to another port, the switch will learn the MAC address again to forward data in
the new port.
However, in some cases, security or management policy may require MAC addresses to be
bound with the ports, only data stream from the binding MAC are allowed to be forwarded in the
ports. That is to say, after a MAC address is bound to a port, only the data stream destined for that
MAC address can flow in from the binding port, data stream destined for the other MAC addresses
that not bound to the port will not be allowed to pass through the port.
158
Содержание 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...