beautypg.com

H3C Technologies H3C S3100 Series Switches User Manual

Page 349

background image

Operation Manual – Centralized MAC Address Authentication

H3C S3100-52P Ethernet Switch

Chapter 1 Centralized MAC Address

Authentication Configuration

1-3

Table 1-2

Enable centralized MAC address authentication for a port in system view

Operation

Command

Description

Enter system view

system-view

Enable centralized MAC

address authentication for

specified ports

mac-authentication
interface
interface-list

Required
By default, centralized

MAC address

authentication is disabled

on a port.

Table 1-3

Enable centralized MAC address authentication for a port in Ethernet port

view

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port view

interface

interface-type

interface-number

Enable centralized MAC

address authentication for

the current port

mac-authentication

Required
By default, centralized

MAC address

authentication is disabled

on a port.


Centralized MAC address authentication for a port can be configured but does not take
effect before global centralized MAC address authentication is enabled. After global
centralized MAC address authentication is enabled, ports enabled with the centralized
MAC address authentication will perform the authentication immediately.

1.2.3 Configuring Centralized MAC Address Authentication Mode

Table 1-4

Configure centralized MAC address authentication mode

Operation

Command

Description

Enter system view

system-view

Configure centralized

MAC address

authentication mode as

MAC address mode

mac-authentication
authmode
usernameasmacaddres
s

[ usernameformat

{ with-hyphen |
without-hyphen

} ]

Optional
By default, the MAC

address mode is adopted.

Configure centralized

MAC address

authentication mode as

fixed mode

mac-authentication
authmode
usernamefixed

Optional