Configuring The Macaddresselseuserloginsecure Mode - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

Controlled User(s) amount to 1
In addition, the port allows an additional user whose MAC address has an OUI among the specified
OUIs to access the port. You can use the following command to view the related information:
<Switch> display mac-address interface gigabitethernet 1/0/1
MAC ADDR
1234-0300-0011
---
1 mac address(es) found

Configuring the macAddressElseUserLoginSecure Mode

Network requirements
The client is connected to the switch through GigabitEthernet 1/0/1. The switch authenticates the client
by the RADIUS server. If the authentication succeeds, the client is authorized to access the Internet.
Restrict port GigabitEthernet 1/0/1 of the switch as follows:
Allow more than one MAC authenticated user to log on.
For 802.1X users, perform MAC authentication first and then, if MAC authentication fails, 802.1X
authentication. Allow only one 802.1X user to log on.
Set fixed username and password for MAC-based authentication. Set the total number of MAC
authenticated users and 802.1X-authenticated users to 64.
Enable NTK to prevent frames from being sent to unknown MAC addresses.
See
Figure
1-2.
Configuration procedure
Configurations on the host and RADIUS servers are omitted.
1)
Configure the RADIUS protocol
The required RADIUS authentication/accounting configurations are the same as those in
the userLoginWithOUI
2)
Configure port security
# Enable port security.
<Switch> system-view
[Switch] port-security enable
# Configure a MAC authentication user, setting the user name and password to aaa and 123456
respectively.
[Switch] mac-authentication user-name-format fixed account aaa password simple 123456
# Set the 802.1X authentication method to CHAP. (This configuration is optional. By default, the
authentication method is CHAP for 802.1X.)
VLAN ID
STATE
1
Learned
---
Mode.
PORT INDEX
GigabitEthernet1/0/1
1-17
AGING TIME(s)
AGING
Configuring

Advertisement

Chapters

Table of Contents
loading

Table of Contents