Assigned/authorized addresses, Displaying current port security settings, Using the cli to display port security settings – HP 4100GL User Manual

Page 191: Displaying current port security settings -9

Advertising
background image

Configuring and Monitoring Port Security

Port Security Command Options and Operation

Assigned/Authorized Addresses.

: If you manually assign a MAC address

(using

port-security <port-number> address-list <mac-addr>) and then execute

write memory, the assigned MAC address remains in memory until you do one
of the following:

Delete it by using

no port-security < port-number > mac-address < mac­

addr >.

Download a configuration file that does not include the unwanted
MAC address assignment.

Reset the switch to its factory-default configuration.

Displaying Current Port Security Settings

The CLI uses the same command to provide two types of port security listings:

All ports on the switch with their Learn Mode and (alarm) Action

Only the specified ports with their Learn Mode, Address Limit, (alarm)
Action, and Authorized Addresses

Using the CLI To Display Port Security Settings.

Syntax:

show port-security
show port-security [e] <port number>
show port-security [ e ] [<port number>-<port number]. . .[,<port number>]

Without port parameters,

show port-security

displays Operating Control settings

for all ports on a switch. For example:

Figure 7-2. Example Port Security Listing (Ports A7 and A8 Show the Default
Setting)

7-9

Advertising