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

RESTful API Reference

CloudEngine 12800 and 12800E V200R005C10

This document describes the OPS APIs supported by the device, including OPS-supported operations, request examples, elements in the requests, response examples, elements in the responses, and response status codes.
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).
Configurations for a VRRP6 Backup Group to Track an Interface

Configurations for a VRRP6 Backup Group to Track an Interface

Query Configurations for a VRRP6 Backup Group to Track an Interface

Operation

URI

Description

GET

/vrrp/vrrp6Groups/vrrp6Group

Query configurations for a VRRP6 backup group to track an interface.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
           <vrrpId>1</vrrpId>
           <ifName>10GE1/0/1</ifName>
           <vrrp6TrackIntfs>
                  <vrrp6TrackIntf>
                        <trackIfName></trackIfName>
                        <trackMode></trackMode>
                        <priorityChange></priorityChange>
                  </vrrp6TrackIntf>
           </vrrp6TrackIntfs>
    </vrrp6Group>

    Table 27-96 describes elements in requests.

    Table 27-96 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP6 backup group.

    ifName

    Specifies the name of the interface on which a VRRP6 backup group resides.

    trackIfName

    Specifies the name of a tracked interface.

    trackMode

    Specifies the tracking mode.

    priorityChange

    Specifies the number by which the priority is increased or decreased.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
           <vrrpId>1</vrrpId>
           <ifName>10GE1/0/1</ifName>
           <vrrp6TrackIntfs>
                  <vrrp6TrackIntf>
                        <trackIfName>10GE1/0/2</trackIfName>
                        <trackMode>reduce</trackMode>
                        <priorityChange>10</priorityChange>
                  </vrrp6TrackIntf>
           </vrrp6TrackIntfs>
    </vrrp6Group>

    Table 27-97 describes elements in responses.

    Table 27-97 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP6 backup group.

    ifName

    Specifies the name of the interface on which a VRRP6 backup group resides.

    trackIfName

    Specifies the name of a tracked interface.

    trackMode

    Specifies the tracking mode.

    priorityChange

    Specifies the number by which the priority is increased or decreased.

Configure a VRRP6 Backup Group to Track an Interface

Operation

URI

Description

POST

/vrrp/vrrp6Groups/vrrp6Group

Configure a VRRP6 backup group to track an interface.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group operation="merge">
           <vrrpId>1</vrrpId>
           <ifName>10GE1/0/1</ifName>
           <vrrp6TrackIntfs>
                  <vrrp6TrackIntf operation="create">
                        <trackIfName>10GE1/0/2</trackIfName>
                        <trackMode>reduce</trackMode>
                        <priorityChange>10</priorityChange>
                  </vrrp6TrackIntf>
           </vrrp6TrackIntfs>
    </vrrp6Group>

    Table 27-98 describes elements in requests.

    Table 27-98 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP6 backup group.

    ifName

    Specifies the name of the interface on which a VRRP6 backup group resides.

    trackIfName

    Specifies the name of a tracked interface.

    trackMode

    Specifies the tracking mode.

    priorityChange

    Specifies the number by which the priority is increased or decreased.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?>
    <ok/>

    Table 27-99 describes status codes in responses.

    Table 27-99 Status codes

    Status Code

    Description

    200 OK

    The operation succeeded.

    400 Bad Request

    The request operation failed because the request is incorrect in syntax or the information attribute in the request is incorrect.

    500 Internal Server Error

    The request operation failed because of internal errors in services or unidentified processing errors.

Modify Configurations for a VRRP6 Backup Group to Track an Interface

Operation

URI

Description

PUT

/vrrp/vrrp6Groups/vrrp6Group

Modify configurations for a VRRP6 backup group to track an interface.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
           <vrrpId>1</vrrpId>
           <ifName>10GE1/0/1</ifName>
           <vrrp6TrackIntfs>
                  <vrrp6TrackIntf operation="merge">
                        <trackIfName>10GE1/0/2</trackIfName>
                        <trackMode>reduce</trackMode>
                        <priorityChange>20</priorityChange>
                  </vrrp6TrackIntf>
           </vrrp6TrackIntfs>
    </vrrp6Group>

    Table 27-100 describes elements in requests.

    Table 27-100 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP6 backup group.

    ifName

    Specifies the name of the interface on which a VRRP6 backup group resides.

    trackIfName

    Specifies the name of a tracked interface.

    trackMode

    Specifies the tracking mode.

    priorityChange

    Specifies the number by which the priority is increased or decreased.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?>
    <ok/>

    Table 27-101 describes status codes in responses.

    Table 27-101 Status codes

    Status Code

    Description

    200 OK

    The operation succeeded.

    400 Bad Request

    The request operation failed because the request is incorrect in syntax or the information attribute in the request is incorrect.

    500 Internal Server Error

    The request operation failed because of internal errors in services or unidentified processing errors.

Delete Configurations for a VRRP6 Backup Group to Track an Interface

Operation

URI

Description

PUT

/vrrp/vrrp6Groups/vrrp6Group

Delete configurations for a VRRP6 backup group to track an interface.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
           <vrrpId>1</vrrpId>
           <ifName>10GE1/0/1</ifName>
           <vrrp6TrackIntfs>
                  <vrrp6TrackIntf operation="delete">
                        <trackIfName>10GE1/0/2</trackIfName>
                  </vrrp6TrackIntf>
           </vrrp6TrackIntfs>
    </vrrp6Group>

    Table 27-102 describes elements in requests.

    Table 27-102 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP6 backup group.

    ifName

    Specifies the name of the interface on which a VRRP6 backup group resides.

    trackIfName

    Specifies the name of a tracked interface.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?>
    <ok/>

    Table 27-103 describes status codes in responses.

    Table 27-103 Status codes

    Status Code

    Description

    200 OK

    The operation succeeded.

    400 Bad Request

    The request operation failed because the request is incorrect in syntax or the information attribute in the request is incorrect.

    500 Internal Server Error

    The request operation failed because of internal errors in services or unidentified processing errors.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075372

Views: 10264

Downloads: 16

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