274
Parameters
ipv6
: Enables IPv6 portal authentication. Do not specify this keyword for IPv4 portal authentication.
method
: Specifies an authentication mode:
•
direct
—Direct authentication.
•
layer3
—Cross-subnet authentication.
•
redhcp
—Re-DHCP authentication.
Usage guidelines
To modify the portal authentication mode, first execute the
undo
form of this command to disable
portal authentication.
Make sure the device supports IPv6 ACL and IPv6 forwarding before you enable IPv6 portal
authentication on the interface.
IPv6 portal authentication does not support the re-DHCP authentication mode.
Do not add a portal authentication-enabled Ethernet interface to an aggregation group. Otherwise,
portal authentication cannot take effect on the interface.
You can enable both IPv4 and IPv6 portal authentication on an interface.
Only direct portal authentication is supported on a service template.
Do not enable portal authentication on both an interface and a service template.
Examples
# Enable direct IPv4 portal authentication on GigabitEthernet 1/0/1. (Wired application).
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] portal enable method direct
# Enable direct IPv4 portal authentication on service template
service1
. (Wireless application.)
<Sysname> system-view
[Sysname] wlan service-template service1
[Sysname-wlan-st-service1] portal enable method direct
Related commands
display portal
portal extend-auth domain
Use
portal extend-auth
domain
to specify the authentication domain for third-party authentication.
Use
undo portal extend-auth
domain
to remove the authentication domain for third-party
authentication.
Syntax
portal extend-auth domain
domain-name
undo portal extend-auth domain
Default
No authentication domain is specified for third-party authentication.
Views
Interface view
Service template view