44
interface
interface-type interface-number
: Logs out all users on the specified interface.
Description
Use the
portal delete-user
command to log out users.
Related commands:
display portal user
.
Examples
# Log out user 1.1.1.1.
<Sysname> system-view
[Sysname] portal delete-user 1.1.1.1
portal domain
Syntax
portal domain
domain-name
undo portal domain
View
Interface view
Default level
2: System level
Parameters
domain-name
: ISP domain name, a case-insensitive string of 1 to 24 characters. The domain specified by
this argument must already exist.
Description
Use the
portal domain
command to specify an authentication domain for portal users on an interface.
Then, the device uses the specified authentication domain for authentication, authorization and
accounting (AAA) of the portal users on the interface.
Use the
undo portal domain
command to restore the default.
By default, no authentication domain is specified for an interface.
Related commands:
display portal interface
.
Examples
# Configure the authentication domain for portal users on GigabitEthernet 0/0 as
my-domain
.
<Sysname> system-view
[Sysname] interface gigabitethernet0/0
[Sysname-GigabitEthernet0/0] portal domain my-domain
portal free-rule
Syntax
portal free-rule
rule-number
{
destination
{
any
|
ip
{
ip-address
mask
{
mask-length
|
netmask
} |
any
} }
|
source
{
any
| [
interface
interface-type interface-number
|
ip
{
ip-address
mask
{
mask-length
|
netmask
} |
any
} |
mac
mac-address
|
vlan
vlan-id
] * } } *
undo portal free-rule
{
rule-number
|
all
}