H3C LS-3100-52P-OVS-H3 Operation Manual - page 1424
1-10
To do…
Use the command…
Remarks
Enter system view
system-view
—
In system
view
port-security mac-address security
mac-address interface interface-type
interface-number vlan vlan-id
interface interface-type interface-number
Configure a
secure MAC
address
In interface
view
port-security mac-address security
mac-address vlan vlan-id
Required
Use either approach
No secure MAC
address is configured
by default.
The configured secure MAC addresses are saved in the configuration file and will not get lost when the
port goes up or goes down. After you save the configuration file, the secure MAC address saved in the
configuration file are maintained even after the device restarts.
Ignoring Authorization Information from the Server
After an 802.1X user or MAC authenticated user passes RADIUS authentication, the RADIUS server
delivers the authorization information to the device. You can configure a port to ignore the authorization
information from the RADIUS server.
Follow these steps to configure a port to ignore the authorization information from the RADIUS server:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Ignore the authorization
information from the RADIUS
server
port-security authorization
ignore
Required
By default, a port uses the
authorization information from
the RADIUS server.
Displaying and Maintaining Port Security
To do…
Use the command…
Remarks
Display port security
configuration information,
operation information, and
statistics about one or more
ports or all ports
display port-security [ interface
interface-list ]
Available in any
view
Display information about
secure MAC addresses
display port-security mac-address
security [ interface interface-type
interface-number ] [ vlan vlan-id ] [ count ]
Available in any
view