![Huawei Quidway S5600 Operation Manual Download Page 199](http://html.mh-extra.com/html/huawei/quidway-s5600/quidway-s5600_operation-manual_169841199.webp)
Operation Manual – Port Security & Port Binding
Quidway S5600 Series Ethernet Switches-Release 1510
Chapter 1 Port Security Configuration
Huawei Technologies Proprietary
1-7
Operation
Command
Description
Set the maximum
number of Security MAC
addresses allowed by
the port
port-security
max-mac-count
count-value
Required
By default, the maximum
number of Security MAC
addresses is not limited
Set the port mode
to
autolearn
port-security port-mode
autolearn
Required
Add a Security MAC
address manually
mac-address security
mac-address
[
interface
interface-type
interface-number
]
vlan
vlan-id
Required
This command can be
configured either in
system view or Ethernet
port view
Note that:
1) The
port-security port-mode autolearn
command cannot be configured with the
following features at the same time:
z
Static and black-hole MAC address
z
Voice VLAN feature
z
802.1x feature
z
port link aggregation
z
configuration of mirroring reflect port
2) The
port-security max-mac-count count-value
command cannot be configured
with the
mac-address max-mac-count count.
1.3 Displaying Port Security Configuration
After the above-mentioned configuration, you can use the
display
command in any
view to view the port-security related information, so as to verify configuration result.
Table 1-4
Display port security configuration
Operation
Command
Description
Display information about
port security configuration
display port-security
[
interface interface-list
]
Display the information
about Security MAC
address configuration
display mac-address security
[
interface
interface-type
interface-number
] [
vlan vlan-id
]
[
count
]
The
display
command can be
executed in any
view.