Configure NETCONF Server Functions
Configuration Conditions
Before configuring the functions of the NETCONF server, first complete the following tasks:
- Configure the link-layer protocol and ensure the normal communication of the link layer.
- Configure the network-layer address of the interface and ensure that the NETCONF client node is reachable at the network layer.
Enable NETCONF Server Function
Table 11-2 Enable the NETCONF server function
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enable the global NETCONF function
|
netconf server enable
|
Mandatory
By default, the NETCONF function is not enabled.
|
Configure Timeout Disconnection Function of the NETCONF Client
Table 11-3 Configure the timeout disconnection time of the NETCONF client
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enable the global NETCONF function
|
netconf client idle-time
|
Mandatory
By default, the timeout disconnection time of the NETCONF client is 3600s.
|
Configure Max. Sessions of NETCONF
Table 11-4 Configure the maximum number of the NETCONF sessions
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Configure the maximum sessions of NETCONF
|
netconf server max-session session-num
|
Optional
By default, the maximum sessions supported by the NETCONF server is 4.
|