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

ME60 V800R010C10SPC500 Feature Description - System Management 01

This is ME60 V800R010C10SPC500 Feature Description - System Management
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).
URL

URL

This capability indicates that the device can modify or copy files in a specified path. Currently, the <edit-config> and <copy-config> operations are supported. Password information in URLs is protected. When configuration data is exported, password information is exported in ciphertext.
  • The <edit-config> operation commits the configuration file in a specified path to the <candidate/> or <running/> configuration database.
  • The <copy-config> operation copies configuration data in the <candidate/> or <running/> configuration database to a file in a specified path.
Currently, only SFTP, FTP, and file protocols are supported.
  • The SFTP/FTP is used to query files on an SFTP/FTP server. The path format is ftp://user name:password@IP address of the SFTP or FTP server/file directory/file name.
  • The file protocol is used to query local files. The path format is file:///file directory/file name.
NOTE:

The file name is a string of case-sensitive characters starting with an underscore (_) or a letter. It only supports underscores, digits, and letters. The dot (.) can only be used in the file name extension, and only one dot is supported. The file name cannot contain more than 256 characters, including a path.

For the <copy-config> operation, if the file specified in the <url> element does not exist, the file is directly created. If the file already exists, it is overwritten.

For the <edit-config> operation, the file specified in the <url> element must exist.

Capability ID

<capability>urn:ietf:params:netconf:capability:url:1.0?scheme=file,ftp,sftp</capability>

Copy data in the <running/> configuration database to the local abc.xml file:

  • RPC request:

    <?xml version="1.0" encoding="UTF-8"?>
    <rpc message-id="101" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
     <copy-config>
      <target>
       <url>file:///abc.xml</url>
      </target>
      <source>
       <running/>
      </source>
     </copy-config>
    </rpc>
    
  • RPC reply:

    <?xml version="1.0" encoding="UTF-8"?>
    <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5">
     <ok/>
    </rpc>
    

Commit data in the config.xml file on the FTP server to the <candidate/> configuration database:

  • RPC request:

    <?xml version="1.0" encoding="UTF-8"?>
    <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5">
     <edit-config>
      <target>
       <candidate/>
      </target>
      <url>ftp://root:root@10.1.1.2/config.xml</url>
     </edit-config>
    </rpc>
  • RPC reply:

    <?xml version="1.0" encoding="UTF-8"?>
     <rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="5">
    <ok/>
    </rpc>
    
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059466

Views: 10262

Downloads: 6

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