Enabling Port Security; Configuration Prerequisites; Configuration Procedure; Setting The Maximum Number Of Secure Mac Addresses - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Enabling Port Security

Configuration Prerequisites

Before enabling port security, you need to disable 802.1X and MAC authentication globally.

Configuration Procedure

Follow these steps to enable port security:
To do...
Enter system view
Enable port security
Note that:
1)
Enabling port security resets the following configurations on a port to the bracketed defaults. Then,
values of these configurations cannot be changed manually; the system will adjust them based on
the port security mode automatically:
802.1X (disabled), port access control method (macbased), and port access control mode (auto)
MAC authentication (disabled)
2)
Disabling port security resets the following configurations on a port to the bracketed defaults:
Port security mode (noRestrictions)
802.1X (disabled), port access control method (macbased), and port access control mode (auto)
MAC authentication (disabled)
3)
Port security cannot be disabled if there is any user present on a port.
For detailed 802.1X configuration, refer to 802.1X Configuration in the Security Volume.
For detailed MAC-based authentication configuration, refer to MAC Authentication Configuration in
the Security Volume.

Setting the Maximum Number of Secure MAC Addresses

With port security enabled, more than one authenticated user is allowed on a port. The number of
authenticated users allowed, however, cannot exceed the specified upper limit.
By setting the maximum number of secure MAC addresses allowed on a port, you can:
Control the maximum number of users who are allowed to access the network through the port.
Control the number of secure MAC addresses that can be added with port security.
Use the command...
system-view
port-security enable
1-5
Remarks
Required
Disabled by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents