R211x-HP Flexfabric 11900 Security Command Reference

Table Of Contents
124
Field Descri
p
tion
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 in the range of 1 to 4094.
count: Displays only the count of the secure MAC addresses.
Usage guidelines
With no parameter specified, the command displays information about all secure MAC addresses.
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.
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 Security Ten-GigabitEthernet1/0/1 NOAGED
000d-88f8-0577 1 Security Ten-GigabitEthernet1/0/1 28
--- 2 mac address(es) found ---
# Display only the count of the secure MAC addresses.
<Sysname> display port-security mac-address security count
--- 2 mac address(es) found