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).
IP FPM

IP FPM

Data Model

The data model file matching IP FPM is huawei-ipfpm.yang.

Table 3-1538 IP FPM data model

Object

Description

huawei-ipfpm:dcp/id

Indicates the ID of a DCP in the IP FPM measurement system. The value is in dotted decimal notation.

huawei-ipfpm:dcp/mcp-policy/id

Indicates the ID of a DCP in an instance. The value is in dotted decimal notation.

huawei-ipfpm:dcp/mcp-policy/udp-port

Indicates the UDP port number for an MCP to communicate with DCPs. The value is an integer that ranges from 1024 to 65535.

huawei-ipfpm:dcp/mcp-policy/vpn-instance-name

Indicates a VPN instance for a DCP to communicate with an MCP. The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

huawei-ipfpm:dcp/authentication-mode/key-id

Indicates the key ID for the authentication password on a DCP.

The value is an integer that ranges from 1 to 64.

huawei-ipfpm:dcp/authentication-mode/password

Indicates the authentication password on a DCP.

The value is a string of case-sensitive characters without spaces.

  • The value length ranges from 1 to 255 for a password in plaintext.
  • The value length ranges from 32 to 392 for a password in ciphertext.

huawei-ipfpm:dcp/color-flag/loss-measure/tos-bit

Indicates the color bit for packet loss measurement on a DCP.

By default, the color bit for packet loss measurement is the sixth bit in the ToS field of the IP packet header.

huawei-ipfpm:dcp/color-flag/loss-measure/flags-bit0

Specifies bit 0 in the Flags field of the IP packet header as the color bit for packet loss measurement.

huawei-ipfpm:dcp/color-flag/delay-measure/tos-bit

Indicates the color bit for delay measurement on a DCP.

By default, the color bit for delay measurement is the seventh bit in the ToS field of the IP packet header.

huawei-ipfpm:dcp/color-flag/delay-measure/flags-bit0

Specifies bit 0 in the Flags field of the IP packet header as the color bit for delay measurement.

huawei-ipfpm:dcp/instance/id

Indicates the ID of an instance on a DCP.

The value is an integer that ranges from 1 to 8355838.

huawei-ipfpm:dcp/instance/flow-bidirectional/source

Indicates the source IP address of the symmetrical bidirectional target flow in an instance on a DCP. The value is in dotted decimal notation.

huawei-ipfpm:dcp/instance/flow-bidirectional/destination

Indicates the destination IP address of the symmetrical bidirectional target flow in an instance on a DCP. The value is in dotted decimal notation.

huawei-ipfpm:dcp/instance/flow-bidirectional/dscp

Indicates the DSCP value of the symmetrical bidirectional target flow in an instance on a DCP. The value is an integer that ranges from 0 to 63.

huawei-ipfpm:dcp/instance/flow-bidirectional/protocol

Indicates the protocol type of the symmetrical bidirectional target flow in an instance on a DCP.

huawei-ipfpm:dcp/instance/flow-bidirectional/source-port-range/lower-port

Indicates the source start port number of the symmetrical bidirectional target flow in an instance on a DCP.

huawei-ipfpm:dcp/instance/flow-bidirectional/source-port-range/upper-port

Indicates the source end port number of the symmetrical bidirectional target flow in an instance on a DCP.

huawei-ipfpm:dcp/instance/flow-bidirectional/destination-port-range/lower-port

Indicates the destination start port number of the symmetrical bidirectional target flow in an instance on a DCP.

huawei-ipfpm:dcp/instance/flow-bidirectional/destination-port-range/upper-port

Indicates the destination end port number of the symmetrical bidirectional target flow in an instance on a DCP.

huawei-ipfpm:dcp/instance/flow-bidirectional/flow-application/application/name

Indicates the application protocol name of the symmetrical bidirectional target flow in an instance on a DCP.

The value is a character string without spaces. The value range depends on the applications supported in the signature database.

huawei-ipfpm:dcp/instance/interval

Indicates the measurement interval for an instance on a DCP.

The value can be 10, 60, or 600, in seconds. By default, the measurement interval for an IP FPM instance is 10 seconds.

huawei-ipfpm:dcp/instance/tlp/id

Indicates the ID of a target logical port (TLP).

The value is an integer that ranges from 1 to 16777215.

huawei-ipfpm:dcp/instance/tlp/in

Indicates the ingress TLP for an instance on a DCP.

huawei-ipfpm:dcp/instance/tlp/out

Indicates the egress TLP for an instance on a DCP.

huawei-ipfpm:dcp/instance/tlp/ingress

Indicates the ingress direction of the target flow for an instance on a DCP.

huawei-ipfpm:dcp/instance/tlp/egress

Indicates the egress direction of the target flow for an instance on a DCP.

huawei-ipfpm:dcp/instance/loss-measure-continual

Enables continuous packet loss measurement on a DCP.

huawei-ipfpm:dcp/instance/delay-measure-twoway-continual/in-tlp-id

Indicates the ingress TLP for continuous two-way delay measurement on a DCP.

huawei-ipfpm:dcp/instance/delay-measure-twoway-continual/out-tlp-id

Indicates the egress TLP for continuous two-way delay measurement on a DCP.

huawei-ipfpm:mcp/id

Indicates an MCP ID for all IP FPM instances on a DCP.

The value is in dotted decimal notation.

huawei-ipfpm:mcp/udp-port

Indicates the UDP port number on an MCP.

The value is an integer that ranges from 1024 to 65535.

The default value is 65030 and is recommended.

huawei-ipfpm:mcp/authentication-mode/key-id

Indicates the key ID for the authentication password on an MCP.

The value is an integer that ranges from 1 to 64.

huawei-ipfpm:mcp/authentication-mode/password

Indicates the authentication password on an MCP.

The value is a string of case-sensitive characters without spaces.

  • The value length ranges from 1 to 255 for a password in plaintext.
  • The value length ranges from 32 to 392 for a password in ciphertext.

huawei-ipfpm:mcp/instance/id

Indicates the ID of an instance on an MCP.

The value is an integer that ranges from 1 to 8355838.

huawei-ipfpm:mcp/instance/dcp/id

Indicates a DCP ID included in an instance on an MCP.

huawei-ipfpm:dcp/tlp/interface-name

Indicates the TLP name on a DCP.

huawei-ipfpm:dcp/tlp/id

Indicates the TLP ID on a DCP.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/dcp-id

Configures a DCP ID in the IP FPM measurement system.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/instance-id

Configures an IP FPM instance ID on a DCP.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/id

Specifies the MCP ID for all IP FPM instances on the DCP. The value is in dotted decimal notation.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/udp-port

Specifies the UDP port for an MCP to communicate with a DCP in the IP FPM measurement system. The value is an integer in the range from 1024 to 65535.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/vpn-instance-name

Specifies a VPN instance for a DCP to communicate with an MCP. The value is a string of 1 to 31 case-sensitive characters without spaces. If the string is enclosed in double quotation marks (" "), the string can contain spaces.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-src-ip

Specifies the source IP address of the target flow.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-dst-ip

Specifies the destination IP address of the target flow.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/in

Specifies a TLP as an in-point.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/out

Specifies a TLP as an out-point.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/ingress

Indicates the upstream target flow.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/egress

Indicates the downstream target flow.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-application-name

Specifies the application protocol name of the target flow.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/interval

Specifies the measurement interval of the IP FPM instance.

huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/interfaces/interface-name

Specifies the name of an interface on a DCP.

huawei-ipfpm:dcp/link-fail-detect/interval

Specifies the interval of fast connectivity detections.

The value is an integer in the range from 10 to 2000, in milliseconds.

huawei-ipfpm:dcp/link-fail-detect/count

Specifies the number of fast connectivity detections.

The value is an integer in the range from 3 to 50.

Configuring the ID of a DCP

This section describes how to configure the ID of a DCP.

Table 3-1539 Configuring the ID of a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/id

Data Requirements
Table 3-1540 Configuring the ID of a DCP

Item

Data

Description

DCP ID

3.3.3.3

Set the DCP ID to 3.3.3.3.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <id>3.3.3.3</id> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_44b89c8aa8fd4a918f793b73409d0884"> 
 <ok/>  
</rpc-reply>

Modifying the ID of a DCP

This section describes how to modify the ID of a DCP.

Table 3-1541 Modifying the ID of a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/id

Data Requirements
Table 3-1542 Modifying the ID of a DCP

Item

Data

Description

DCP ID

1.1.1.2

Modify the DCP ID to 1.1.1.2.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <id>1.1.1.2</id> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Deleting a DCP ID

This section describes how to delete a DCP ID.

Table 3-1543 Deleting a DCP ID

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/id

Data Requirements
Table 3-1544 Deleting a DCP ID

Item

Data

Description

DCP ID

1.1.1.2

Delete the DCP ID 1.1.1.2.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <id>1.1.1.2</id> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the MCP to Which the Instance on a DCP Belongs

This section describes how to configure the MCP to which the instance on a DCP belongs.

Table 3-1545 Configuring the MCP to which the instance on a DCP belongs

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/mcp-policy

Data Requirements
Table 3-1546 Configuring the MCP to which the instance on a DCP belongs

Item

Data

Description

ID of the MCP to which the instance on a DCP belongs

2.2.2.2

Configure the ID, UDP port number, and VPN of the MCP to which the instance on a DCP belongs.

UDP port number of the MCP to which the instance on a DCP belongs

2057

VPN of the MCP to which the instance on a DCP belongs

vpnaa

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <mcp-policy> 
     <id>2.2.2.2</id> 
     <udp-port>2057</udp-port> 
     <vpn-instance-name>vpnaa</vpn-instance-name> 
    </mcp-policy> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply> 

Modifying the MCP to Which the Instance on a DCP Belongs

This section describes how to modify the MCP to which the instance on a DCP belongs.

Table 3-1547 Modifying the MCP to which the instance on a DCP belongs

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/mcp-policy

Data Requirements
Table 3-1548 Modifying the MCP to which the instance on a DCP belongs

Item

Data

Description

ID of the MCP to which the instance on a DCP belongs

4.4.4.4

Modify the ID, UDP port number, and VPN of the MCP to which the instance on a DCP belongs.

UDP port number of the MCP to which the instance on a DCP belongs

2056

VPN of the MCP to which the instance on a DCP belongs

vpnbb

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <mcp-policy> 
     <id>4.4.4.4</id> 
     <udp-port>2056</udp-port> 
     <vpn-instance-name>vpnbb</vpn-instance-name> 
    </mcp-policy> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Deleting the MCP to Which the Instance on a DCP Belongs

This section describes how to delete the MCP to which the instance on a DCP belongs.

Table 3-1549 Deleting the MCP to which the instance on a DCP belongs

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/mcp-policy

Data Requirements
Table 3-1550 Deleting the MCP to which the instance on a DCP belongs

Item

Data

Description

ID of the MCP to which the instance on a DCP belongs

4.4.4.4

Delete the ID, UDP port number, and VPN of the MCP to which the instance on a DCP belongs.

UDP port number of the MCP to which the instance on a DCP belongs

2056

VPN of the MCP to which the instance on a DCP belongs

vpnbb

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <mcp-policy> 
     <id>4.4.4.4</id> 
     <udp-port>2056</udp-port> 
     <vpn-instance-name>vpnbb</vpn-instance-name> 
    </mcp-policy> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring Authentication on a DCP

This section describes how to configure authentication on a DCP.

Table 3-1551 Configuring authentication on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/authentication-mode

Data Requirements
Table 3-1552 Configuring authentication on a DCP

Item

Data

Description

Authentication mode on a DCP

20

Configure authentication on a DCP.

Authentication password on a DCP

huawei

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <authentication-mode> 
     <key-id>20</key-id> 
     <password>huawei</password> 
    </authentication-mode> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying Authentication on a DCP

This section describes how to modify authentication on a DCP.

Table 3-1553 Modifying authentication on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/authentication-mode

Data Requirements
Table 3-1554 Modifying authentication on a DCP

Item

Data

Description

Authentication mode on a DCP

25

Modify authentication on a DCP.

Authentication password on a DCP

huawei123

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <authentication-mode> 
     <key-id>25</key-id> 
     <password>huawei123</password> 
    </authentication-mode> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply> 

Deleting the Authentication Configuration on a DCP

This section describes how to delete the authentication configuration on a DCP.

Table 3-1555 Deleting the authentication configuration on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/authentication-mode

Data Requirements
Table 3-1556 Deleting the authentication configuration on a DCP

Item

Data

Description

Authentication mode on a DCP

25

Delete the authentication configuration on a DCP.

Authentication password on a DCP

huawei123

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <authentication-mode> 
     <key-id>25</key-id> 
     <password>huawei123</password> 
    </authentication-mode> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Configuring Color Bits for IP FPM Measurement

This section describes how to configure color bits for IP FPM measurement.

Table 3-1557 Configuring color bits for IP FPM measurement

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/color-flag

Data Requirements
Table 3-1558 Configuring color bits for IP FPM measurement

Item

Data

Description

Color bit for packet loss measurement on a DCP

5

Configure color bits for IP FPM measurement.

Color bit 0 for packet loss measurement on a DCP

true

Whether bit in the Flags field is used as the color bit for delay measurement on a DCP

4

Whether bit 0 in the Flags field is used as the color bit for delay measurement on a DCP

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <color-flag> 
     <loss-measure> 
      <tos-bit>5</tos-bit>
      <flags-bit0>true</flags-bit0>
     </loss-measure> 
     <delay-measure> 
      <tos-bit>4</tos-bit>
      <flags-bit0>true</flags-bit0>
     </delay-measure> 
    </color-flag> 
   </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying Color Bits for IP FPM Measurement

This section describes how to modify color bits for IP FPM measurement.

Table 3-1559 Modifying color bits for IP FPM measurement

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/color-flag

Data Requirements
Table 3-1560 Modifying color bits for IP FPM measurement

Item

Data

Description

Color bit for packet loss measurement on a DCP

5

Modify the color bits for IP FPM measurement.

Color bit 0 for packet loss measurement on a DCP

true

Color bit for delay measurement on a DCP

4

Whether bit 0 in the Flags field is used as the color bit for delay measurement on a DCP

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <color-flag> 
     <loss-measure> 
      <tos-bit>5</tos-bit>
      <flags-bit0>true</flags-bit0> 
     </loss-measure> 
     <delay-measure> 
      <tos-bit>4</tos-bit> 
      <flags-bit0>true</flags-bit0>
     </delay-measure> 
    </color-flag> 
   </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting Color Bits for IP FPM Measurement

This section describes how to delete color bits for IP FPM measurement.

Table 3-1561 Deleting color bits for IP FPM measurement

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/color-flag

Data Requirements
Table 3-1562 Deleting color bits for IP FPM measurement

Item

Data

Description

Color bit for packet loss measurement on a DCP

5

Delete the color bits for IP FPM measurement.

Color bit 0 for packet loss measurement on a DCP

true

Color bit for delay measurement on a DCP

4

Whether bit 0 in the Flags field is used as the color bit for delay measurement on a DCP

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <color-flag> 
     <loss-measure> 
      <tos-bit>5</tos-bit> 
      <flags-bit0>true</flags-bit0>
     </loss-measure> 
     <delay-measure> 
      <tos-bit>4</tos-bit> 
      <flags-bit0>true</flags-bit0>
     </delay-measure> 
    </color-flag> 
   </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the ID of an Instance on a DCP

This section describes how to configure the ID of an instance on a DCP.

Table 3-1563 Configuring the ID of an instance on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance

Data Requirements
Table 3-1564 Configuring the ID of an instance on a DCP

Item

Data

Description

ID of an instance on a DCP

2

Configure instance 2 on a DCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>2</id> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Modifying an Instance ID on a DCP

This section describes how to modify an instance ID on a DCP.

Table 3-1565 Modifying an instance ID on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance

Data Requirements
Table 3-1566 Modifying an instance ID on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Modify the instance ID on a DCP to 3.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <instance> 
     <id>3</id> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting an Instance ID on a DCP

This section describes how to delete an instance ID on a DCP.

Table 3-1567 Deleting an instance ID on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance

Data Requirements
Table 3-1568 Deleting an instance ID on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Delete instance 3 on a DCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>3</id> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Configuring the Symmetrical Bidirectional Target Flow in an Instance on a DCP

This section describes how to configure the symmetrical bidirectional target flow in an instance on a DCP.

Table 3-1569 Configuring the symmetrical bidirectional target flow in an instance on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/flow-bidirectional

Data Requirements
Table 3-1570 Configuring the symmetrical bidirectional target flow in an instance on a DCP

Item

Data

Description

ID of an instance on a DCP

2

Configure the symmetrical bidirectional target flow in an instance on a DCP.

Source IP address of the symmetrical bidirectional target flow in the instance on a DCP

10.1.1.2/24

Destination IP address of the symmetrical bidirectional target flow in the instance on a DCP

20.1.1.2/24

DSCP value of the symmetrical bidirectional target flow in the instance on a DCP

20

Protocol number of the symmetrical bidirectional target flow in the instance on a DCP

6

Source start port number of the symmetrical bidirectional target flow in the instance on a DCP

20

Source end port number of the symmetrical bidirectional target flow in the instance on a DCP

30

Destination start port number of the symmetrical bidirectional target flow in the instance on a DCP

40

Destination end port number of the symmetrical bidirectional target flow in the instance on a DCP

50

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>2</id> 
     <flow-bidirectional> 
      <source>10.1.1.2/24</source> 
      <destination>20.1.1.2/24</destination> 
      <dscp>20</dscp> 
      <protocol>6</protocol> 
      <source-port-range> 
       <lower-port>20</lower-port> 
       <upper-port>30</upper-port> 
      </source-port-range> 
      <destination-port-range> 
       <lower-port>40</lower-port> 
       <upper-port>50</upper-port>
      </destination-port-range> 
     </flow-bidirectional> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the Symmetrical Bidirectional Target Flow in an Instance on a DCP

This section describes how to modify the symmetrical bidirectional target flow in an instance on a DCP.

Table 3-1571 Modifying the symmetrical bidirectional target flow in an instance on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance/flow-bidirectional

Data Requirements
Table 3-1572 Modifying the symmetrical bidirectional target flow in an instance on a DCP

Item

Data

Description

ID of an instance on a DCP

2

Modify the symmetrical bidirectional target flow in an instance on a DCP.

Source IP address of the symmetrical bidirectional target flow in the instance on a DCP

30.1.1.2/24

Destination IP address of the symmetrical bidirectional target flow in the instance on a DCP

20.1.1.2/24

DSCP value of the symmetrical bidirectional target flow in the instance on a DCP

20

Protocol number of the symmetrical bidirectional target flow in the instance on a DCP

6

Source start port number of the symmetrical bidirectional target flow in the instance on a DCP

20

Source end port number of the symmetrical bidirectional target flow in the instance on a DCP

30

Destination start port number of the symmetrical bidirectional target flow in the instance on a DCP

40

Destination end port number of the symmetrical bidirectional target flow in the instance on a DCP

50

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <instance> 
     <id>2</id> 
     <flow-bidirectional> 
      <source>30.1.1.2/24</source> 
      <destination>20.1.1.2/24</destination> 
      <dscp>20</dscp> 
      <protocol>6</protocol> 
      <source-port-range> 
       <lower-port>20</lower-port> 
       <upper-port>30</upper-port> 
      </source-port-range> 
      <destination-port-range> 
       <lower-port>40</lower-port> 
       <upper-port>50</upper-port>
      </destination-port-range> 
     </flow-bidirectional> 
    </instance> 
   </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply>

Deleting the Symmetrical Bidirectional Target Flow Configuration in an Instance on a DCP

This section describes how to delete the symmetrical bidirectional target flow configuration in an instance on a DCP.

Table 3-1573 Deleting the symmetrical bidirectional target flow configuration in an instance on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/flow-bidirectional

Data Requirements
Table 3-1574 Deleting the symmetrical bidirectional target flow configuration in an instance on a DCP

Item

Data

Description

ID of an instance on a DCP

2

Delete the symmetrical bidirectional target flow configuration in an instance on a DCP.

Source IP address of the symmetrical bidirectional target flow in the instance on a DCP

30.1.1.2/24

Destination IP address of the symmetrical bidirectional target flow in the instance on a DCP

20.1.1.2/24

DSCP value of the symmetrical bidirectional target flow in the instance on a DCP

20

Protocol number of the symmetrical bidirectional target flow in the instance on a DCP

6

Source start port number of the symmetrical bidirectional target flow in the instance on a DCP

20

Source end port number of the symmetrical bidirectional target flow in the instance on a DCP

30

Destination start port number of the symmetrical bidirectional target flow in the instance on a DCP

40

Destination end port number of the symmetrical bidirectional target flow in the instance on a DCP

50

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>2</id> 
     <flow-bidirectional> 
      <source>30.1.1.2/24</source> 
      <destination>20.1.1.2/24</destination> 
      <dscp>20</dscp> 
      <protocol>6</protocol> 
      <source-port-range> 
       <lower-port>20</lower-port> 
       <upper-port>30</upper-port> 
      </source-port-range> 
      <destination-port-range> 
       <lower-port>40</lower-port> 
      </destination-port-range> 
     </flow-bidirectional> 
    </instance> 
   </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply> 

Configuring an Application Name for the Symmetrical Bidirectional Target Flow in an Instance on a DCP

This section describes how to configure an application name for the symmetrical bidirectional target flow in an instance on a DCP.

Table 3-1575 Configuring an application name for the symmetrical bidirectional target flow in an instance on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/flow-application

Data Requirements
Table 3-1576 Configuring an application name for the symmetrical bidirectional target flow in an instance on a DCP

Item

Data

Description

Application name for the symmetrical bidirectional target flow in an instance on a DCP

http

Configure an application named huawei for the symmetrical bidirectional target flow in instance 2 on a DCP.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>2</id> 
     <flow-application> 
      <application> 
       <name>http</name> 
      </application> 
     </flow-application> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply> 

Modifying an Application Name for the Symmetrical Bidirectional Target Flow in an Instance on a DCP

This section describes how to modify an application name for the symmetrical bidirectional target flow in an instance on a DCP.

Table 3-1577 Modifying an application name for the symmetrical bidirectional target flow in an instance on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance/flow-application

Data Requirements
Table 3-1578 Modifying an application name for the symmetrical bidirectional target flow in an instance on a DCP

Item

Data

Description

Application name for the symmetrical bidirectional target flow in an instance on a DCP

ftp

Modify the application name for the symmetrical bidirectional target flow in instance 2 on a DCP to huawei11.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <instance> 
     <id>2</id> 
     <flow-application> 
      <application> 
       <name>ftp</name> 
      </application> 
     </flow-application> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting an Application Name for the Symmetrical Bidirectional Target Flow in an Instance on a DCP

This section describes how to delete an application name for the symmetrical bidirectional target flow in an instance on a DCP.

Table 3-1579 Deleting an application name for the symmetrical bidirectional target flow in an instance on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/flow-application

Data Requirements
Table 3-1580 Deleting an application name for the symmetrical bidirectional target flow in an instance on a DCP

Item

Data

Description

Application name for the symmetrical bidirectional target flow in an instance on a DCP

ftp

Delete the application huawei11 for the symmetrical bidirectional target flow in instance 2 on a DCP.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>2</id> 
     <flow-application> 
      <application> 
       <name>ftp</name> 
      </application> 
     </flow-application> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the measurement interval for an instance on a DCP

This section describes how to configure the measurement interval for an instance on a DCP.

Table 3-1581 Configuring the measurement interval for an instance on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/interval

Data Requirements
Table 3-1582 Configuring the measurement interval for an instance on a DCP

Item

Data

Description

Measurement interval for an instance on a DCP

60

Set the measurement interval for instance 2 on a DCP to 60 seconds.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>2</id> 
     <interval>60</interval> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the Measurement Interval for an Instance on a DCP

This section describes how to modify the measurement interval for an instance on a DCP.

Table 3-1583 Modifying the measurement interval for an instance on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance/interval

Data Requirements
Table 3-1584 Modifying the measurement interval for an instance on a DCP

Item

Data

Description

Measurement interval for an instance on a DCP

600

Modify the measurement interval for an instance on a DCP to 600 seconds.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <instance> 
     <id>2</id> 
     <interval>600</interval> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting the Measurement Interval for an Instance on a DCP

This section describes how to delete the measurement interval for an instance on a DCP.

Table 3-1585 Deleting the measurement interval for an instance on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/interval

Data Requirements
Table 3-1586 Deleting the measurement interval for an instance on a DCP

Item

Data

Description

Measurement interval for an instance on a DCP

600

Delete the measurement interval for instance 2 on a DCP.

ID of an instance on a DCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>2</id> 
     <interval>600</interval> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring a TLP and Its Role

This section describes how to configure a TLP and its role.

Table 3-1587 Configuring a TLP and its role

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/tlp

Data Requirements
Table 3-1588 Configuring a TLP and its role

Item

Data

Description

TLP ID in an instance on a DCP

30

Configure TLP 30 and its role.

Egress TLP for an instance on a DCP

true

Egress direction of the target flow for an instance on a DCP

true

ID of an instance on a DCP

3

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>3</id> 
     <tlp> 
      <id>30</id> 
      <out>true</out> 
      <egress>true</egress> 
     </tlp> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying a TLP and Its Role

This section describes how to modify a TLP and its role.

Table 3-1589 Modifying a TLP and its role

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance/tlp

Data Requirements
Table 3-1590 Modifying a TLP and its role

Item

Data

Description

TLP ID in an instance on a DCP

30

Modify TLP 30 and its role.

Ingress TLP for an instance on a DCP

true

Ingress direction of the target flow for an instance on a DCP

true

ID of an instance on a DCP

3

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
  <instance> 
     <id>3</id> 
     <tlp> 
      <id>30</id> 
      <in>true</in> 
      <ingress>true</ingress> 
     </tlp> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting a TLP and Its Role

This section describes how to delete a TLP and its role.

Table 3-1591 Deleting a TLP and its role

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/tlp

Data Requirements
Table 3-1592 Deleting a TLP and its role

Item

Data

Description

TLP ID in an instance on a DCP

30

Delete TLP 30 and its role.

Ingress TLP for an instance on a DCP

true

Ingress direction of the target flow for an instance on a DCP

true

ID of an instance on a DCP

3

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>3</id> 
     <tlp> 
      <id>30</id> 
      <in>true</in> 
      <ingress>true</ingress> 
     </tlp> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Enabling Continuous Packet Loss Measurement on a DCP

This section describes how to enable continuous packet loss measurement on a DCP.

Table 3-1593 Enabling continuous packet loss measurement on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/loss-measure-continual

Data Requirements
Table 3-1594 Enabling continuous packet loss measurement on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Enable continuous packet loss measurement on a DCP.

Whether to enable continuous packet loss measurement on a DCP

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>3</id> 
     <loss-measure-continual>true</loss-measure-continual> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Disabling Continuous Packet Loss Measurement on a DCP

This section describes how to disable continuous packet loss measurement on a DCP.

Table 3-1595 Disabling continuous packet loss measurement on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/loss-measure-continual

Data Requirements
Table 3-1596 Disabling continuous packet loss measurement on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Disable continuous packet loss measurement on a DCP.

Whether to enable continuous packet loss measurement on a DCP

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <instance> 
     <id>3</id> 
     <loss-measure-continual>true</loss-measure-continual> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring Continuous Two-Way Delay Measurement on a DCP

This section describes how to configure continuous two-way delay measurement on a DCP.

Table 3-1597 Configuring continuous two-way delay measurement on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/instance/delay-measure-twoway-continual

Data Requirements
Table 3-1598 Configuring continuous two-way delay measurement on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Configure continuous two-way delay measurement on a DCP.

Ingress TLP for continuous two-way delay measurement on a DCP

