display configuration sessions

Function

The display configuration sessions command displays session status.

Format

display configuration sessions

display configuration sessions verbose

Parameters

Parameter Description Value
verbose

Indicates detailed information about session status.

-

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
config read

Usage Guidelines

Usage Scenario

To query information about users that have logged in to the device, you can run the display configuration sessions command to view session status.

This command is supported only on physical systems (PSs).

Example

The actual command output varies according to the device. The command output here is only an example.

# Display session status.
<HUAWEI> display configuration sessions
--------------------------------------------------------------------------
Session User-Intf    User                 Date                Lock
--------------------------------------------------------------------------
108                  SNMP_User            2013-02-11 17:24:09    -           
158     CON 0        anonymous            2011-01-17 10:39:47    -   
177     VTY 0        user                 2011-01-17 12:00:11    -   
179     VTY 1        user                 2011-01-17 12:04:06    -   
180 *   VTY 2        user                 2011-01-17 12:32:02    -   
14911 * VTY 0        anonymous            2013-04-19 14:46:09    -           
--------------------------------------------------------------------------
# Display detailed information about session status.
<HUAWEI> display configuration sessions verbose
--------------------------------------------------------------------------------
Session      : 158
User-Intf    : CON 0
User         : anonymous
Date         : 2011-01-17 10:39:47
Lock-Type    : -
Cfg-Mode     : TWO_PHASE
Client       : CLI
Elapsed-Time : 0 days, 2:08:41

Session      : 177
User-Intf    : VTY 0
User         : user
Date         : 2011-01-17 12:00:11
Lock-Type    : -
Cfg-Mode     : UNKNOW
Client       : CLI
Elapsed-Time : 0 days, 0:48:17

Session      : 179
User-Intf    : VTY 1
User         : user
Date         : 2011-01-17 12:04:06
Lock-Type    : -
Cfg-Mode     : UNKNOW
Client       : CLI
Elapsed-Time : 0 days, 0:44:22

Session      : 180 *
User-Intf    : VTY 2
User         : user
Date         : 2011-01-17 12:32:02
Lock-Type    : -
Cfg-Mode     : UNKNOW
Client       : CLI
Elapsed-Time : 0 days, 0:16:26

--------------------------------------------------------------------------------
Table 1 Description of the display configuration sessions command output
Item Description
Session

Indicates the ID of the session that connects to the system.

User-Intf

Indicates the interface information that the user used to logging on.

User

User name.

When a user performs operations through an NMS, SNMP_User is displayed.

Date

Indicates the time of the logging user.

Lock

Indicates the lock status.

Lock-Type

Indicates the lock type.

Cfg-Mode

Indicates the configuration mode.

Client

Indicates the client information.

Elapsed-Time

Indicates the elapsed time of the logging user.

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