146
[Sysname] interface vlan-interface 100
[Sysname–Vlan-interface100] portal domain my-domain
# Configure the authentication domain to be used for portal users on GigabitEthernet1/0/1 as my-
domain.
<Sysname> system-view
[Sysname] interface GigabitEthernet1/0/1
[Sysname–GigabitEthernet1/0/1] portal domain my-domain
portal free-rule
Syntax
On A5500 EI Switch Series:
portal free-rule rule-number { destination { any | ip { ip-address mask { mask-length | netmask } | any } }
| source { any | [ ip { ip-address mask { mask-length | netmask } | any } | mac mac-address | vlan vlan-
id ] * } } *
On A5500 SI Switch Series:
portal free-rule rule-number { destination { any | ip { ip-address mask { mask-length | netmask } | any } }
} *
undo portal free-rule { rule-number | all }
View
System view
Default level
2: System level
Parameters
rule-number: Specifies a number for the portal-free rule. The value ranges from 0 to 255.
any: Imposes no limitation on the previous keyword.
ip ip-address: Specifies an IP address.
mask { mask-length | netmask }: Specifies the mask of the IP address, which can be in dotted decimal
notation or an integer in the range 0 to 32.
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 specified portal-free rule or all portal-free rules.
If you specify both the source IP address and source MAC address, the IP address must be a host address
with a 32-bit mask. Otherwise, the specified MAC address does not take effect.
You cannot configure a portal-free rule to have the same filtering criteria as that of an existing one.
Otherwise, the system prompts that the rule already exists.