166
--- 1 MAC address(es) found ---
# Display information about all blocked MAC addresses of port GigabitEthernet1/0/1.
<Sysname> display port-security mac-address block interface gigabitethernet1/0/1
MAC ADDR From Port VLAN ID
000f-3d80-0d2d GigabitEthernet1/0/1 30
--- On slot 1, 1 mac address(es) found ---
--- 1 mac address(es) found ---
# Display information about all blocked MAC addresses of port GigabitEthernet1/0/1 in VLAN 30.
<Sysname> display port-security mac-address block interface gigabitethernet 1/0/1 vlan
30
MAC ADDR From Port VLAN ID
000f-3d80-0d2d GigabitEthernet1/0/1 30
--- On slot 1, 1 mac address(es) found ---
--- 1 MAC address(es) found ---
Table 21 Output description
Field Descri
tion
MAC ADDR Blocked MAC address
From 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
x mac address(es) found Number of blocked MAC addresses
display port-security mac-address security
Syntax
display port-security mac-address security [ 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 secure MAC addresses.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the Fundamentals Configuration Guide.