1
Port Security Commands
Two
port
macAddressAndUserLoginSecureExt, were introduced. For details, refer to
port-mode.
Port Security Commands
display mac-address security
Syntax
display mac-address security [ interface interface-type interface-number ] [ vlan vlan-id ] [ count ]
View
Any view
Parameters
Interface interface-type interface-number: Specify a port by its type and number, of which the security
MAC address information is to be displayed.
vlan vlan-id: Specify a VLAN by its ID, of which the security MAC address information is to be displayed.
The value range for the vlan-id argument is 1 to 4094.
count: Displays the number of matching security MAC addresses.
Description
Use the display mac-address security command to display security MAC address entries.
If no argument is specified, the command displays information about all security MAC address entries.
For each security MAC address entry, the output of the command displays the MAC address, the VLAN
that the MAC address belongs to, state of the MAC address (which is always security), port associated
with the MAC address, and the remaining lifetime of the entry.
By checking the output of this command, you can verify the current configuration.
Examples
# Display information about all security MAC address entries.
<Sysname> display mac-address security
MAC ADDR
0000-0000-0001
security
modes,
VLAN ID
STATE
1
Security
macAddressAndUserLoginSecure
PORT INDEX
Ethernet1/0/20
1-1
port-security
AGING TIME(s)
NOAGED
and
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers