43
portal auth-network
Syntax
portal auth-network
network-address
{
mask-length
|
mask
}
undo portal auth-network
{
network-address
|
all
}
View
Interface view
Default level
2: System level
Parameters
network-address
: IP address of the authentication subnet.
mask-length
: Length of the subnet mask, in the range of 0 to 32.
mask
: Subnet mask, in dotted decimal notation.
all
: Specifies all authentication subnets.
Description
Use the
portal auth-network
command to configure a portal authentication subnet.
Use the
undo portal auth-network
command to remove a specific portal authentication subnet or all
portal authentication subnets.
This command is only applicable for Layer 3 authentication. The portal authentication subnet for direct
authentication is any source IP address, and the portal authentication subnet for re-DHCP authentication
is the one determined by the private IP address of the interface.
By default, the portal authentication subnet is 0.0.0.0/0, meaning that users in all subnets are to be
authenticated.
Examples
# Configure a portal authentication subnet of 10.10.10.0/24.
<Sysname> system-view
[Sysname] interface gigabitethernet0/0
[Sysname-GigabitEthernet0/0] portal auth-network 10.10.10.0 24
portal delete-user
Syntax
portal delete-user
{
ip-address
|
all
|
interface
interface-type interface-number
}
View
System view
Default level
2: System level
Parameters
ip-address
: IP address of a user.
all
: Logs out all users.