3com S7906E Guide De Référence

Page de 2327
 
1-15 
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 } 
View 
System view 
Default Level 
2: System level 
Parameters 
rule-number: Number for the portal-free rule. The value range from 0 to 31. 
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. 
interface interface-type interface-number: Specifies a source interface. 
mac mac-address: Specifies a source MAC address in the format of 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 and/or destination filtering condition. 
Use the undo portal free-rule command to remove a specified portal-free rule or all portal-free rules. 
Note that: 
If you specify both the source IP address and source MAC address, the IP address must be a 
host address under a 32-bit mask. Otherwise, the specified MAC address does not take effect. 
If you specify both a VLAN and interface in a portal-free rule, the interface must belong to the 
VLAN. 
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.   
No matter whether portal authentication is enabled, you can only add or remove a portal-free rule, 
rather than modifying it. 
Related commands: display portal free-rule