![D-Link DGS-1510 Series Скачать руководство пользователя страница 453](http://html.mh-extra.com/html/d-link/dgs-1510-series/dgs-1510-series_reference-manual_76530453.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
450
Usage Guideline
Use this command to enable or disable SNMP notifications for port security address violation, and
configure the number of traps per second.
Example
This example shows how to enable sending trap for port security address violation and set the
number of traps per second to 3.
Switch# configure terminal
Switch(config)# snmp-server enable traps port-security
Switch(config)#
52-4 switchport port-security
This command is used to configure the port security settings to restrict the number of users that are
allowed to gain access rights to a port. Use the
no
form of this command to disable port security or to
delete a secure MAC address.
switchport port-security [maximum
VALUE
| violation {protect | restrict | shutdown} | mode
{permanent | delete-on-timeout} | mac-address [permanent]
MAC-ADDRESS
[vlan
VLAN-ID
]]
no switchport port-security [maximum | violation | mode | mac-address [permanent]
MAC-
ADDRESS
[vlan
VLAN-ID
]]
Parameters
maximum
VALUE
(Optional) Specifies to set the maximum number of secure MAC
addresses allowed. If not specified, the default value is 32. The
valid range is from 0 to 6656.
protect
(Optional) Specifies to drop all packets from the insecure hosts at
the port-security process level, but does not increment the security-
violation count.
restrict
(Optional) Specifies to drop all packets from the insecure hosts at
the port-security process level and increments the security-violation
count and record the system log.
shutdown
(Optional) Specifies to shut down the port if there is a security
violation and record the system log.
permanent
(Optional) Specifies that under this mode, all learned MAC
addresses will not be purged out unless the user manually deletes
those entries.
delete-on-timeout
(Optional) Specifies that under this mode, all learned MAC
addresses will be purged out when an entry is aged out or when the
user manually deletes these entries.
mac-address
MAC-ADDRESS
(Optional) Specifies to add a secure MAC address to gain port
access rights.
permanent
(Optional) Specifies to set the secure permanent configured MAC
address of the port. This entry is same as the one learnt under the
permanent mode.
vlan
VLAN-ID
(Optional) Specifies a VLAN. If no VLAN is specified, the MAC
address will be set with a PVID.
Default
By default, this option is disabled.
Command Mode
Содержание DGS-1510 Series
Страница 1: ...1 0 ...
Страница 27: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 24 ...
Страница 281: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 278 ...
Страница 315: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 312 VLAN The VLAN number of the client interface ...
Страница 336: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 333 ...
Страница 450: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 447 Auth Delay Authentication Delay ...
Страница 475: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 472 ...
Страница 695: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 692 ...