<Sysname> display port-security mac-address block interface gigabitethernet 2/1/1
MAC ADDR
000f-3d80-0d2d
--- On slot 2, 1 MAC address(es) found ---
--- 1 mac address(es) found ---
# Display information about all blocked MAC addresses of port GigabitEthernet 2/1/1 in VLAN 1 on
the MSR1000, MSR2000 or MSR3000 router.
<Sysname> display port-security mac-address block interface gigabitethernet 2/1/1 vlan
1
MAC ADDR
000d-88f8-0577
---
1 mac address(es) found
# Display information about all blocked MAC addresses of port GigabitEthernet 2/1/1 in VLAN 30 on
the MSR4000 router.
<Sysname> display port-security mac-address block interface gigabitethernet 2/1/1 vlan
30
MAC ADDR
000f-3d80-0d2d
--- On slot 2, 1 MAC address(es) found ---
--- 1 mac address(es) found ---
Table 21 Command output
Field
MAC ADDR
Port
VLAN ID
number mac address(es) found
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
Port
GE2/1/1
Port
GE2/1/1
---
Port
GE2/1/1
Description
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.
193
VLAN ID
30
VLAN ID
1
VLAN ID
30