This section provides NETCONF configuration command descriptions.
7210 SAS-R6 and 7210 SAS-R12
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.
7210 SAS-R6 and 7210 SAS-R12
This command enables the context to authorize various NETCONF capabilities for the user.
7210 SAS-R6 and 7210 SAS-R12
This command enables the context to configure where permission to use various NETCONF operations is controlled.
7210 SAS-R6 and 7210 SAS-R12
This command authorizes a user associated with the profile to send a <kill-session> NETCONF operation. The <kill-session> operation allows a NETCONF client to kill another NETCONF session, but not the session in which the operation is requested.
The no form of this command disables the configuration.
no kill-session
7210 SAS-R6 and 7210 SAS-R12
This command displays active NETCONF SSH sessions.
The following output is an example of NETCONF SSH session information, and Table 39 describes the output fields.
Label | Description |
Administrative State | Enabled — Indicates that NETCONF is enabled Disabled — Indicates that NETCONF is disabled |
Operational State | Up — Indicates that NETCONF is operational Down — Indicates that NETCONF is not operational |
Connection | Displays the IP address of the connected routers (remote client) |
7210 SAS-R6 and 7210 SAS-R12
This command displays NETCONF counters.
The following output is an example of NETCONF counter information, and Table 40 describes the output fields.
Label | Description |
RX Messages | Displays the types and numbers of received messages |
RX Total | Displays the total of all received messages |
TX Messages | Displays the types and numbers of sent messages |
TX Total | Displays the total of all sent messages |
failed edit-configs | Displays the number of failed <edit-config> requests due to a lock (including implicit ones) being taken by other NETCONF sessions |
failed locks | Displays the number of failed <lock> requests due to a lock (including implicit ones) being taken by other NETCONF sessions |