EasyManuals Logo

HPE FlexNetwork 5510 HI Series Network Management And Monitoring Configuration Guide

HPE FlexNetwork 5510 HI Series
331 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #254 background imageLoading...
Page #254 background image
245
NETCONF message format
NETCONF
IMPORTANT:
W
hen configuring NETCONF in XML view, you must add the end mark "]]>]]>
" at the end of an XML
message.
Otherwise, the device cannot identify the message. E
xamples in this chapter do not have
this end mark. Do add it in actual operations.
All NETCONF messages are XML-based and comply with RFC 4741. Any incoming NETCONF
messages must pass XML Schema check before it can be processed. If a NETCONF message fails
XML Schema check, the device sends an error message to the client.
For information about the NETCONF operations supported by the device and the operable data, see
the NETCONF XML API reference for the switch.
The following example shows a NETCONF message for getting all parameters of all interfaces on
the device:
<?xml version="1.0" encoding="utf-8"?>
<rpc message-id ="100" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-bulk>
<filter type="subtree">
<top xmlns="http://www.hp.com/netconf/data:1.0">
<Ifmgr>
<Interfaces>
<Interface/>
</Interfaces>
</Ifmgr>
</top>
</filter>
</get-bulk>
</rpc>
NETCONF over SOAP
All NETCONF-over-SOAP messages are XML-based and comply with RFC 4741. NETCONF
messages are contained in the <Body> element of SOAP messages. NETCONF-over-SOAP
messages also comply with the following rules:
• SOAP messages must use the SOAP Envelope namespaces.
• SOAP messages must use the SOAP Encoding namespaces.
• SOAP messages cannot contain the following information:
ï‚¡ DTD reference.
ï‚¡ XML processing instructions.
The following example shows a NETCONF-over-SOAP message for getting all parameters of all
interfaces on the device:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<auth:Authentication env:mustUnderstand="1"
xmlns:auth="http://www.hp.com/netconf/base:1.0">
<auth:AuthInfo>800207F0120020C</auth:AuthInfo>
</auth:Authentication>
</env:Header>

Table of Contents

Other manuals for HPE FlexNetwork 5510 HI Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5510 HI Series and is the answer not in the manual?

HPE FlexNetwork 5510 HI Series Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5510 HI Series
CategorySwitch
LanguageEnglish

Related product manuals