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
Содержание Bc1500 - BladeSystem - Blade PC
Страница 44: ...2 24 www hp com HP PC Blade Switch CLI Reference Guide 802 1x Commands ...
Страница 90: ...5 22 www hp com HP PC Blade Switch CLI Reference Guide Address Table Commands ...
Страница 140: ...8 24 www hp com HP PC Blade Switch CLI Reference Guide Ethernet Configuration Commands ...
Страница 150: ...9 10 www hp com HP PC Blade Switch CLI Reference Guide GVRP Commands ...
Страница 160: ...10 10 www hp com HP PC Blade Switch CLI Reference Guide IGMP Snooping Commands ...
Страница 176: ...11 16 www hp com HP PC Blade Switch CLI Reference Guide IP Addressing Commands ...
Страница 192: ...13 10 www hp com HP PC Blade Switch CLI Reference Guide Line Commands ...
Страница 200: ...14 8 www hp com HP PC Blade Switch CLI Reference Guide Management ACL Commands ...
Страница 206: ...15 6 www hp com HP PC Blade Switch CLI Reference Guide PHY Diagnostics Commands ...
Страница 214: ...17 4 www hp com HP PC Blade Switch CLI Reference Guide Port Monitor Commands ...
Страница 270: ...20 18 www hp com HP PC Blade Switch CLI Reference Guide RMON Commands ...
Страница 360: ...24 16 www hp com HP PC Blade Switch CLI Reference Guide Syslog Commands ...