3com 8807 Guía De Referencia

Descargar
Página de 1099
378
C
HAPTER
 22: P
ORTAL
 C
ONFIGURATION
 C
OMMANDS
portal server
Syntax
portal server server-name { ip ip-address | key key-string | port port | url 
url-string } *
undo portal server server-name [ key | port | url ]
View
System view
Parameter
server-name: Name of a Portal server. It is a string in the range of 1 to 32 
characters.
ip-address: IP address of a Portal server. This address cannot be full-zero addresses, 
loopback addresses, multicast addresses or broadcast addresses.
key-string: Shared keys that the Portal server needs when it communicates with 
the switch. It is a string in the range of 1 to 16 characters. It is "3com" by default.
port: Port that a switch uses to send packets to a Portal server. It is in the range of 
1 to 65534. It is 50100 by default.
url-string: URL that HTTP redirects to, which is the string form of the ip-address by 
default. For example, if the ip-address is 10.1100.100.100, the default URL is 
http://10.11.100.100. The string need not be bracketed when entered.
Description
Use the portal server command to create a Portal server or modify the 
configuration of a Portal server.
Use the undo portal server command to delete the specified server, or restore 
the default parameter configuration of the specified server.
CAUTION:
When configuring a Portal server, you must also configure the IP address for 
that server.
If the Portal server has been configured on a VLAN virtual interface, you must 
disable this Portal server on the virtual VLAN interface before modifying its 
parameters. Enable the Portal server again after parameters are modified.
A Portal server will use a free IP address automatically. If the number of free IP 
addresses has reached the maximum when a Portal server is configured, this 
configuration will fail.
Example
# Set the IP address of the Portal server named 3Com to 10.10.100.100, 
communication key to lanswitch, port to 50101, and the URL that HTTP redirects 
to http://www.3com.com.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z. 
 
[SW8800] portal server 3Com ip 10.10.100.100 key lanswitch port 5010
1 url http://www.3com.com