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).
VRRP6 Backup Group Configurations

VRRP6 Backup Group Configurations

Query a VRRP6 Backup Group

Operation

URI

Description

GET

/vrrp/vrrp6Groups/vrrp6Group

Query information about a VRRP6 backup group.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
                <vrrpId></vrrpId>
                <ifName></ifName>
                <vrrp6Type></vrrp6Type>
                <adminIgnoreIfDown></adminIgnoreIfDown>
                <unflowdown></unflowdown>
                <adminVrrpId></adminVrrpId>
                <adminIfName></adminIfName>
                <lbrgVrrpId></lbrgVrrpId>
                <state></state>
                <priority></priority>
                <runPriority></runPriority>
                <masterPriority></masterPriority>
                <masterIp></masterIp>
                <createTime></createTime>
                <lchangeTime></lchangeTime>
                <advertiseInterval></advertiseInterval>
                <runAdvertiseInterval></runAdvertiseInterval>
                <preemptMode></preemptMode>
                <delayTime></delayTime>
                <remainTime></remainTime>
                <virtualMac></virtualMac>
    </vrrp6Group>

    Table 27-82 describes elements in requests.

    Table 27-82 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.

    vrrp6Type

    Specifies the type of a VRRP6 backup group.

    adminIgnoreIfDown

    Specifies that an mVRRP6 backup group ignores an interface Down event.

    unflowdown

    Specifies that the Flowdown function is disabled for a service VRRP6 backup group.

    adminVrrpId

    Specifies the ID of a bound mVRRP6 backup group.

    adminIfName

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

    lbrgVrrpId

    Specifies the ID of a VRRP6 LBRG.

    state

    Specifies the status of a VRRP6 backup group.

    priority

    Specifies the configured priority of the VRRP6 backup group.

    runPriority

    Specifies the running priority of the VRRP6 backup group.

    masterPriority

    Specifies the priority of the master router in the VRRP6 backup group.

    masterIp

    Specifies the IP address of the master router in the VRRP6 backup group.

    createTime

    Specifies the time when the VRRP6 backup group was created.

    lchangeTime

    Specifies the time when the status of the VRRP6 backup group last changed.

    advertiseInterval

    Specifies the configured interval at which VRRP6 packets are sent, in milliseconds.

    runAdvertiseInterval

    Specifies the running interval at which VRRP6 packets are sent, in milliseconds.

    preemptMode

    Specifies a preemption mode.

    delayTime

    Specifies a preemption delay, in seconds.

    remainTime

    Specifies the remaining preemption delay.

    virtualMac

    Specifies the virtual MAC address of the VRRP6 backup group.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group>
              <ifName>10GE1/0/1</ifName>
              <vrrpId>1</vrrpId>
              <state>initialize</state>
              <priority>100</priority>
              <runPriority>100</runPriority>
              <masterPriority>0</masterPriority>
              <advertiseInterval>1000</advertiseInterval>
              <runAdvertiseInterval>1000</runAdvertiseInterval>
              <preemptMode>true</preemptMode>
              <delayTime>0</delayTime>
              <virtualMac>0000-5e00-0201</virtualMac>
              <vrrp6Type>normal</vrrp6Type>
              <adminVrrpId/>
              <lbrgVrrpId/>
              <adminIfName></adminIfName>
              <adminIgnoreIfDown>false</adminIgnoreIfDown>
              <unflowdown>false</unflowdown>
              <masterIp>::</masterIp>
              <remainTime>0</remainTime>
              <createTime>2014-11-14T11:00:23</createTime>
              <lchangeTime/>
    </vrrp6Group>

    Table 27-83 describes elements in responses.

    Table 27-83 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.

    vrrp6Type

    Specifies the type of a VRRP6 backup group.

    adminIgnoreIfDown

    Specifies that an mVRRP6 backup group ignores an interface Down event.

    unflowdown

    Specifies that the Flowdown function is disabled for a service VRRP6 backup group.

    adminVrrpId

    Specifies the ID of a bound mVRRP6 backup group.

    adminIfName

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

    lbrgVrrpId

    Specifies the ID of a VRRP6 LBRG.

    state

    Specifies the status of a VRRP6 backup group.

    priority

    Specifies the configured priority of the VRRP6 backup group.

    runPriority

    Specifies the running priority of the VRRP6 backup group.

    masterPriority

    Specifies the priority of the master router in the VRRP6 backup group.

    masterIp

    Specifies the IP address of the master router in the VRRP6 backup group.

    createTime

    Specifies the time when the VRRP6 backup group was created.

    lchangeTime

    Specifies the time when the status of the VRRP6 backup group last changed.

    advertiseInterval

    Specifies the configured interval at which VRRP6 packets are sent, in milliseconds.

    runAdvertiseInterval

    Specifies the running interval at which VRRP6 packets are sent, in milliseconds.

    preemptMode

    Specifies a preemption mode.

    delayTime

    Specifies a preemption delay, in seconds.

    remainTime

    Specifies the remaining preemption delay.

    virtualMac

    Specifies the virtual MAC address of the VRRP6 backup group.

Create a VRRP6 Backup Group

Operation

URI

Description

POST

/vrrp/vrrp6Groups/vrrp6Group

Create a VRRP6 backup group.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group operation="create">
                <vrrpId>3</vrrpId>
                <ifName>10GE1/0/1</ifName>
                <vrrp6Type>normal</vrrp6Type>
                <priority>100</priority>
                <advertiseInterval>1000</advertiseInterval>
                <preemptMode>true</preemptMode>
                <delayTime>0</delayTime>
    </vrrp6Group>

    Table 27-84 describes elements in requests.

    Table 27-84 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.

    vrrp6Type

    Specifies the type of a VRRP6 backup group.

    priority

    Specifies a priority for a VRRP6 backup group.

    advertiseInterval

    Specifies an interval at which VRRP6 packets are sent, in milliseconds.

    preemptMode

    Specifies a preemption mode.

    delayTime

    Specifies a preemption delay, in seconds.

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

    Table 27-85 describes elements in responses.

    Table 27-85 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 a VRRP6 Backup Group

Operation

URI

Description

PUT

/vrrp/vrrp6Groups/vrrp6Group

Modify a VRRP6 backup group.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
    <vrrp6Group operation="merge">
                <vrrpId>1</vrrpId>
                <ifName>10GE1/0/1</ifName>
                <vrrp6Type>admin</vrrp6Type>
                <adminIgnoreIfDown>true</adminIgnoreIfDown>
                <priority>120</priority>
                <advertiseInterval>2000</advertiseInterval>
                <delayTime>10</delayTime>
    </vrrp6Group>

    Table 27-86 describes elements in requests.

    Table 27-86 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.

    vrrp6Type

    Specifies the type of a VRRP6 backup group.

    adminIgnoreIfDown

    Specifies that an mVRRP6 backup group ignores an interface Down event.

    priority

    Specifies a priority for a VRRP6 backup group.

    advertiseInterval

    Specifies an interval at which VRRP6 packets are sent, in milliseconds.

    preemptMode

    Specifies a preemption mode.

    delayTime

    Specifies a preemption delay, in seconds.

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

    Table 27-87 describes status codes in responses.

    Table 27-87 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 a VRRP6 Backup Group

Operation

URI

Description

DELETE

/vrrp/vrrp6Groups/vrrp6Group

Delete a VRRP6 backup group.

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

    Table 27-88 describes elements in requests.

    Table 27-88 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.

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

    Table 27-89 describes status codes in responses.

    Table 27-89 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: 10500

Downloads: 16

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