Description
Use the portal domain command to specify an authentication domain for portal users on an interface.
Then, the device uses the authentication domain for authentication, authorization and accounting (AAA)
of the portal users on the interface.
Use the undo portal domain command to delete the authentication domain specified for portal users.
By default, no authentication domain is specified for portal users on an interface.
Related commands: display portal interface.
Examples
# Configure the authentication domain 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
portal free-rule
Syntax
portal free-rule rule-number { destination { any | ip { ip-address mask { mask-length | mask } | any } |
ipv6 { ipv6-address prefix-length | any } } | source { any | [ ip { ip-address mask { mask-length | mask }
| any } | ipv6 { ipv6-address prefix-length | any } | mac mac-address | vlan vlan-id ] * } } *
undo portal free-rule { rule-number | all }
View
System view
Default level
2: System level
Parameters
rule-number: Number for the portal-free rule, in the range 0 to 255.
any: Imposes no limitation on the previous keyword.
ip ip-address: Specifies an IP address for the portal-free rule.
mask { mask-length | mask }: Specifies a mask or mask length for the IP address. mask is a subnet mask
in dotted decimal notation. mask-length is a subnet mask length, an integer in the range of 0 to 32.
ipv6 ipv6-address: Specifies an IPv6 address for the portal-free rule.
prefix-length: Specifies the prefix length of the IPv6 address, in the range of 0 to 128.
mac mac-address: Specifies a source MAC address in the format H-H-H.
vlan vlan-id: Specifies a source VLAN ID.
all: Specifies all portal-free rules.
Description
Use the portal free-rule command to configure a portal-free rule and specify the source filtering condition,
destination filtering condition, or both.
Use the undo portal free-rule command to remove a specific portal-free rule or all portal-free rules.
145