The display netconfc session command displays information about all or specific NETCONF Client session.
Usage Scenario
To view session information about a specified or all active NETCONF clients, run the display netconfc session command. Maximum sessions of primary that can be displayed are 3 and minimum sessions that can be displayed are zero.
Maximum sessions of backup that can be displayed are 2 and minimum sessions that can be displayed are zero. The information helps check whether the number of failed connections reaches the upper threshold.
Precautions
In VS mode, this command is supported only by the admin VS.
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display netconfc session
---------------------------------------------------------
Peer ID : 2000
NETCONFC Session ID : 4446
User Name : netconf
Session Type : CFG
Session State : READY
Up Time : 2020-01-28 10:26:53
PID : 26674268
Peer ID : 3000
NETCONFC Session ID : 4716
User Name : netconf
Session Type : CFG
Session State : READY
Up Time : 2020-01-28 10:26:20
PID : 26674346
---------------------------------------------------------
<HUAWEI> display netconfc session peer-id 2000
----------------------------------------------------------------------
Peer ID : 2000
NETCONFC Session ID : 1533
User Name : netconf
Session Type : CFG
Session State : READY
Up Time : 2020-01-28 10:26:53
PID : 26674268
----------------------------------------------------------------------
Item | Description |
---|---|
Peer ID | ID of a peer device. |
NETCONFC Session ID | ID of a NETCONFC session. |
Session Type | Session type.
|
Session State | Session status.
|
User Name | User name for session establishment. |
Up Time | Time when the session is successfully established. |
PID | PID of the component on which the session exists. |