Display Port-Security Mac-Address Block - HP A5500 EI Command Reference Manual

Hide thumbs Also See for A5500 EI:
Table of Contents

Advertisement

display port-security mac-address block

Syntax
display port-security mac-address block [ interface interface-type interface-number ] [ vlan vlan-id ] [
count ] [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
2: System level
Parameters
interface interface-type interface-number: Specifies a port by its type and number.
vlan vlan-id: Specifies a VLAN by its ID, which is in the range 1 to 4094.
count: Displays only the count of the blocked MAC addresses.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Description
Use the display port-security mac-address block command to display information about blocked MAC
addresses.
With no keyword or argument specified, the command displays information about all blocked MAC
addresses.
Related commands: port-security intrusion-mode.
Examples
# Display information about all blocked MAC addresses.
<Sysname> display port-security mac-address block
MAC ADDR
--- On slot 1, no mac address found ---
000f-3d80-0d2d
--- On slot 2, 1 mac address(es) found ---
--- 1 mac address(es) found ---
# Display the count of all blocked MAC addresses.
<Sysname> display port-security mac-address block count
--- On slot 1, 1 mac address(es) found ---
--- 1 mac address(es) found ---
From Port
GigabitEthernet1/0/1
166
VLAN ID
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

A5500 si

Table of Contents