![SNR S2940-8G-v2 Скачать руководство пользователя страница 157](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630157.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAC Table Configuration
2. Configure static MAC forwarding or filter entry
Command
Explanation
Global Mode
mac-address-table { static | static-multicast | blackhole
} address <mac-addr> vlan <vlan-id > [interface ether-
net <interface-name>] | [source | destination | both]
no mac-address-table { static | static-multicast | black-
hole | dynamic } [address <mac-addr>] [vlan <vlan-id>]
[interface ethernet <interface-name>]
Configure static MAC entries, static
multicast MAC entries, filter address
entires.
3. Clear dynamic address table
Command
Explanation
Admin Mode
clear mac-address-table dynamic [address <mac-
addr>] [vlan <vlan-id>] [interface [ethernet | portchan-
nel] <interface-name>]
Clear the dynamic address table.
24.3
Typical Configuration Examples
Switch A
PC1
MAC: 00-01-11-11-11-11
PC2
MAC: 00-01-22-22-22-22
PC3
MAC: 00-01-33-33-33-33
PC4
MAC: 00-01-44-44-44-44
Port 5
Port 12
Figure 24.2: MAC Table typical configuration example
Scenario:
Four PCs as shown in the above figure connect to port 1/5, 1/7, 1/9, 1/11 of switch, all the four
PCs belong to the default VLAN1. As required by the network environment, dynamic learning is
enabled. PC1 holds sensitive data and can not be accessed by any other PC that is in another
physical segment; PC2 and PC3 have static mapping set to port 1/7 and port 1/9, respectively.
157
Содержание 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...