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
Summary of Contents for RUGGEDCOM MX5000RE
Page 8: ...Table of Contents RUGGEDCOM NETCONF Reference Guide viii ...
Page 12: ...Preface RUGGEDCOM NETCONF Reference Guide xii Customer Support ...
Page 26: ...Chapter 1 Introduction RUGGEDCOM NETCONF Reference Guide 14 Sample Session Editing Data ...
Page 40: ...Chapter 3 NETCONF Sessions RUGGEDCOM NETCONF Reference Guide 28 Killing a Session ...
Page 64: ...Chapter 5 Changing Configuration Data RUGGEDCOM NETCONF Reference Guide 52 Committing Changes ...
Page 148: ...Chapter 8 NETCONF XML Elements RUGGEDCOM NETCONF Reference Guide 136 validate ...