< Home

display user-group

Function

The display user-group command displays the configuration of a user group.

Format

display user-group [ group-name ]

Parameters

Parameter Description Value
group-name Displays the configuration of a specified user group.

The configurations of all user groups are displayed if this parameter is not specified.

The value is a string of 1 to 64 case-sensitive characters without spaces.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display user-group command to obtain the user group configuration and locate faults according to the command output.

Example

# Display the configuration of all user groups.

<HUAWEI> display user-group
 -------------------------------------------------------------------------------
 ID    Group name                     Rule-num   User-num  Status
 -------------------------------------------------------------------------------
 0     abc                            0          0         disabled
 -------------------------------------------------------------------------------
 Total 1 

When the length of Group name exceeds 14 characters, the name is displayed in abridged mode.

# Display the configuration about the user group test1.

<HUAWEI> display user-group abc
  User group ID           : 0
  Group name              : abc
  ACL ID                  :
  ACL rule number         : 0
  User-num                : 0
  VLAN                    :
  Remark dscp             :
  Remark 8021p            :
  Status                  : disabled
Table 1 Description of the display user-group command output

Item

Description

ID

ID of the user group.

Rule-num

Number of ACL rules.

User group ID

ID of the user group.

Group name

Name of the user group.

ACL ID

ID of the ACL bound to the user group.

To set the ACL ID, run the acl-id command.

ACL rule number

Number of ACL rules.

User-num

Number of online users bound to the user group.

VLAN

VLAN of the user group.

To set the VLAN, run the user-vlan command.

Remark dscp

Priorities for processing IP packets.

To set the priorities, run the remark command.

Remark 8021p

Priorities for processing Ethernet Layer 2 packets.

To set the priorities, run the remark command.

Status

Status of the user group.

  • disabled: The user group is disabled.
  • enabled: The user group is enabled.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >