< 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 is a string of 1 to 31 case-sensitive characters. It cannot contain spaces or the following symbols: / \ : * ? " < > | @ ' %. The value cannot be - or --.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After a URL template is configured, 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  :                                                                        
    1. http://10.1.1.1                                                          
  Start mark      : !                                                           
  Assignment mark : j                                                           
  Isolate mark    : =                                                           
  User MAC        :                                                             
  Redirect URL    :                                                             
  User IP address :                                                             
  Sysname         :                                                             
  Delimiter       : %                                                           
  Format          : normal 
  Login URL Key   : logiurl
  Login URL       : http:\\huawei.com
Table 1 Description of the display url-template command output

Item

Description

Name

Name of a URL template.

URL

URL of the Portal server. For details, see url.

Start mark

Start character in the URL address. For details, see parameter.

Assignment mark

Assignment character in the URL address. For details, see parameter.

Isolate mark

Delimiter between URL addresses. For details, see parameter.

User MAC

MAC address of a user. For details, see url-parameter.

Redirect URL

URL in the original user packet. For details, see url-parameter.

User IP address

User IP address. For details, see url-parameter.

Sysname

Device name. For details, see url-parameter.

Delimiter

Delimiter between MAC addresses in URL. For details, see url-parameter mac-address format.

Format

Format MAC addresses in URL. For details, see url-parameter mac-address format.

Login URL Key

Identification keyword for the login URL sent to the Portal server during redirection. For details, see url-parameter.

Login URL

Device login URL. For details, see url-parameter.

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