277
Examples
# Configure source-based portal-free rule: specify the rule number as
3
, source MAC address as
1-1-1
, and source VLAN ID as
10
. This rule allows the portal user whose source MAC address is
1-1-1 from VLAN 10 to access network resources without authentication.
<Sysname> system-view
[Sysname] portal free-rule 3 source mac 1-1-1 vlan 10
Related commands
display portal rule
portal ipv6 free-all except destination
Use
portal
ipv6 free-all except destination
to configure an IPv6 portal authentication destination
subnet on an interface.
Use
undo portal
ipv6
free-all except destination
to delete IPv6 portal authentication destination
subnets on the interface.
Syntax
portal ipv6 free-all except destination
ipv6-network-address prefix-length
undo portal ipv6 free-all except destination
[
ipv6-network-address
]
Default
No IPv6 portal authentication destination subnet is configured. Portal users must pass portal
authentication to access any IPv6 subnet.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Parameters
ipv6-network-address
: Specifies an IPv6 portal authentication destination subnet.
prefix-length
: Specifies the prefix length of the IPv6 subnet, in the range of 0 to 128.
Usage guidelines
Portal users on the interface are authenticated when accessing the specified authentication
destination subnet (except IP addresses and subnets specified in portal-free rules). The users can
access other subnets without portal authentication.
You can configure multiple authentication destination subnets.
If you do not specify the
ipv6-network-address
argument in the
undo portal
ipv6
free-all except
destination
command, this command deletes all IPv6 portal authentication destination subnets on
the interface.
Re-DHCP authentication does not support authentication destination subnets.
If you configure both an authentication source subnet and an authentication destination subnet on an
interface, only the authentication destination subnet takes effect.
Examples
# Configure an IPv6 portal authentication destination subnet of
1::2
/
16
on VLAN-interface 2.
<Sysname> system-view
[Sysname] interface vlan-interface 2