No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S12700 V200R011C10 Configuration Guide - Network Management and Monitoring

This document provides the configurations of network management and monitoring features supported by the product, including SNMP, RMON and RMON2, LLDP, Performance Management, iPCA, NQA, Service Diagnosis, Mirroring, Packet Capture, Traffic Distribution, NetStream, sFlow, and TWAMP Light.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
NETCONF Interaction Process

NETCONF Interaction Process

Figure 14-2 shows the NETCONF interaction process between the NMS and switch.

Figure 14-2  NETCONF interaction process
  1. The switch sets up an SSH connection with the NMS.
  2. The switch and NMS exchange their supported capabilities by sending hello packets.
  3. The NMS sends an RPC request to the switch for configuration management.
  4. The switch parses and handles the received RPC request, and sends RPC reply to the NMS.
  5. After the preceding operations are complete, the NMS sends an RPC request to close the NETCONF session. This saves resource consumption on the switch and NMS.
  6. The switch closes the NETCONF session, and sends RPC reply to the NMS.
# A sample of hello packet sent by the switch is as follows. base and writable-running are the capabilities supported by the switch. For details, see Capabilities and Operations Supported by NETCONF.
<?xml version="1.0" encoding="UTF-8"?> 
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
  <capabilities> 
    <capability>urn:ietf:params:netconf:base:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:candidate:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:confirmed-commit:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:validate:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:startup:1.0</capability> 
  </capabilities> 
  <session-id>1227</session-id> 
</hello> 
]]>]]>
# A sample of hello packet sent by the NMS is as follows.
<?xml version="1.0" encoding="UTF-8"?> 
<hello xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
  <capabilities> 
    <capability>urn:ietf:params:netconf:base:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:writable-running:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:candidate:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:confirmed-commit:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:rollback-on-error:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:validate:1.0</capability> 
    <capability>urn:ietf:params:netconf:capability:startup:1.0</capability> 
  </capabilities> 
</hello> 
]]>]]>
# A sample of session close RPC request sent by the NMS is as follows.
<?xml version="1.0" encoding="UTF-8"?> 
<rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
  <close-session/> 
</rpc> 
]]>]]>
# A sample of session close RPC reply sent by the switch is as follows.
<?xml version="1.0" encoding="UTF-8"?> 
<rpc-reply message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"> 
  <ok/>  
</rpc-reply> 
]]>]]>
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178113

Views: 137721

Downloads: 53

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next