30

Egress TLP for continuous two-way delay measurement on a DCP

35

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <instance> 
     <id>3</id> 
     <delay-measure-twoway-continual> 
      <in-tlp-id>30</in-tlp-id> 
      <out-tlp-id>35</out-tlp-id> 
     </delay-measure-twoway-continual> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying Continuous Two-Way Delay Measurement on a DCP

This section describes how to modify continuous two-way delay measurement on a DCP.

Table 3-1599 Modifying continuous two-way delay measurement on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/instance/delay-measure-twoway-continual

Data Requirements
Table 3-1600 Modifying continuous two-way delay measurement on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Modify continuous two-way delay measurement on a DCP.

Ingress TLP for continuous two-way delay measurement on a DCP

35

Egress TLP for continuous two-way delay measurement on a DCP

40

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <instance> 
     <id>3</id> 
     <delay-measure-twoway-continual> 
      <in-tlp-id>35</in-tlp-id> 
      <out-tlp-id>40</out-tlp-id> 
     </delay-measure-twoway-continual> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting the Continuous Two-Way Delay Measurement Configuration on a DCP

This section describes how to delete the continuous two-way delay measurement configuration on a DCP.

Table 3-1601 Deleting the continuous two-way delay measurement configuration on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/instance/delay-measure-twoway-continual

Data Requirements
Table 3-1602 Deleting the continuous two-way delay measurement configuration on a DCP

Item

Data

Description

ID of an instance on a DCP

3

Delete the continuous two-way delay measurement configuration on a DCP.

Ingress TLP for continuous two-way delay measurement on a DCP

35

Egress TLP for continuous two-way delay measurement on a DCP

40

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
  <instance> 
     <id>3</id> 
     <delay-measure-twoway-continual> 
      <in-tlp-id>35</in-tlp-id> 
      <out-tlp-id>40</out-tlp-id> 
     </delay-measure-twoway-continual> 
    </instance> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring a TLP on a DCP

This section describes how to configure a TLP on a DCP.

Table 3-1603 Configuring a TLP on a DCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/tlp

Data Requirements
Table 3-1604 Configuring a TLP on a DCP

Item

Data

Description

TLP name on a DCP

GigabitEthernet0/0/1

Configure a TLP on a DCP.

TLP ID on a DCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> 
    <interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <name>GigabitEthernet0/0/1</name> 
     <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type> 
    </interface> 
 </interfaces> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <tlp> 
     <id>5</id> 
     <interface-name>GigabitEthernet0/0/1</interface-name> 
    </tlp> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying a TLP on a DCP

This section describes how to modify a TLP on a DCP.

Table 3-1605 Modifying a TLP on a DCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:dcp/tlp

Data Requirements
Table 3-1606 Modifying a TLP on a DCP

Item

Data

Description

TLP name on a DCP

GigabitEthernet0/0/2

Modify a TLP on a DCP.

TLP ID on a DCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> 
    <interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <name>GigabitEthernet0/0/2</name> 
     <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type> 
    </interface> 
 </interfaces> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <tlp> 
     <id>6</id> 
     <interface-name>GigabitEthernet0/0/2</interface-name> 
    </tlp> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting a TLP on a DCP

This section describes how to delete a TLP on a DCP.

Table 3-1607 Deleting a TLP on a DCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/tlp

Data Requirements
Table 3-1608 Deleting a TLP on a DCP

Item

Data

Description

TLP name on a DCP

GigabitEthernet0/0/2

Delete a TLP on a DCP.

TLP ID on a DCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"> 
    <interface xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <name>GigabitEthernet0/0/2</name> 
     <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type> 
    </interface> 
 </interfaces> 
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <tlp> 
     <id>6</id> 
     <interface-name>GigabitEthernet0/0/2</interface-name> 
    </tlp> 
 </dcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the ID of an MCP

This section describes how to configure the ID of an MCP.

Table 3-1609 Configuring the ID of an MCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:mcp/id

Data Requirements
Table 3-1610 Configuring the ID of an MCP

Item

Data

Description

MCP ID

2.2.2.2

Set the MCP ID to 2.2.2.2.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <id >2.2.2.2</id> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the ID of an MCP

This section describes how to modify the ID of an MCP.

Table 3-1611 Modifying the ID of an MCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:mcp/id

Data Requirements
Table 3-1612 Modifying the ID of an MCP

Item

Data

Description

MCP ID

3.3.3.3

Modify the MCP ID to 3.3.3.3.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <id >3.3.3.3</id> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting an MCP ID

This section describes how to delete an MCP ID.

Table 3-1613 Deleting an MCP ID

Operation

XPATH

edit-config:remove

huawei-ipfpm:mcp/id

Data Requirements
Table 3-1614 Deleting an MCP ID

Item

Data

Description

MCP ID

3.3.3.3

Delete the MCP ID 3.3.3.3.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <id >3.3.3.3</id> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the UDP Port Number on an MCP

This section describes how to configure the UDP port number on an MCP.

Table 3-1615 Configuring the UDP port number on an MCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:mcp/udp-port

Data Requirements
Table 3-1616 Configuring the UDP port number on an MCP

Item

Data

Description

UDP port number on an MCP

1026

Set the UDP port number on an MCP to 1026.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
    <udp-port>1026</udp-port> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the UDP Port Number on an MCP

This section describes how to modify the UDP port number on an MCP.

Table 3-1617 Modifying the UDP port number on an MCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:mcp/udp-port

Data Requirements
Table 3-1618 Modifying the UDP port number on an MCP

Item

Data

Description

UDP port number on an MCP

1027

Modify the UDP port number on an MCP to 1027.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
    <udp-port>1027</udp-port> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting the UDP Port Number on an MCP

This section describes how to delete the UDP port number on an MCP.

Table 3-1619 Deleting the UDP port number on an MCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:mcp/udp-port

Data Requirements
Table 3-1620 Deleting the UDP port number on an MCP

Item

Data

Description

UDP port number on an MCP

1027

Delete the UDP port number on an MCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm" xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
    <udp-port>1027</udp-port> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply> 

Configuring Authentication on an MCP

This section describes how to configure authentication on an MCP.

Table 3-1621 Configuring authentication on an MCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:mcp/authentication-mode

Data Requirements
Table 3-1622 Configuring authentication on an MCP

Item

Data

Description

Authentication mode on an MCP

6

Configure authentication on an MCP.

Authentication password on an MCP

1

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <authentication-mode xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <key-id >6</key-id> 
     <password>1</password> 
    </authentication-mode> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying Authentication on an MCP

This section describes how to modify authentication on an MCP.

Table 3-1623 Modifying authentication on an MCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:mcp/authentication-mode

Data Requirements
Table 3-1624 Modifying authentication on an MCP

Item

Data

Description

Authentication mode on an MCP

7

Modify authentication on an MCP.

Authentication password on an MCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <authentication-mode xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
     <key-id >7</key-id> 
     <password>2</password> 
    </authentication-mode> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting the Authentication Configuration from an MCP

This section describes how to delete the authentication configuration on an MCP.

Table 3-1625 Deleting the authentication configuration from an MCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:mcp/authentication-mode

Data Requirements
Table 3-1626 Deleting the authentication configuration from an MCP

Item

Data

Description

Authentication mode on an MCP

7

Delete the authentication configuration from an MCP.

Authentication password on an MCP

2

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <authentication-mode xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
     <key-id >7</key-id> 
     <password>2</password> 
    </authentication-mode> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the ID of an Instance on an MCP

This section describes how to configure the ID of an instance on an MCP.

Table 3-1627 Configuring the ID of an instance on an MCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:mcp/instance

Data Requirements
Table 3-1628 Configuring the ID of an instance on an MCP

Item

Data

Description

ID of an instance on an MCP

4

Configure instance 4 on an MCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <id>4</id> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the ID of an Instance on an MCP

This section describes how to modify the ID of an instance on an MCP.

Table 3-1629 Modifying the ID of an Instance on an MCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:mcp/instance

Data Requirements
Table 3-1630 Modifying the ID of an Instance on an MCP

Item

Data

Description

ID of an instance on an MCP

5

Modify the instance ID on an MCP to 5.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
   <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
     <id>5</id> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/>  
</rpc-reply> 

Deleting an Instance ID on an MCP

This section describes how to delete an instance ID on an MCP.

Table 3-1631 Deleting an instance ID on an MCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:mcp/instance

Data Requirements
Table 3-1632 Deleting an instance ID on an MCP

Item

Data

Description

ID of an instance on an MCP

5

Delete instance 5 on the MCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
     <id>5</id> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring the DCP ID Included in an Instance on an MCP

This section describes how to configure the DCP ID included in an instance on an MCP.

Table 3-1633 Configuring the DCP ID included in an instance on an MCP

Operation

XPATH

edit-config:merge

huawei-ipfpm:mcp/instance/dcp/id

Data Requirements
Table 3-1634 Configuring the DCP ID included in an instance on an MCP

Item

Data

Description

DCP ID included in an instance on an MCP

2.2.2.2

Set the DCP ID included in instance 5 on the MCP to 2.2.2.2.

ID of an instance on an MCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
  <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="merge"> 
     <id>5</id> 
     <dcp> 
      <id>2.2.2.2</id> 
     </dcp> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Modifying the DCP ID Included in an Instance on an MCP

This section describes how to modify the DCP ID included in an instance on an MCP.

Table 3-1635 Modifying the DCP ID included in an instance on an MCP

Operation

XPATH

edit-config:replace

huawei-ipfpm:mcp/instance/dcp/id

Data Requirements
Table 3-1636 Modifying the DCP ID included in an instance on an MCP

Item

Data

Description

DCP ID included in an instance on an MCP

3.3.3.3

Modify the DCP ID included in instance 5 on the MCP to 3.3.3.3.

ID of an instance on an MCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="replace"> 
     <id>5</id> 
     <dcp> 
      <id>3.3.3.3</id> 
     </dcp> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Deleting the DCP ID Included in an Instance on an MCP

This section describes how to delete the DCP ID included in an instance on an MCP.

Table 3-1637 Deleting the DCP ID included in an instance on an MCP

Operation

XPATH

edit-config:remove

huawei-ipfpm:mcp/instance/dcp/id

Data Requirements
Table 3-1638 Deleting the DCP ID included in an instance on an MCP

Item

Data

Description

DCP ID included in an instance on an MCP

3.3.3.3

Delete the DCP ID 3.3.3.3 included in instance 5 from the MCP.

ID of an instance on an MCP

5

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <edit-config> 
  <target> 
 <running/> 
  </target> 
  <error-option>rollback-on-error</error-option> 
  <config> 
 <mcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm"> 
    <instance xmlns:ns0="urn:ietf:params:xml:ns:netconf:base:1.0" ns0:operation="remove"> 
     <id>5</id> 
     <dcp> 
      <id>3.3.3.3</id> 
     </dcp> 
    </instance> 
 </mcp> 
  </config> 
 </edit-config> 
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="6952ac28-14f1-4236-a2de-d46253d6b255"> 
 <ok/> 
</rpc-reply>

Configuring a DCP ID in the IP FPM Measurement System

This section provides a sample of configuring a DCP ID in the IP FPM measurement system.

Table 3-1639 Configuring a DCP ID in the IP FPM measurement system

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/dcp-id

Data Requirements
Table 3-1640 Configuring a DCP ID in the IP FPM measurement system

Item

Data

Description

DCP ID

10.10.10.11

Set the DCP ID in the IP FPM measurement system to 10.10.10.11.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
   <quick-ipfpm-config-dcp xc:operation="merge">
     <dcp-id>10.10.10.11</dcp-id>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying a DCP ID in the IP FPM Measurement System

This section provides a sample of modifying a DCP ID in the IP FPM measurement system.

Table 3-1641 Modifying a DCP ID in the IP FPM measurement system

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/dcp-id

Data Requirements
Table 3-1642 Modifying a DCP ID in the IP FPM measurement system

Item

Data

Description

DCP ID

10.10.10.12

Modify the DCP ID in the IP FPM measurement system to 10.10.10.12.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="replace">
     <dcp-id>10.10.10.12</dcp-id>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting a DCP ID in the IP FPM Measurement System

This section provides a sample of deleting a DCP ID in the IP FPM measurement system.

Table 3-1643 Deleting a DCP ID in the IP FPM measurement system

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/dcp-id

Data Requirements
Table 3-1644 Deleting a DCP ID in the IP FPM measurement system

Item

Data

Description

DCP ID

10.10.10.12

Delete the DCP ID of 10.10.10.12 in the IP FPM measurement system.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="remove">
     <dcp-id>10.10.10.12</dcp-id>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Creating an IP FPM Instance on a DCP

This section provides a sample of creating an IP FPM instance on a DCP.

Table 3-1645 Creating an IP FPM instance on a DCP

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/instance-id

Data Requirements
Table 3-1646 Creating an IP FPM instance on a DCP

Item

Data

Description

IP FPM instance on a DCP

1

Create IP FPM instance 1 on a DCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
      <instance>
       <instance-id>1</instance-id>
      </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting an IP FPM Instance on a DCP

This section provides a sample of deleting an IP FPM instance on a DCP.

Table 3-1647 Deleting an IP FPM instance on a DCP

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/instance-id

Data Requirements
Table 3-1648 Deleting an IP FPM instance on a DCP

Item

Data

Description

IP FPM instance on a DCP

1

Delete IP FPM instance 1 on a DCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="remove">
     <vpn>
      <vpn-id>1</vpn-id>
      <instance>
       <instance-id>1</instance-id>
      </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring an MCP in the IP FPM Instance

This section provides a sample of configuring an MCP in the IP FPM instance.

Table 3-1649 Configuring an MCP in the IP FPM instance

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/id

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/udp-port

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/vpn-instance-name

Data Requirements
Table 3-1650 Configuring an MCP in the IP FPM instance

Item

Data

Description

Instance ID

10.10.10.2

Configure MCP information in the IP FPM instance.

UDP port number

2049

Name of a VPN instance

ntptest

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
      <instance>
      <instance-id>1</instance-id>
      <mcp-policy xc:operation="merge">
        <id>10.10.10.2</id>
        <udp-port>2049</udp-port>
        <vpn-instance-name>ntptest</vpn-instance-name>
      </mcp-policy>
      </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying an MCP in the IP FPM Instance

This section provides a sample of modifying an MCP in the IP FPM instance.

Table 3-1651 Modifying an MCP in the IP FPM instance

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/id

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/udp-port

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/vpn-instance-name

Data Requirements
Table 3-1652 Modifying an MCP in the IP FPM instance

Item

Data

Description

Instance ID

10.10.10.2

Modify MCP information in the IP FPM instance.

UDP port number

2050

Name of a VPN instance

ntptest

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="replace">
     <vpn>
      <vpn-id>1</vpn-id>
      <instance>
      <instance-id>1</instance-id>
      <mcp-policy xc:operation="merge">
        <id>10.10.10.2</id>
        <udp-port>2050</udp-port>
        <vpn-instance-name>ntptest</vpn-instance-name>
      </mcp-policy>
      </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting an MCP in the IP FPM Instance

This section provides a sample of deleting an MCP in the IP FPM instance.

Table 3-1653 Deleting an MCP in the IP FPM instance

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/id

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/udp-port

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/mcp-policy/vpn-instance-name

Data Requirements
Table 3-1654 Deleting an MCP in the IP FPM instance

Item

Data

Description

Instance ID

10.10.10.2

Delete MCP information in the IP FPM instance.

UDP port number

2050

Name of a VPN instance

ntptest

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="remove">
     <vpn>
      <vpn-id>1</vpn-id>
      <instance>
      <instance-id>1</instance-id>
      <mcp-policy xc:operation="merge">
        <id>10.10.10.2</id>
        <udp-port>2050</udp-port>
        <vpn-instance-name>ntptest</vpn-instance-name>
      </mcp-policy>
      </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring the Target Flow Feature in the IP FPM Instance

This section provides a sample of configuring the target flow feature in the IP FPM instance.

Table 3-1655 Configuring the target flow feature in the IP FPM instance

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-src-ip

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-dst-ip

Data Requirements
Table 3-1656 Configuring the target flow feature in the IP FPM instance

Item

Data

Description

source IP address of the target flow

10.2.9.3/24

Configure the target flow feature in the IP FPM instance.

destination IP address of the target flow

10.2.9.2/24

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <flow-bidirectional xc:operation="merge">
       <flow-src-ip>10.2.9.3/24</flow-src-ip>
       <flow-dst-ip>10.2.9.2/24</flow-dst-ip>
      </flow-bidirectional>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying the Target Flow Feature in the IP FPM Instance

This section provides a sample of modifying the target flow feature in the IP FPM instance.

Table 3-1657 Modifying the target flow feature in the IP FPM instance

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-src-ip

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-dst-ip

Data Requirements
Table 3-1658 Modifying the target flow feature in the IP FPM instance

Item

Data

Description

source IP address of the target flow

10.2.9.3/24

Modify the target flow feature in the IP FPM instance.

destination IP address of the target flow

10.2.9.2/24

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <flow-bidirectional xc:operation="replace">
       <flow-src-ip>10.2.9.3/24</flow-src-ip>
       <flow-dst-ip>10.2.9.2/24</flow-dst-ip>
      </flow-bidirectional>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting the Target Flow Feature in the IP FPM Instance

This section provides a sample of deleting the target flow feature in the IP FPM instance.

Table 3-1659 Deleting the target flow feature in the IP FPM instance

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-src-ip

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-bidirectional/flow-dst-ip

Data Requirements
Table 3-1660 Deleting the target flow feature in the IP FPM instance

Item

Data

Description

source IP address of the target flow

10.2.9.3/24

Delete the target flow feature in the IP FPM instance.

destination IP address of the target flow

10.2.9.2/24

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <flow-bidirectional xc:operation="remove">
       <flow-src-ip>10.2.9.3/24</flow-src-ip>
       <flow-dst-ip>10.2.9.2/24</flow-dst-ip>
      </flow-bidirectional>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring TLPs of the IP FPM Instance and Their Roles

This section provides a sample of configuring TLPs of the IP FPM instance and their roles.

Table 3-1661 Configuring TLPs of the IP FPM instance and their roles

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/in

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/out

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/ingress

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/egress

Data Requirements
Table 3-1662 Configuring TLPs of the IP FPM instance and their roles

Item

Data

Description

Whether the TLP functions as an in-point

true

Configure TLPs of the IP FPM instance and their roles.

Whether the target flow is in the upstream direction

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <tlp xc:operation="merge">
       <in>true</in>
       <ingress>true</ingress>
      </tlp>
     </instance>
     <interfaces xc:operation="merge">
      <interface-name>GigabitEthernet0/0/2</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying TLPs of the IP FPM Instance and Their Roles

This section provides a sample of modifying TLPs of the IP FPM instance and their roles.

Table 3-1663 Modifying TLPs of the IP FPM instance and their roles

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/in

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/out

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/ingress

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/egress

Data Requirements
Table 3-1664 Modifying TLPs of the IP FPM instance and their roles

Item

Data

Description

Whether the TLP functions as an in-point

true

Modify TLPs of the IP FPM instance and their roles.

Whether the target flow is in the upstream direction

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
  <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <tlp xc:operation="replace">
       <out>true</out>
       <egress>true</egress>
      </tlp>
   </instance>
     <interfaces xc:operation="merge">
      <interface-name>GigabitEthernet0/0/2</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting TLPs of the IP FPM Instance and Their Roles

This section provides a sample of deleting TLPs of the IP FPM instance and their roles.

Table 3-1665 Deleting TLPs of the IP FPM instance and their roles

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/in

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/out

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/ingress

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/tlp/egress

Data Requirements
Table 3-1666 Deleting TLPs of the IP FPM instance and their roles

Item

Data

Description

Whether the TLP functions as an in-point

true

Delete TLPs of the IP FPM instance and their roles.

Whether the target flow is in the upstream direction

true

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <tlp xc:operation="remove">
       <out>true</out>
       <egress>true</egress>
      </tlp>
     </instance>
     <interfaces xc:operation="merge">
      <interface-name>GigabitEthernet0/0/2</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring the Application Protocol for a Specified Target Flow

This section provides a sample of configuring the application protocol for a specified target flow.

Table 3-1667 Configuring the application protocol for a specified target flow

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-application-name

Data Requirements
Table 3-1668 Configuring the application protocol for a specified target flow

Item

Data

Description

Application protocol

FTP

Set the application protocol for a specified target flow to FTP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <flow-application-name xc:operation="merge">FTP</flow-application-name>
     </instance>
     <interfaces xc:operation="remove">
      <interface-name>GigabitEthernet0/0/4</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying the Application Protocol for a Specified Target Flow

This section provides a sample of modifying the application protocol for a specified target flow.

Table 3-1669 Modifying the application protocol for a specified target flow

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-application-name

