beautypg.com

QTECH QSW-8300 Инструкция по настройке User Manual

Page 80

background image

+7(495) 797-3311 www.qtech.ru

Москва, Новозаводская ул., 18, стр. 1

79

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 learning 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

no switchport port-security timeout

Enable port locking timer function; the “no

switchport port-security timeout

” restores

the default setting.

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 [address

<mac-addr> | interface <interface-id>]

Clear dynamic MAC addresses learned by the

specified port.

3. MAC address binding property configuration

Command

Explanation

Port Mode

switchport port-security maximum <value>

no switchport port-security maximum

Set the maximum number of secure MAC
addresses for a port; the “no switchport