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

NETCONF YANG API Reference

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

NETCONF YANG API Reference
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).
Tracert

Tracert

1.1.2.1 Data Model

The configuration model file matching tracert is huawei-traceroute.yang.

Table 3-2258 Data model of tracert

Object

Description

Tracert

Indicates that the operation request object is a tracert-related configuration. It is only used to contain sub-objects, but does not have any data meaning.

/huawei-traceroute:tracert/test-name

Indicates the name of a tracert test.

/huawei-traceroute:tracert/ipv4-tracert/destination

Indicates the IP address or domain name to be tested.

The value is a string of 1 to 255 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces. The value can also be a valid IPv4 address in dotted decimal notation.

1.1.2.2 Checking Devices That Packets Pass Through from a Source Host to a Destination Host

Table 3-2259 Checking devices that packets pass through from a source host to a destination host

Operation

XPATH

edit-config:merge

/huawei-traceroute:tracert/ipv4-tracert/destination

Data Requirements
Table 3-2260 Checking devices that packets pass through from a source host to a destination host

Item

Data

Description

Test name

test

Ping IP address 192.86.60.17 in the test named test.

IP address or domain name

192.86.60.17

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> 
    <tracert xmlns="urn:huawei:params:xml:ns:yang:huawei-traceroute"> 
        <test-name>test</test-name> 
        <ipv4-tracert> 
            <destination>192.86.60.17</destination> 
        </ipv4-tracert> 
    </tracert> 
</rpc>
Response Example
<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="1"> 
 <ok/> 
</rpc-reply>
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 8369

Downloads: 69

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