portal domain

Syntax

portal domain [ ipv6 ] domain-name

undo portal domain [ ipv6 ]

View

VLAN interface, Layer 2 Ethernet interface view

Default level

2: System level

Parameters

ipv6: Specifies IPv6 portal users. If you do not specify the ipv6 keyword, the command is for IPv4 portal users.

domain-name: Specifies the ISP domain name, a case-insensitive string of 1 to 24 characters. The domain specified by this argument must already exist.

Description

Use portal domain to specify an authentication domain for an interface. Then, the device will use the authentication domain for authentication, authorization and accounting (AAA) of the portal users on the interface.

Use undo portal domain to restore the default.

By default, no authentication domain is specified for portal users on an interface.

If you do not specify the ipv6 keyword in the undo command, the undo command deletes the authentication domain specified for IPv4 portal users.

Related commands: display portal interface.

Examples

# Configure the authentication domain to be used for IPv4 portal users on VLAN-interface 100 as my-domain.

<Sysname> system-view
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal domain my-domain

# Configure the authentication domain to be used for IPv4 portal users on port Ethernet 1/0/1 as my-domain.

<Sysname> system-view
[Sysname] interface ethernet1/0/1
[Sysname–Ethernet1/0/1] portal domain my-domain