312
Table 32 Command output
Field
Description
MAC ADDR
Blocked MAC address.
Port
Port having received frames with the blocked MAC
address being the source address.
VLAN ID
ID of the VLAN to which the port belongs.
number
mac address(es) found
Number of blocked MAC addresses.
Related commands
port-security intrusion-mode
display port-security mac-address security
Use
display port-security mac-address security
to display information about secure MAC
addresses.
Syntax
display port-security mac-address security
[
interface interface-type interface-number
] [
vlan
vlan-id
] [
count
]
Views
Any view
Predefined user roles
network-admin
network-operator
mdc-admin
mdc-operator
Parameters
interface interface-type interface-number
: Specifies a port by its type and number.
vlan vlan-id
: Specifies a VLAN by its ID. The value range is 1 to 4094.
count
: Displays only the count of the secure MAC addresses.
Usage guidelines
Secure MAC addresses are those that are automatically learned by the port in autoLearn mode or
configured by the
port-security mac-address security
command.
If you do not specify any parameters, this command displays information about all secure MAC
addresses.
Examples
# Display information about all secure MAC addresses.
<Sysname> display port-security mac-address security
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME
0002-0002-0002 1 Secure XGE1/0/1 Not aged
--- Number of secure MAC addresses: 1 ---
# Display only the count of the secure MAC addresses.
<Sysname> display port-security mac-address security count