< Home

bypass-attributes

Function

The bypass-attributes command configures bypass CR-LSP attributes in a CR-LSP attribute template.

The undo bypass-attributes command deletes bypass CR-LSP attributes from a CR-LSP attribute template.

By default, no bypass CR-LSP attributes are configured.

Format

bypass-attributes { bandwidth bandwidth | priority setup_priority_value [ hold_priority_value ] }*

undo bypass-attributes

Parameters

Parameter Description Value
bandwidth bandwidth Specifies the bandwidth value assigned to a bypass CR-LSP.
NOTE:

The function of bandwidth value assigned to a bypass CR-LSP does not take effect on the devices.

An integer ranging from 1 to 4000000000, in kbit/s. By default, the bandwidth is 0 kbit/s.
priority setup_priority_value Specifies the setup priority of a bypass CR-LSP. An integer ranging from 0 to 7. The smaller the value, the higher the priority. By default, the setup priority is 7.
hold_priority_value Specifies the holding priority of the bypass CR-LSP. An integer ranging from 0 to 7. The smaller the value, the higher the priority. By default, the holding priority is 7.

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

To configure the bypass-attributes command in the CR-LSP attribute template, note the following preconditions:
  • The fast-reroute bandwidth command must be configured in the CR-LSP attribute template, and the bandwidth of the bypass CR-LSP must be less than or equal to that of the primary CR-LSP.

  • The bandwidth of the bypass CR-LSP must be less than or equal to that of the CR-LSP attribute template.

  • The values of the setup and holding priority of the CR-LSP attribute template must be less than or equal to those of the bypass CR-LSP.

Example

# Configure the bypass CR-LSP attributes in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] fast-reroute bandwidth
[HUAWEI-lsp-attribute-lsp-attribute-name] bypass-attributes bandwidth 30 priority 5 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >