Configuring and Monitoring Port Security

Port Security Command Options and Operation

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-securitydisplays operating control settings for all ports on a switch. For example:

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

With port numbers included in the command, show port-securitydisplays 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 9-3. Example of the Port Security Configuration Display for a Single Port

9-11

Page 241
Image 241
HP 2650 (J4899A/B), 4100gl, 2626 (J4900A/B), 2600-PWR, 6108 manual Using the CLI To Display Port Security Settings