6-10
Configuring and Monitoring Port Security
Port Security Command Options and Operation
With port numbers included in the command, show port-security displays Learn
Mode, Address Limit, (alarm) Action, and Authorized Addresses for the spec-
ified ports on a switch. The following example lists the full port security
configuration for a single port:
Figure 6-4. Example of the Port Security Configuration Display for a Single Port
The following command example shows the option for entering a range of
ports, including a series of non-contiguous ports. Note that no spaces are
allowed in the port number portion of the command string:
HPswitch(config)# show port-security A1-A3,A6,A8
Configuring Port Security
Using the CLI, you can:
Configure port security and edit security settings.
Add or delete devices from the list of authorized addresses for one
or more ports.
Clear the Intrusion flag on specific ports
Syntax: port-security [ e ]<port-list>
[learn-mode < continuous | static | port-access >]
[address-limit <integer>]
[mac-address <mac-addr>] [<mac-addr> . . . <mac-addr>]
[action < none | send-alarm | send-disable >]
[clear-intrusion-flag]
no port-security <port-list> mac-address <mac-addr> [<mac-addr> . . .
<mac-addr>]
!FishSecurity.book Page 10 Thursday, October 10, 2002 9:19 PM