5-10
www.hp.com
HP PC Blade Switch CLI Reference Guide
Address Table Commands
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 Setting
This setting is disabled.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
There are no user guidelines for this command.
Example
In the following example, port 1/e1 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/e1
Console(config-if)#
port security forward trap
100
Summary of Contents for Bc1500 - BladeSystem - Blade PC
Page 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Page 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Page 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Page 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Page 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Page 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Page 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Page 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Page 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Page 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Page 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Page 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...