3com S7906E 参考指南

下载
页码 2327
 
1-16 
 
If you specify both the source IP and source MAC address information in a portal-free rule, the IP 
address must be a host address with a mask of 32 bits; otherwise, the specified MAC address 
will be neglected. 
You cannot configure two portal-free rules with the same filtering conditions. Otherwise, the 
device will prompt that the portal-free rule already exists. 
 
Examples 
# Configure a portal-free rule, allowing any packet whose source IP address is 10.10.10.1/24 and 
source interface is GigabitEthernet 2/0/1 to bypass portal authentication. 
<Sysname> system-view 
[Sysname] portal free-rule 15 source ip 10.10.10.1 mask 24 interface GigabitEthernet 2/0/1 
destination ip any 
portal server 
Syntax 
portal server server-name ip ip-address key key-string | port port-id | url url-string ] * 
undo portal server server-name [ key | port | url ] 
View 
System view 
Default Level 
2: System level 
Parameters 
server-name: Name of the portal server, a case-sensitive string of 1 to 32 characters. 
ip-address: IP address of the portal server. 
key-string: Shared key for communication with the portal server, a case-sensitive string of 1 to 16 
characters. 
port-id: Destination port number used when the device sends a message to the portal server 
unsolicitedly, in the range 1 to 65534. The default is 50100. 
url-string: Uniform resource locator (URL) to which HTTP packets are to be redirected, in the 
http://ip-address format. The default of ip-address is the IP address of the portal server. 
Description 
Use the portal server command to configure a portal server. 
Use the undo portal server command to remove a portal server, restore the default destination port 
number or URL, or delete the shared key. 
By default, no portal server is configured. 
Note that: