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).
Query VRRP Packet Statistics

Query VRRP Packet Statistics

Operation

URI

Description

GET

/vrrp/vrrpGroups/vrrpGroup

Query VRRP packet statistics.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?> 
     <vrrpGroup> 
           <vrrpId>1</vrrpId> 
           <ifName>10GE1/0/1</ifName> 
           <vrrpStatistics> 
                     <brcomeMaster></brcomeMaster> 
                     <sendAdvertisement></sendAdvertisement> 
                     <receiveAdvertisement></receiveAdvertisement> 
                     <advertiseIntervalErrors></advertiseIntervalErrors> 
                     <authenticationFailures></authenticationFailures> 
                     <ipTtlErrors></ipTtlErrors> 
                     <receivePriorityZero></receivePriorityZero> 
                     <sendPriorityZero></sendPriorityZero> 
                     <invalidTypePackets></invalidTypePackets> 
                     <addressListErrors></addressListErrors> 
                     <invalidAuthenticationType></invalidAuthenticationType> 
                     <authenticationTypeMismatch></authenticationTypeMismatch> 
                     <packetLengthErrors></packetLengthErrors> 
                     <receiveSelfSend></receiveSelfSend> 
            </vrrpStatistics> 
     </vrrpGroup>

    Table 27-64 describes elements in requests.

    Table 27-64 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP backup group.

    ifName

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

    brcomeMaster

    Specifies the number of times that a router switches to the Master state.

    sendAdvertisement

    Specifies the number of sent VRRP advertisement packets.

    receiveAdvertisement

    Specifies the number of received VRRP advertisement packets.

    advertiseIntervalErrors

    Specifies the number of VRRP Advertisement packets with an incorrect interval.

    authenticationFailures

    Specifies the number of VRRP Advertisement packets that fail to be authenticated.

    ipTtlErrors

    Specifies the number of VRRP Advertisement packets with a TTL value that is not equal to 255.

    receivePriorityZero

    Specifies the number of received VRRP Advertisement packets with a priority of 0.

    sendPriorityZero

    Specifies the number of sent VRRP Advertisement packets with a priority of 0.

    invalidTypePackets

    Specifies the number of VRRP Advertisement packets with an invalid Type field.

    addressListErrors

    Specifies the number of VRRP Advertisement packets with an incorrect address list.

    invalidAuthenticationType

    Specifies the number of VRRP Advertisement packets with an invalid authentication type.

    authenticationTypeMismatch

    Specifies the number of VRRP Advertisement packets with a mismatching authentication type.

    packetLengthErrors

    Specifies the number of VRRP Advertisement packets with incorrect length.

    receiveSelfSend

    Specifies the number of VRRP Advertisement packets received from itself.

  • Response example (XML format)
    <?xml version="1.0" encoding="UTF-8"?> 
     <vrrpGroup> 
           <ifName>10GE1/0/1</ifName> 
           <vrrpId>1</vrrpId> 
           <vrrpStatistics> 
                 <brcomeMaster>2</brcomeMaster> 
                 <sendAdvertisement>42317</sendAdvertisement> 
                 <receiveAdvertisement>42315</receiveAdvertisement> 
                 <advertiseIntervalErrors>0</advertiseIntervalErrors> 
                 <packetLengthErrors>0</packetLengthErrors> 
                 <ipTtlErrors>0</ipTtlErrors> 
                 <invalidTypePackets>0</invalidTypePackets> 
                 <addressListErrors>0</addressListErrors> 
                 <authenticationTypeMismatch>0</authenticationTypeMismatch> 
                 <invalidAuthenticationType>0</invalidAuthenticationType> 
                 <authenticationFailures>0</authenticationFailures> 
                 <receivePriorityZero>0</receivePriorityZero> 
                 <sendPriorityZero>2</sendPriorityZero> 
                 <receiveSelfSend>42315</receiveSelfSend> 
           </vrrpStatistics> 
     </vrrpGroup>

    Table 27-65 describes elements in responses.

    Table 27-65 Elements

    Element

    Description

    vrrpId

    Specifies the ID of a VRRP backup group.

    ifName

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

    brcomeMaster

    Specifies the number of times that a router switches to the Master state.

    sendAdvertisement

    Specifies the number of sent VRRP advertisement packets.

    receiveAdvertisement

    Specifies the number of received VRRP advertisement packets.

    advertiseIntervalErrors

    Specifies the number of VRRP Advertisement packets with an incorrect interval.

    authenticationFailures

    Specifies the number of VRRP Advertisement packets that fail to be authenticated.

    ipTtlErrors

    Specifies the number of VRRP Advertisement packets with a TTL value that is not equal to 255.

    receivePriorityZero

    Specifies the number of received VRRP Advertisement packets with a priority of 0.

    sendPriorityZero

    Specifies the number of sent VRRP Advertisement packets with a priority of 0.

    invalidTypePackets

    Specifies the number of VRRP Advertisement packets with an invalid Type field.

    addressListErrors

    Specifies the number of VRRP Advertisement packets with an incorrect address list.

    invalidAuthenticationType

    Specifies the number of VRRP Advertisement packets with an invalid authentication type.

    authenticationTypeMismatch

    Specifies the number of VRRP Advertisement packets with a mismatching authentication type.

    packetLengthErrors

    Specifies the number of VRRP Advertisement packets with incorrect length.

    receiveSelfSend

    Specifies the number of VRRP Advertisement packets received from itself.

Translation
Download
Updated: 2019-04-03

Document ID: EDOC1100075372

Views: 10720

Downloads: 16

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