NETCONF Configuration Command Reference

This section provides the NETCONF configuration command reference. Topics in this section include:

Command Hierarchies

NETCONF System Commands

config
— system
[no] shutdown

NETCONF Security Commands

config
— system
— security
— profile profile-id
[no] kill-session
[no] lock

Configuration Commands

This section provides NETCONF configuration command descriptions.

NETCONF System Commands

shutdown

Syntax 
[no] shutdown
Context 
config>system>netconf
Description 

This command disables the NETCONF server. The shutdown command is blocked if there are any active NETCONF sessions. Use the “admin disconnect” command to disconnect all NETCONF sessions before shutting down the NETCONF service.

NETCONF Security Commands

netconf

Syntax 
netconf
Context 
config>system>security>profile
Description 

This command authorizes netconf capability for the user.

base-op-authorization

Syntax 
base-op-authorization
Context 
config>system>security>profile>netconf
Description 

This command enters the context where permission to use various NETCONF operations is controlled.

kill-session

Syntax 
[no] kill-session
Context 
config>system>security>profile>netconf>base-op-authorization
Description 

This operation authorizes a user associated with the profile to send a <kill-session> NETCONF operation. This <kill-session> operation allows a NETCONF client to kill another NETCONF session, but not the session in which the operation is requested.

Default 

no kill-session

lock

Syntax 
[no] lock
Context 
config>system>security>profile>netconf>base-op-authorization
Description 

This operation authorizes a user associated with the profile to send a <lock> NETCONF operation. This <lock> operation allows a NETCONF client to lock the <running> datastore or the <candidate> datastore.

Default 

no lock