![D-Link DGS-510 Скачать руководство пользователя страница 468](http://html.mh-extra.com/html/d-link/dgs-510/dgs-510_reference-manual_78049468.webp)
DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
465
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.
Содержание DGS-510
Страница 1: ...1 ...
Страница 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Страница 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Страница 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Страница 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...