After an authentication profile is bound to the interface or VAP profile, NAC is enabled in the interface or VAP profile. The device implements access control on users who go online through the interface or VAP profile.
An authentication profile uniformly manages NAC configuration. The authentication profile is bound to the interface or VAP profile view to enable NAC, implementing access control on the users in the interface or VAP profile. The authentication type of the users in the interface or VAP profile is determined by the access profile bound to the authentication profile. For details about how to configure an access profile, see Configuring an Access Profile.
The support for Portal authentication varies depending on different interfaces, routed main interfaces (Only S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5731-S, S5731S-S, S6720-HI, S5732-H, S6730-H, S6730S-H, S6730-S, S6730S-S, S6720-EI, and S6720S-EI) support only Layer 3 Portal authentication, Layer 2 interfaces support only Layer 2 Portal authentication, and VLANIF interfaces support both Layer 2 and Layer 3 Portal authentication.
NAC authentication cannot be enabled both on a Layer 2 Ethernet interface and the VLANIF interface mapping the VLAN of the Ethernet interface. Otherwise, the users have no network access rights after connecting to the network. In wireless scenarios, NAC authentication cannot be enabled both in VAP profiles and on VLANIF interfaces. In direct forwarding mode, NAC authentication cannot be enabled on VLANIF interfaces.
Command |
Function |
---|---|
mac-limit |
Sets the maximum number of MAC addresses that can be learned by an interface. |
mac-address learning disable |
Disables MAC address learning on an interface. |
port link-type dot1q-tunnel |
Sets the link type of an interface to QinQ. |
port vlan-mapping vlan map-vlan port vlan-mapping vlan inner-vlan |
Configures VLAN mapping on an interface. |
port vlan-stacking |
Configures selective QinQ. |
mac-vlan enable |
Enables MAC address-based VLAN assignment on an interface. |
ip-subnet-vlan enable |
Enables IP subnet-based VLAN assignment on an interface. |
user-bind ip sticky-mac NOTE:
This command conflicts with only 802.1X authentication and MAC address authentication. |
Enables the device to generate snooping MAC entries. |
An authentication profile has been configured. For details about how to configure an authentication profile, see Configuring an Authentication Profile.
Run system-view
The system view is displayed.
Run interface interface-type interface-number
The interface view is displayed.
Run authentication-profile authentication-profile-name
The authentication profile is applied to the interface.
By default, no authentication profile is applied to an interface.