< Home

display auth-policy

Function

The display auth-policy command displays the configurations of authentication policy rules.

Format

display auth-policy rule { all [ slot slot-id cpu cpu-id ] | name rule-name }

Parameters

Parameter Description Value

all

Indicates the configurations of all authentication policy rules.

-

name rule-name

Specifies the configurations of the specified authentication policy rule.

The specified authentication policy rule must exist.

slot slot-id

Specifies the slot ID of the SPU.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

cpu cpu-id

Specifies the CPU ID.

Only the USG6635E/6655E, USG6680E and USG6712E/6716E support this parameter.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

None

Example

# Display the configurations of authentication policy rule auth_rule.

<sysname> display auth-policy rule name auth_rule
  (2) times matched                                                             
  rule name auth_rule                                                           
    description auth for research                                               
    enable                                                                     
    action auth 

# Display the configurations of all authentication policy rules.

<sysname> display auth-policy rule all
Total:1  
RULE ID RULE NAME                      STATE      ACTION     HITS             
------------------------------------------------------------------------------- 
 0       default                        enable     none    46537              
-------------------------------------------------------------------------------
Table 1 Description of the display auth-policy all command output

Item

Description

Total

Total number of authentication policy rules

RULE ID

ID of authentication policy rules

RULE NAME

Name of an authentication policy rule

STATE

Status of an authentication policy rule, enable or disable

ACTION

Action of an authentication policy rule:

  • auth: portal exemption
  • exempt-auth: authentication exemption
  • none: no authentication

HITS

Matching counts of an authentication policy rule

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