705
Examples
# Specify VLAN 5 as Web authentication Auth-Fail VLAN on Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname–Ten-GigabitEthernet1/0/1] port link-type hybrid
[Sysname–Ten-GigabitEthernet1/0/1] mac-vlan enable
[Sysname–Ten-GigabitEthernet1/0/1] web-auth auth-fail vlan 5
Related commands
display web-auth
web-auth domain
Use
web-auth domain
to specify an authentication domain for Web authentication users on an
interface.
Use
undo web-auth domain
to restore the default.
Syntax
web-auth domain
domain-name
undo web-auth domain
Default
No authentication domain is specified for Web authentication users on an interface.
Views
Layer 2 Ethernet interface view
Predefined user roles
network-admin
mdc-admin
Parameters
domain-name
: Specifies an ISP authentication domain name, a case-insensitive string of 1 to 255
characters.
User guidelines
After you configure this command, the device uses the authentication domain for authentication,
authorization and accounting (AAA) of the Web authentication users on the interface.
Examples
# Specify domain
my-domain
as the authentication domain of Web authentication users on
Ten-GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname–Ten-GigabitEthernet1/0/1] web-auth domain my-domain
web-auth enable
Use
web-auth enable
to enable Web authentication.
Use
undo web-auth enable
to disable Web authentication.