![D-Link xStack DWS-3200 Series Cli Manual Download Page 58](http://html1.mh-extra.com/html/d-link/xstack-dws-3200-series/xstack-dws-3200-series_cli-manual_4140557058.webp)
DXS/DWS-3200 series CLI Reference Guide
Page 55
port security
The
port security
Interface Configuration mode command locks the port to block unknown traffic and prevent the
port from learning new addresses. To restore the default configuration, use the
no
form of this
command.
Syntax
port security
[
forward
|
discard |
discard-shutdown
] [
trap seconds
] [
max
]
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)
•
max
—
Maximum number of addresses that can be learned on the interface. (Range: 1-128)
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
Summary of Contents for xStack DWS-3200 Series
Page 2: ......
Page 3: ......
Page 25: ...Using the CLI Editing Features Page 22 ...
Page 91: ...Clock Commands show sntp status Page 88 ...
Page 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Page 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Page 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Page 163: ...IP Address Commands show hosts Page 160 ...
Page 177: ...LACP Commands show lacp port channel Page 174 ...
Page 187: ...Line Commands show line Page 184 ...
Page 195: ...Management ACL Commands show management access class Page 192 ...
Page 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Page 217: ...Port Monitor Commands Page 214 ...
Page 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Page 395: ...System Management Commands show system mode Page 392 ...
Page 413: ...User Interface Commands show privilege Page 410 ...
Page 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Page 451: ...Web Server Commands show ip https Page 448 ...
Page 477: ...802 1x Commands show dot1x advanced Page 474 ...
Page 483: ...Wireless AP BSS Commands data rates Page 480 ...
Page 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Page 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Page 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Page 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Page 581: ...Page 578 ...