Command Manual – Port Security & Port Binding
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands
Huawei Technologies Proprietary
1-1
Chapter 1 Port Security Commands
1.1 Port Security Commands
1.1.1 display mac-address security
Syntax
display mac-address security [ interface interface-type interface-number ] [ vlan
vlan-id ] [ count ]
View
Any view
Parameter
interface-type: Interface type.
interface-number: Interface number.
vlan-id: VLAN ID, in the range of 1 to 4094.
count: Displays the number of Security MAC addresses.
Description
Use the display mac-address security command to display the information about
Security MAC address, including the MAC address learned by the port, VLAN ID of the
port, current port state, port number, and MAC address aging time.
By checking the output of this command, you can verify the current configuration.
Example
# Display the Security MAC address configuration on Ethernet1/0/1 port.
<Quidway> display mac-address security interface Ethernet1/0/1
MAC ADDR VLAN ID STATE PORT INDEX AGING TIME(s)
0001-0001-0001 1 Security Ethernet1/0/1 NOAGED
--- 1 mac address(es) found on port Ethernet1/0/1 ---
1.1.2 display port-security
Syntax
display port-security [ interface interface-list ]