318
undo port-security enable
Default
Port security is disabled.
Views
System view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
You must disable global 802.1X and MAC authentication before you enable port security on a port.
Enabling or disabling port security resets the following security settings to the default:
•
802.1X access control mode is MAC-based.
•
Port authorization state is auto.
When online users are present on a port, disabling port security logs off the online users.
Examples
# Enable port security.
<Sysname> system-view
[Sysname] port-security enable
Related commands
display port-security
dot1x
dot1x port-control
dot1x port-method
mac-authentication
port-security free-vlan
Use
port-security free-vlan
to configure free VLANs for port security.
Use
undo port-security free-vlan
to restore the default.
Syntax
port-security free-vlan
vlan-id-list
undo port-security free-vlan
vlan-id-list
Default
No free VLANs are configured for port security on a port. Authentication will be triggered by packets
from users in any VLAN on the port that is configured with 802.1X, MAC authentication, or a port
security authentication mode.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...