RUGGEDCOM NETCONF
Reference Guide
Chapter 3
NETCONF Sessions
Configuring/Monitoring NETCONF in RUGGEDCOM
NETCONF
23
NETCONF Sessions
This section describes how to do the following:
• connect to the NETCONF service on a device via Secure Shell (SSH). You must do this each time you connect to
the device to start a NETCONF session.
• respond to the device's
<hello>
message. You must do this each time you start a NETCONF session.
• close the session gracefully with the
<close-session>
command. Closing the session with the
<close-
session>
command is recommended, but is optional.
• kill the session with the
<kill-session>
command. Closing the session with the
<kill-session>
command is optional.
CONTENTS
•
Section 3.1, “Configuring/Monitoring NETCONF in RUGGEDCOM NETCONF”
•
Section 3.2, “Connecting to the NETCONF Service”
•
•
Section 3.4, “Closing the Session”
•
Section 3.5, “Killing a Session”
Section 3.1
Configuring/Monitoring NETCONF in RUGGEDCOM
NETCONF
Before sending NETCONF XML messages to any RUGGEDCOM NETCONF device, make sure NETCONF sessions are
enabled and configured. For more information, refer to either the
RUGGEDCOM ROX II Web Interface or CLI User
Guides
for the device.
The
RUGGEDCOM ROX II User Guides
also detail how to look up important statistics, such as the number of bad
hellos, the total number of dropped sessions, etc.
Section 3.2
Connecting to the NETCONF Service
RUGGEDCOM ROX II supports the use of Secure Shell (SSH) to connect to the NETCONF service on the device. To
connect to the NETCONF service, specify an IP address, port, and subsystem:
$ ssh {user}@{ipAddress} -p 830 -s netconf
Содержание RUGGEDCOM MX5000RE
Страница 8: ...Table of Contents RUGGEDCOM NETCONF Reference Guide viii ...
Страница 12: ...Preface RUGGEDCOM NETCONF Reference Guide xii Customer Support ...
Страница 26: ...Chapter 1 Introduction RUGGEDCOM NETCONF Reference Guide 14 Sample Session Editing Data ...
Страница 40: ...Chapter 3 NETCONF Sessions RUGGEDCOM NETCONF Reference Guide 28 Killing a Session ...
Страница 64: ...Chapter 5 Changing Configuration Data RUGGEDCOM NETCONF Reference Guide 52 Committing Changes ...
Страница 148: ...Chapter 8 NETCONF XML Elements RUGGEDCOM NETCONF Reference Guide 136 validate ...