311
Field
Description
Free VLANs
VLANs in which packets will not trigger authentication.
If you do not configure free VLANs, this field displays
Not
configured
.
Open authentication
Whether open authentication mode is enabled on the port.
display port-security mac-address block
Use
display port-security mac-address block
to display information about blocked MAC
addresses.
Syntax
display port-security mac-address block
[
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 blocked MAC addresses.
Usage guidelines
If you do not specify any parameters, this command displays information about all blocked MAC
addresses.
Examples
# (In standalone mode.) Display information about all blocked MAC addresses.
<Sysname> display port-security mac-address block
MAC ADDR Port VLAN ID
000f-3d80-0d2d XGE1/0/1 30
--- On slot 1, 1 MAC address(es) found ---
--- 1 mac address(es) found ---
# (In standalone mode.) Display the count of all blocked MAC addresses.
<Sysname> display port-security mac-address block count
--- On slot 1, 1 MAC address(es) found ---
--- 1 mac address(es) found ---