Data Requirements
Table 3-1670 Modifying the application protocol for a specified target flow

Item

Data

Description

Application protocol

DHCP

Modify the application protocol for a specified target flow to DHCP.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <flow-application-name xc:operation="replace">DHCP</flow-application-name>
     </instance>
     <interfaces xc:operation="remove">
      <interface-name>GigabitEthernet0/0/4</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting the Application Protocol for a Specified Target Flow

This section provides a sample of deleting the application protocol for a specified target flow.

Table 3-1671 Deleting the application protocol for a specified target flow

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/flow-application-name

Data Requirements
Table 3-1672 Deleting the application protocol for a specified target flow

Item

Data

Description

Application protocol

DHCP

Delete the application protocol of DHCP for a specified target flow.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <flow-application-name xc:operation="remove">DHCP</flow-application-name>
     </instance>
     <interfaces xc:operation="remove">
      <interface-name>GigabitEthernet0/0/4</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring the Measurement Interval of the IP FPM Instance

This section provides a sample of configuring the measurement interval of the IP FPM instance.

Table 3-1673 Configuring the measurement interval of the IP FPM instance

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/interval

Data Requirements
Table 3-1674 Configuring the measurement interval of the IP FPM instance

Item

Data

Description

Measurement interval

ten-seconds

Set the measurement interval of the IP FPM instance to 10 seconds.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <interval xc:operation="merge">ten-seconds</interval>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Modifying the Measurement Interval of the IP FPM Instance

This section provides a sample of modifying the measurement interval of the IP FPM instance.

Table 3-1675 Modifying the measurement interval of the IP FPM instance

Operation

XPATH

edit-config:replace

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/interval

Data Requirements
Table 3-1676 Modifying the measurement interval of the IP FPM instance

Item

Data

Description

Measurement interval

one-minute

Modify the measurement interval of the IP FPM instance to one minute.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <interval xc:operation="replace">one-minute</interval>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Deleting the Measurement Interval of the IP FPM Instance

This section provides a sample of deleting the measurement interval of the IP FPM instance.

Table 3-1677 Deleting the measurement interval of the IP FPM instance

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/interval

Data Requirements
Table 3-1678 Deleting the measurement interval of the IP FPM instance

Item

Data

Description

Measurement interval

one-minute

Delete the measurement interval of the IP FPM instance.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance>
      <instance-id>1</instance-id>
      <interval xc:operation="remove">one-minute</interval>
     </instance>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Binding a TLP in the IP FPM Measurement System to an Interface

This section provides a sample of binding a TLP in the IP FPM measurement system to an interface.

Table 3-1679 Binding a TLP in the IP FPM measurement system to an interface

Operation

XPATH

edit-config:merge

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/interfaces/interface-name

Data Requirements
Table 3-1680 Binding a TLP in the IP FPM measurement system to an interface

Item

Data

Description

Interface name

GigabitEthernet0/0/4

GigabitEthernet0/0/3

Bind a TLP in the IP FPM measurement system to an interface.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <tlp xc:operation="remove">
       <in>true</in>
       <ingress>true</ingress>
      </tlp>
     </instance>
     <interfaces xc:operation="merge">
      <interface-name>GigabitEthernet0/0/4</interface-name>
      <interface-name>GigabitEthernet0/0/3</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Unbinding a TLP in the IP FPM Measurement System from an Interface

This section provides a sample of unbinding a TLP in the IP FPM measurement system from an interface.

Table 3-1681 Unbinding a TLP in the IP FPM measurement system from an interface

Operation

XPATH

edit-config:remove

/huawei-ipfpm:dcp/quick-ipfpm-config-dcp/vpn/instance/interval

Data Requirements
Table 3-1682 Unbinding a TLP in the IP FPM measurement system from an interface

Item

Data

Description

Interface name

GigabitEthernet0/0/4

GigabitEthernet0/0/3

Unbind a TLP in the IP FPM measurement system from an interface.

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="NETCONFIG_a582906fe0134ffaa4899208dd9175b7">
 <edit-config>
  <target>
 <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
 <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">
    <quick-ipfpm-config-dcp xc:operation="merge">
     <vpn>
      <vpn-id>1</vpn-id>
     <instance xc:operation="merge">
      <instance-id>1</instance-id>
      <tlp xc:operation="remove">
       <in>true</in>
       <ingress>true</ingress>
      </tlp>
     </instance>
     <interfaces xc:operation="remove">
      <interface-name>GigabitEthernet0/0/4</interface-name>
      <interface-name>GigabitEthernet0/0/3</interface-name>
     </interfaces>
     </vpn>
    </quick-ipfpm-config-dcp>
 </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id=" NETCONFIG_a582906fe0134ffaa4899208dd9175b7"> 
 <ok/> 
</rpc-reply>

Configuring BFD Fast Connectivity Detection Supported by IP FPM

This section provides a sample of configuring BFD fast connectivity detection supported by IP FPM.

Table 3-1683 Configuring BFD fast connectivity detection supported by IP FPM

Operation

XPATH

edit-config:merge

huawei-ipfpm:dcp/link-fail-detect/interval

huawei-ipfpm:dcp/link-fail-detect/count

Data Requirements
Table 3-1684 Configuring BFD fast connectivity detection supported by IP FPM

Item

Data

Description

Detection interval

445

Configures BFD fast connectivity detection supported by IP FPM.

Number of detections

35

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_c6c6ad5cd01e4cb7a98bd65b7fd1498d">
 <edit-config>
  <target>
   <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">    
    <link-fail-detect>
     <interval>445</interval>
     <count>35</count>
    </link-fail-detect>   
   </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_c6c6ad5cd01e4cb7a98bd65b7fd1498d"> 
 <ok/> 
</rpc-reply>

Deleting BFD Fast Connectivity Detection Supported by IP FPM

This section provides a sample of deleting BFD fast connectivity detection supported by IP FPM.

Table 3-1685 Deleting BFD fast connectivity detection supported by IP FPM

Operation

XPATH

edit-config:remove

huawei-ipfpm:dcp/link-fail-detect/interval

huawei-ipfpm:dcp/link-fail-detect/count

Data Requirements
Table 3-1686 Deleting BFD fast connectivity detection supported by IP FPM

Item

Data

Description

Detection interval

445

Deletes BFD fast connectivity detection supported by IP FPM.

Number of detections

35

Request Example
<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_c6c6ad5cd01e4cb7a98bd65b7fd1498d">
 <edit-config>
  <target>
   <running/>
  </target>
  <error-option>rollback-on-error</error-option>
  <config xmlns:xc="urn:ietf:params:xml:ns:netconf:base:1.0">
   <dcp xmlns="urn:huawei:params:xml:ns:yang:huawei-ipfpm">    
    <link-fail-detect xc:operation="remove">
     <interval>445</interval>
     <count>35</count>
    </link-fail-detect>   
   </dcp>
  </config>
 </edit-config>
</rpc>
Response Example

Sample of successful response

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="DEVICECONFIG_c6c6ad5cd01e4cb7a98bd65b7fd1498d"> 
 <ok/> 
</rpc-reply>
Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 8245

Downloads: 69

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