D-Link CLI Reference Guide
Page 54
port security
The
port security
Interface Configuration mode command locks the port, thereby, blocking unknown traffic and
preventing the port from learning new addresses. To return to the default configuration, use the
no
form of this
command.
Syntax
port security
[
forward
|
discard |
discard-shutdown
] [
trap seconds
]
no port security
Parameters
•
forward
— Forwards packets with unlearned source addresses, but does not learn the address.
•
discard
— Discards packets with unlearned source addresses. This is the default if no option is indicated.
•
discard-shutdown
— Discards packets with unlearned source addresses. The port is also shut down.
•
seconds
— Sends SNMP traps and defines the minimum amount of time in seconds between consecutive
traps. (Range: 1-1000000)
Default Configuration
This setting is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
In this example, port 1/1 forwards all packets without learning addresses of packets from unknown sources and
sends traps every 100 seconds if a packet with an unknown source address is received.
Console(config)#
interface ethernet
1/1
Console(config-if)#
port security forward trap
100
Содержание DXS-3227 - xStack Switch - Stackable
Страница 12: ...Page 11 ...
Страница 46: ...ACL Commands Page 45 ...
Страница 68: ...Address Table Commands Page 67 ...
Страница 124: ...Ethernet Configuration Commands Page 123 ...
Страница 134: ...GVRP Commands Page 133 ...
Страница 144: ...IGMP Snooping Commands Page 143 ...
Страница 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Страница 166: ...IP Addressing Commands Page 165 ...
Страница 170: ...IP Routing Commands Page 169 Ethernet 1 Specifies the interface through which the specified network can be reached ...
Страница 186: ...Line Commands Page 185 ...
Страница 194: ...Management ACL Commands Page 193 ...
Страница 200: ...PHY Diagnostics Commands Page 199 ...
Страница 208: ...Port Monitor Commands Page 207 ...
Страница 216: ...Power over Ethernet Commands Page 215 ...
Страница 272: ...RMON Commands Page 271 ...
Страница 334: ...Spanning Tree Commands Page 333 ...
Страница 428: ...VLAN Commands Page 427 ...
Страница 465: ...D Link CLI Reference Guide Page 464 Trap frequency 100 Status Single host locked Violations since last trap 9 ...
Страница 466: ...802 1x Commands Page 465 ...