beautypg.com

Specifying a mac authentication domain, Configuring the user account format – H3C Technologies H3C S6300 Series Switches User Manual

Page 97

background image

82

Step Command

Remarks

3.

Enter Layer 2 Ethernet interface
view.

interface interface-type
interface-number

N/A

4.

Enable MAC authentication on
the port.

mac-authentication

By default, MAC authentication is
disabled on a port.

Specifying a MAC authentication domain

By default, MAC authentication users are in the system default authentication domain. To implement

different access policies for users, you can specify authentication domains for MAC authentication users

in the following ways:

Specify a global authentication domain in system view. This domain setting applies to all ports
enabled with MAC authentication.

Specify an authentication domain for an individual port in Layer 2 Ethernet interface view.

MAC authentication chooses an authentication domain for users on a port in this order: the port-specific

domain, the global domain, and the default domain. For more information about authentication

domains, see "

Configuring AAA

."

To specify an authentication domain for MAC authentication users:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Specify an authentication
domain for MAC

authentication users.

In system view:
mac-authentication domain

domain-name

In Layer 2 Ethernet interface view:

a.

interface interface-type

interface-number

b.

mac-authentication domain

domain-name

Use either method.
By default, the system default
authentication domain is used for

MAC authentication users.

Configuring the user account format

To configure the MAC authentication user account format:

Step Command

Remarks

1.

Enter system view.

system-view

N/A