EasyManua.ls Logo

D-Link DES-3010F - Page 172

D-Link DES-3010F
231 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
DES-3000 Series Layer 2 Switch CLI Reference Manual
168
To configure the port security:
DES-3026:4#config port_security ports 1-5
admin_state enable max_learning_addr 5
lock_address_mode DeleteOnReset
Command: config port_security ports 1-5
admin_state enable max_learning_addr 5
lock_address_mode DeleteOnReset
Success
DES-3026:4#
show port_security
Purpose Used to display the current port security configuration.
Syntax
show port_security {ports <portlist>}
Description This command is used to display port security information of the
Switch ports. The information displayed includes port security admin
state, maximum number of learning address and lock mode.
Parameters
ports <portlist> Specifies a port or range of ports to be viewed.
Restrictions None.
Example usage:
To display the port security configuration:
DES-3026:4#show port_security ports 1-8
Command: show port_security ports 1-8
Port# Admin State Max. Learning Addr. Lock Address Mode
---- ----------- ------------------- -----------------
1 Disabled 1 DeleteOnReset
2 Disabled 1 DeleteOnReset
3 Disabled 1 DeleteOnReset
4 Disabled 1 DeleteOnReset
5 Disabled 1 DeleteOnReset
6 Disabled 1 DeleteOnReset
7 Enabled 10 DeleteOnReset
8 Disabled 1 DeleteOnReset
DES-3026:4#
delete port_security_entry_vlan_name
Purpose Used to delete an entry from the Switch’s port security settings.
Syntax
delete
port_security_entry vlan_name <vlan_name 32> mac_address
<macaddr> port <port>
Description This command is used to remove an entry from the port security entries

Related product manuals