# Display information about all blocked MAC addresses of port GigabitEthernet 2/0/2 in VLAN 1.
<Sysname> display port-security mac-address block interface GigabitEthernet2/0/2 vlan 1
MAC ADDR
000d-88f8-0577
---
1 mac address(es) found
Table 1-2 display port-security mac-address block command output description
MAC ADDR
From Port
VLAN ID
2 mac address(es) found
display port-security mac-address security
Syntax
display port-security mac-address security [ interface interface-type interface-number ] [ vlan
vlan-id ] [ count ]
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 number, which is in the range 1 to 4094.
count: Displays only the count of the secure MAC addresses.
Description
Use the display port-security mac-address security command to display information about secure
MAC addresses.
With no keyword or argument specified, the command displays information about all secure MAC
addresses.
Related commands: port-security mac-address security.
Examples
# Display information about all secure MAC addresses.
<Sysname> display port-security mac-address security
MAC ADDR
0002-0002-0002
From Port
GigabitEthernet2/0/2
---
Field
VLAN ID
STATE
1
Security
VLAN ID
1
Blocked MAC address
Port having received frames with the blocked
MAC address being the source address
ID of the VLAN to which the port belongs
Number of blocked MAC addresses
PORT INDEX
GigabitEthernet2/0/1
1-4
Description
AGING TIME(s)
NOAGED
Need help?
Do you have a question about the S7906E and is the answer not in the manual?