max-sessions

Function

The max-sessions command sets the maximum number of clients for the NETCONF service.

The undo max-sessions command restores the default maximum number of clients that are connected to the server for NETCONF service.

The default maximum number of clients is 15.

Format

max-sessions count

undo max-sessions

Parameters

Parameter Description Value
count

Sets the maximum number of NETCONF sessions.

It is an integer data type. The value range is from 0 to 15.

Views

NETCONF user interface view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

To set the maximum number of NETCONF clients that can be connected to a server at any point, run the max-sessions command.

Example

# Set the maximum number of NETCONF clients to 3.
<HUAWEI> system-view
[~HUAWEI] netconf
[~HUAWEI-netconf] max-sessions 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >