< Home

display access-context profile

Function

The display access-context profile command displays the configuration of a user context profile.

Format

display access-context profile [ name profile-name ]

Parameters

Parameter

Description

Value

name profile-name

Displays the configuration of the user context profile with a specified name.

If name profile-name is not specified, all user context profiles configured on the device are displayed.

The value must be the name of an existing user context profile on the device.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring a user context profile, you can run this command to check whether the configuration is correct.

Example

# Display all user context profiles configured on the device.

<HUAWEI> display access-context profile
-------------------------------------------------------------------------------                                                     
    ID        Access-context profile name                                                                                           
-------------------------------------------------------------------------------                                                     
     0        p1                                                                                                                    
     1        aA                                                                                                                    
-------------------------------------------------------------------------------                                                     
    Total 2, printed 2

# Display the configuration of the user context profile p1.

<HUAWEI> display access-context profile name p1
  Profile name               : p1                                                                                                   
  if-match vlan-id           : 13 to 20 
Table 1 Description of the display access-context profile command output

Item

Description

ID

Index of a user context profile.

Access-context profile name or Profile name

Name of a user context profile.

To configure the parameter, run the access-context profile name command.

if-match vlan-id

VLAN matching a user context profile.

To configure the parameter, run the if-match vlan-id command.

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