Port-Security Port-Mode - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

<Sysname> system-view
[Sysname] port-security oui index 4 mac-address 000d-2a10-0033
Related commands
display port-security

port-security port-mode

Use port-security port-mode to set the port security mode of a port.
Use undo port-security port-mode to restore the default.
Syntax
port-security port-mode { autolearn | mac-authentication | mac-else-userlogin-secure |
mac-else-userlogin-secure-ext | secure | userlogin | userlogin-secure | userlogin-secure-ext |
userlogin-secure-or-mac | userlogin-secure-or-mac-ext | userlogin-withoui }
undo port-security port-mode
Default
A port operates in noRestrictions mode, where port security does not take effect.
Views
Interface view
Predefined user roles
network-admin
Parameters
Keyword
autolearn
mac-authentication
Security mode
autoLearn
macAddressWithRad
ius
224
Description
A port in this mode can learn MAC addresses. The
automatically learned MAC addresses are not added to
the MAC address table as dynamic MAC address.
Instead, the MAC addresses are added to the secure
MAC address table as secure MAC addresses. You can
also configure secure MAC addresses by using the
port-security mac-address security command.
A port in autoLearn mode allows frames sourced from the
following MAC addresses to pass:
Secure MAC addresses.
MAC addresses configured by using the
mac-address dynamic and mac-address static
commands.
When the number of secure MAC addresses reaches the
upper limit set by the port-security max-mac-count
command, the port changes to secure mode.
In this mode, a port performs MAC authentication for
users and services multiple users.

Advertisement

Table of Contents
loading

Table of Contents