< Home

display url-template

Function

The display url-template command displays information about URL templates.

Format

display url-template { all | name template-name }

Parameters

Parameter

Description

Value

all

Displays information about all configured URL templates.

-

name template-name

Displays information about the URL template with a specified name.

The value must be the name of an existing URL template.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After a URL template is configured, you can run the display url-template command to view information about the URL template.

Example

# Display information about all configured URL templates.
<HUAWEI> display url-template all

-------------------------------------------------------------------------------
  Name                              URL     Start  Assignment  Isolate
                                    Number  Mark   Mark        Mark
-------------------------------------------------------------------------------
  huawei                            0       ?      =           &
  huawei2                           0       ?      =           &
  huawei3                           0       ?      =           &
-------------------------------------------------------------------------------
  Total 3                 
# Display information about the URL template huawei.
<HUAWEI> display url-template name huawei
  Name : huawei
  URL  :
  Start mark      : ?
  Assignment mark : =
  Isolate mark    : &
  Device IP 
  Device MAC      :           
  AP IP           :  
  AP MAC          : 
  SSID            :
  User MAC        :
  Redirect URL    :
  User IP address :
  Sysname         :
  User VLAN       :
  Delimiter       :
  Format          : 
  Login URL Key   : logiurl  
  Login URL       : http:\\example.com
  AP Name         : 
  AP Location     :
  AP Group Name   : 
  Device IP Value : 10.1.1.1
Table 1 Description of the display url-template command output

Item

Description

Name

Name of a URL template.

URL Number

Number of URLs.

URL

URL of the Portal server. To configure this parameter, run the url command in the URL template view.

Start mark/Start Mark

Start character in the URL. To configure this parameter, run the parameter command.

Assignment mark/Assignment Mark

Assignment character in the URL. To configure this parameter, run the parameter command.

Isolate mark/Isolate Mark

Delimiter between URLs. To configure this parameter, run the parameter command.

Device IP

Name of device-ip in the URL. To configure this parameter, run the url-parameter command.

Device MAC

Name of device-mac in the URL. To configure this parameter, run the url-parameter command.

AP IP

Name of ap-ip in the URL. To configure this parameter, run the url-parameter command.

AP MACUser VLAN

Name of ap-mac in the URL. To configure this parameter, run the url-parameter command.

SSID

Name of ssid in the URL. To configure this parameter, run the url-parameter command.

User MAC

Name of user-mac in the URL. To configure this parameter, run the url-parameter command.

Redirect URL

Name of redirect-url in the URL. To configure this parameter, run the url-parameter command.

User IP address

Name of user-ipaddress in the URL. To configure this parameter, run the url-parameter command.

Sysname

Name of sysname in the URL. To configure this parameter, run the url-parameter command.

User VLAN

Name of user-vlan in the URL. To configure this parameter, run the url-parameter command.

Delimiter

Delimiter between MAC addresses in the URL. To configure this parameter, run the url-parameter mac-address format command.

Format

Format of MAC addresses in the URL. To configure this parameter, run the url-parameter mac-address format command.

Login URL Key

Identification keyword for the login URL sent to the Portal server during redirection. To configure this parameter, run the url-parameter command.

Login URL

Device login URL. To configure this parameter, run the url-parameter command.

AP Name

Name of ap-name in the URL. To configure this parameter, run the url-parameter command.

AP Location

Name of ap-location in the URL. To configure this parameter, run the url-parameter command.

AP Group Name

Name of ap-group-name in the URL. To configure this parameter, run the url-parameter command.

Device IP Value

Value of the redirection parameter device-ip. To configure this parameter, run the url-parameter set command.

AP IP Value

Value of an AP IP address carried in the redirection URL.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >