< Home

display match-rule

Function

The display match-rule command displays the browser type matching rules for terminals.

Format

display match-rule [ client-type { pc | mobile } ]

Parameters

Parameter Description Value

pc

Displays the rules used to match PC browsers.

-

mobile

Displays the rules used to match mobile terminal browsers.

-

Views

Virtual gateway basic view

Default Level

2: Configuration level

Usage Guidelines

Only the USG6510E/6510E-POE/6530E does not support this command.

Example

# Display the terminal browser type matching rules on virtual gateway abc.

<sysname> system-view
[sysname] v-gateway abc
[sysname-abc] basic
[sysname-abc-basic] display match-rule
VG Match Rules Lists
--------------------------------------------------------
Client Type                       User-Agent Pattern    
--------------------------------------------------------
PC                                *firefox*             
mobile                            *iphone*              
--------------------------------------------------------
----End
Table 1 Description of the display match-rule command output

Item

Description

Client Type

Indicates the terminal type.

User-Agent Pattern

Indicates the User-Agent parameter of the browser.

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