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).
Dialer Interface

Dialer Interface

Data Model

The public configuration model file matching the interface is huawei-interface-mapping.yang.

Table 1 Public data model of the interface

Object

Description

/interfaces-mapping/interface-mapping:/name

Indicates the name of the xDSL interface to be queried.

/interfaces-mapping/interface-mapping:/logic-interfaces

Indicates the name of the dialer interface that an xDSL interface maps.

Querying the Dialer Interface That an xDSL Interface Maps

This section provides a sample of querying the dialer interface that an xDSL interface maps.

Table 3-42 Querying the dialer interface that an xDSL interface maps

Operation

XPATH

edit-config:get

/interfaces-mapping/interface-mapping:name

/interfaces-mapping/interface-mapping:logic-interfaces

Data Requirements
Table 3-43 Querying the dialer interface that an xDSL interface maps

Item

Data

Description

Name of the xDSL interface to be queried

xDSL0/0/0

Query the dialer interface that xDSL0/0/0 maps.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3023ac34-8808-4ad4-9862-05929615e3d0">
 <get>
  <filter type="subtree">
   <interfaces-mapping xmlns="urn:huawei:params:xml:ns:yang:huawei-interface-mapping">
    <interface-mapping>
     <name>xDSL0/0/0</name>
    </interface-mapping>
   </interfaces-mapping>
  </filter>
 </get>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="3023ac34-8808-4ad4-9862-05929615e3d0">
 <data>
  <interfaces-mapping xmlns="urn:huawei:params:xml:ns:yang:huawei-interface-mapping">
   <interface-mapping>
    <name>xDSL0/0/0</name>
    <logic-interfaces>Dialer14</logic-interfaces>
   </interface-mapping>
  </interfaces-mapping>
 </data>
</rpc-reply>
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 9536

Downloads: 69

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