您好,请知:
  
可通过portal实现,要上外网必须通过酒店的认证页面。
  
以下是portal的说明及案例。
  
  
http://www.h3c.com/cn/d_201405/828764_30005_0.htm
  
  
  
   以下是设备端的配置举例:
  
  
   
  
  
   ·     配置Portal认证
  
  
   
  
  
   # 配置Portal服务器:名称为newpt,IP地址为192.168.0.111,密钥为明文portal,端口为50100,URL为http://192.168.0.111:8080/portal。(Portal服务器的URL请与实际环境中的Portal服务器配置保持一致,此处仅为示例)
  
  
   
  
  
   [Switch] portal server newpt ip 192.168.0.111 key simple portal port 50100 url http://192.168.0.111:8080/portal
  
  
   
  
  
   # 在与用户Host相连的接口上使能Portal认证。
  
  
   
  
  
   [Switch] interface vlan-interface 100
  
  
   
  
  
   [Switch–Vlan-interface100] portal server newpt method direct
  
  
   
  
  
   [Switch] quit
  
 
						 
						
我在评论这里给您提供了连接