![SNR S2940-8G-v2 Скачать руководство пользователя страница 159](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630159.webp)
SNR S2940-8G-v2 Switch Configuration Guide
MAC Table Configuration
MAC Address Binding Configuration Task List
1. Enable MAC address binding function for the ports
2. Lock the MAC addresses for a port
3. MAC address binding property configuration
4. mac-notification trap configuration
1. Enable MAC address binding function for the ports
Command
Explanation
Port Mode
switchport port-security
no switchport port-security
Enable MAC address binding function for the port and lock
the port. When a port is locked, the MAC address learn-
ing function for the port will be disabled: the 'no switchport
port-security' command disables the MAC address binding
function for the port, and restores the MAC address learning
function for the port.
2. Lock the MAC addresses for a port
Command
Explanation
Port Mode
switchport port-security lock
no switchport port-security lock
Lock the port, then MAC addresses learned will be disabled.
The 'no switchport port-security lock' command restores the
function.
switchport port-security convert
Convert dynamic secure MAC addresses learned by the port
to static secure MAC addresses.
switchport port-security timeout
<value>
Enable port locking timer function; the 'no switchport port-
security timeout' restores the default setting.
no switchport port-security time-
out
switchport
port-security
mac-
address <mac-address>
no switchport port-security mac-
address <mac-address>
Add static secure MAC address; the 'no switchport port-
security mac-address' command deletes static secure MAC
address.
Admin Mode
clear port-security dynamic [ad-
dress <mac-addr> | interface
<interface-id>]
Clear dynamic MAC addresses learned by the specified
port.
159
Содержание 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...