271
Default
Portal authentication is disabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
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.
You can enable both IPv4 and IPv6 portal authentication on an interface.
Do not add a portal authentication-enabled Ethernet interface to an aggregation group. Otherwise,
portal authentication cannot take effect on the interface.
Examples
# Enable direct IPv4 portal authentication on VLAN-interface 100.
<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal enable method direct
Related commands
display portal
portal fail-permit server
Use
portal
[
ipv6
]
fail-permit server
to enable the portal fail-permit feature for a portal
authentication server on the interface.
Use
undo portal
[
ipv6
]
fail-permit server
to disable the portal fail-permit feature for the portal
authentication server.
Syntax
portal
[
ipv6
]
fail-permit server server-name
undo portal
[
ipv6
]
fail-permit server
Default
Portal fail-permit is disabled for the portal authentication server.