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).
TRILL LSP Timer

TRILL LSP Timer

Set the TRILL LSP Timer

Operation

URI

Description

PUT

/trill/trillSites/trillSite/trillLspTimer

Set the TRILL LSP timer.

  • Request example
<?xml version="1.0" encoding="UTF-8"?>
           <trillSite operation='merge'> 
             <instanceId>0</instanceId> 
               <trillLspTimer> 
                 <lspGenMaxTime>120</lspGenMaxTime> 
                 <lspGenInitTime>60000</lspGenInitTime> 
                 <lspGenIncrTime>60000</lspGenIncrTime> 
                 <lspMaxAge>1200</lspMaxAge> 
                 <lspRefreshTime>1</lspRefreshTime> 
               </trillLspTimer> 
             </trillSite> 

Elements

Element

Description

Value Range

Mandatory/Optional

lspGenMaxTime

Specifies the maximum interval at which LSPs are generated.

The value is an integer ranging from 1 to 120, in seconds. The default value is 2.

Optional

lspGenInitTime

Specifies the initial interval for generating the same LSP fragment.

The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

Optional

lspGenIncrTime

Specifies the incremental interval for generating the same LSP fragment.

The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

Optional

lspMaxAge

Specifies the maximum age of LSPs.

The value is an integer ranging from 2 to 65535. The default value is 1200.

Optional

lspRefreshTime

Specifies the LSP update interval.

The value is an integer ranging from 1 to 65534, in seconds. The default value is 900.

Optional

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

Status codes in responses

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.

Query the TRILL LSP Timer

Operation

URI

Description

GET

/trill/trillSites/trillSite/trillLspTimer

Query the TRILL LSP timer.

  • Request example
    <?xml version="1.0" encoding="UTF-8"?>
             <trillSite> 
               <instanceId>0</instanceId>
               <trillLspTimer>
                     <lspGenMaxTime></lspGenMaxTime>
                     <lspGenInitTime></lspGenInitTime>
                     <lspGenIncrTime></lspGenIncrTime>
     <lspMaxAge></lspMaxAge>
     <lspRefreshTime></lspRefreshTime>
                   </trillLspTimer> 
             </trillSite> 

    Elements

    Element

    Description

    Value Range

    Mandatory/Optional

    lspGenMaxTime

    Specifies the maximum interval at which LSPs are generated.

    The value is an integer ranging from 1 to 120, in seconds. The default value is 2.

    Optional

    lspGenInitTime

    Specifies the initial interval for generating the same LSP fragment.

    The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

    Optional

    lspGenIncrTime

    Specifies the incremental interval for generating the same LSP fragment.

    The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

    Optional

    lspMaxAge

    Specifies the maximum age of LSPs.

    The value is an integer ranging from 2 to 65535, in seconds. The default value is 1200.

    Optional

    lspRefreshTime

    Specifies the LSP update interval.

    The value is an integer ranging from 1 to 65534, in seconds. The default value is 900.

    Optional

  • Response example (XML format)
<?xml version="1.0" encoding="UTF-8"?>  
         <trillSite> 
           <instanceId>0</instanceId> 
           <trillLspTimer> 
                 <lspGenMaxTime>2</lspGenMaxTime> 
                 <lspGenInitTime>0</lspGenInitTime> 
                 <lspGenIncrTime>0</lspGenIncrTime> 
 <lspMaxAge>1200</lspMaxAge> 
 <lspRefreshTime>900</lspRefreshTime> 
            </trillLspTimer> 
         </trillSite> 

Elements

Element

Description

Value Range

Mandatory/Optional

lspGenMaxTime

Specifies the maximum interval at which LSPs are generated, in seconds.

The value is an integer ranging from 1 to 120. The default value is 2.

Optional

lspGenInitTime

Specifies the initial interval for generating the same LSP fragment, in milliseconds.

The value is an integer ranging from 0 to 60000. The default value is 0.

Optional

lspGenIncrTime

Specifies the incremental interval for generating the same LSP fragment, in milliseconds.

The value is an integer ranging from 0 to 60000. The default value is 0.

Optional

lspMaxAge

Specifies the maximum age of LSPs, in seconds.

The value is an integer ranging from 2 to 65535. The default value is 1200.

Optional

lspRefreshTime

Specifies the LSP update interval, in seconds.

The value is an integer ranging from 1 to 65534. The default value is 900.

Optional

Status codes in responses

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.

Restore the Default TRILL LSP Timer

Operation

URI

Description

PUT

/trill/trillSites/trillSite/trillLspTimer

Restore the default TRILL LSP timer.

  • Request example
<?xml version="1.0" encoding="UTF-8"?>
           <trillSite operation='merge'> 
             <instanceId>0</instanceId> 
               <trillLspTimer> 
                 <lspGenMaxTime>2</lspGenMaxTime> 
                 <lspGenInitTime>0</lspGenInitTime> 
                 <lspGenIncrTime>0</lspGenIncrTime> 
 <lspMaxAge>1200</lspMaxAge> 
 <lspRefreshTime>900</lspRefreshTime> 
               </trillLspTimer> 
             </trillSite> 

Elements

Element

Description

Value Range

Mandatory/Optional

lspGenMaxTime

Specifies the maximum interval at which LSPs are generated.

The value is an integer ranging from 1 to 120, in seconds. The default value is 2.

Optional

lspGenInitTime

Specifies the initial interval for generating the same LSP fragment.

The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

Optional

lspGenIncrTime

Specifies the incremental interval for generating the same LSP fragment.

The value is an integer ranging from 0 to 60000, in milliseconds. The default value is 0.

Optional

lspMaxAge

Specifies the maximum age of LSPs.

The value is an integer ranging from 2 to 65535, in seconds. The default value is 1200.

Optional

lspRefreshTime

Specifies the LSP update interval.

The value is an integer ranging from 1 to 65534, in seconds. The default value is 900.

Optional

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

Status codes in responses

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: 10494

Downloads: 16

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