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

Command Reference

S1720, S2700, S5700, and S6720 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
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).
MPLS TE Configuration Commands

MPLS TE Configuration Commands

Command Support

Only the S6720EI, S6720S-EI, S5720HI, and S5720EI support the MPLS feature.

add hop

Function

The add hop command adds a specified node on an MPLS TE explicit path.

Format

add hop ip-address1 [ include [ [ loose | strict ] | [ incoming | outgoing ] ] * | exclude ] { after | before } ip-address2

Parameters

Parameter Description Value
ip-address1 Specifies the IP address of the added node. The value is in dotted decimal notation.
include [ [ loose | strict ] | [ incoming | outgoing ] ] * Specifies the node with an IP address ip-address1 on the explicit path.
  • strict: indicates that the node is added in strict mode. The node of ip-address1 is directly connected to the node of ip-address2.
  • loose: indicates that the node is added in loose mode. The node of ip-address1 may not be directly connected to the node of ip-address2.
  • incoming: indicates that the ip-address1 is the IP address of an inbound interface of a new-added node.
  • outgoing: indicates that the ip-address1 is the IP address of an outbound interface of a new-added node.
By default, an explicit path is added in include strict mode.
exclude Excludes the node of ip-address1 from the explicit path. -
after Indicates that the node of ip-address1 is added after the node of ip-address2. -
before Indicates that the node of ip-address1 is added before the node of ip-address2. -
ip-address2 Specifies the IP address of an interface or the Router ID of a node on the explicit path. The value is in dotted decimal notation.

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The following commands are used to adjust nodes on a created explicit path:

  • The add hop command is used to add a node to the explicit path.
  • The modify hop command is used to delete a node from the explicit path and replace the node with a specified node.
  • The delete hop command is used to delete a node from the explicit path.

Prerequisites

The next hop command must have been run to specify a next-hop IP address before the add hop command is run.

Follow-up Procedure

Run the display explicit-path command to view information about the explicit path.

Precautions

A node can be added to an explicit path using the add hop command only when the following conditions are met:
  • ip-address2 is the IP address of a node that exists on the explicit path.
  • If an explicit path over which a TE tunnel has been established is modified, the make-before-break mechanism is triggered, and a CR-LSP is reestablished without traffic loss.

Example

# Exclude the next hop of 10.2.2.2 after 10.1.1.1 from the explicit path named p1.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] quit
[HUAWEI] explicit-path p1
[HUAWEI-explicit-path-p1] next hop 10.1.1.1
[HUAWEI-explicit-path-p1] add hop 10.2.2.2 exclude after 10.1.1.1

affinity property

Function

The affinity property command configures the affinity property for a CR-LSP attribute template.

The undo affinity property command deletes the affinity property from a CR-LSP attribute template.

By default, no affinity property for a CR-LSP attribute template is configured.

Format

affinity property affinity-value [ mask mask-value ]

undo affinity property

Parameters

Parameter Description Value
affinity-value Specifies the value of the affinity property. The value ranges from 0x0 to 0xFFFFFFFF, in hexadecimal format. By default, the affinity value is 0.
mask mask-value Specifies the mask value of an affinity property. Then an operation is performed between the mask value and the affinity property value, and the result indicates the bits of the affinity property to be checked. The value ranges from 0x0 to 0xFFFFFFFF, in hexadecimal format. By default, the value is 0.

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

Affinity property and masks determine the link properties that should be checked by a device.

Example

# Set the affinity property to 123 and the mask to fff in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] affinity property 123 mask fff

bandwidth (LSP attribute view)

Function

The bandwidth command configures the bandwidth in the CR-LSP attribute template.

The undo bandwidth command deletes the bandwidth in the CR-LSP attribute template.

By default, no bandwidth in the CR-LSP attribute template is configured.

Format

bandwidth { ct0 ct0-bandwidth | ct1 ct1-bandwidth }

undo bandwidth { all | ct0 | ct1 }

Parameters

Parameter Description Value
ct0 ct0-bandwidth Specifies the bandwidth of an LSP of CT0. The value is an integer that ranges from 1 to 4000000000, in kbit/s. By default, the bandwidth is 0 kbit/s.
ct1 ct1-bandwidth Specifies the bandwidth of an LSP of CT1. The value is an integer that ranges from 1 to 4000000000, in kbit/s. By default, the bandwidth is 0 kbit/s.
all Deletes the bandwidth configured for the LSP of each CT. -

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

The undo bandwidth command can be used to delete the bandwidth of all CTs or a specified CT:

  • undo bandwidth all: deletes all configured bandwidth.
  • undo bandwidth { ct0 | ct1 }: deletes the bandwidth of the specified CT configured on the current TE tunnel.

Example

# Configure the bandwidth of an LSP of CT0 as 20 kbit/s in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] bandwidth ct0 20

bfd bind mpls-te

Function

The bfd bind mpls-te command configures BFD to monitor TE tunnels, or the primary or backup LSP bound to a TE tunnel.

The undo bfd command deletes a specified BFD session.

By default, no TE tunnel applies BFD.

Format

bfd cfg-name bind mpls-te interface tunnel interface-number [ te-lsp [ backup ] ]

undo bfd cfg-name

Parameters

Parameter Description Value
cfg-name Specifies the BFD configuration name. The value is a string of 1 to 15 case-insensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.
interface tunnel interface-number Specifies the interface number of the TE tunnel bound to a BFD session. -
te-lsp [ backup ] Indicates that BFD monitors the LSP bound to the TE tunnel.
  • If backup is not selected, BFD monitors the primary LSP bound to the TE tunnel.
  • If backup is selected, BFD monitors the backup LSP bound to the TE tunnel.
-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can run the bfd bind mpls-te command to configure BFD to monitor TE tunnels, or the primary or backup LSP bound to a TE tunnel.

Prerequisites

Before configuring BFD to monitor TE tunnels, the following tasks must have been completed:
  • BFD has been enabled globally using the bfd command.

  • An MPLS TE tunnel interface has been configured.

Precautions

BFD can monitor a TE tunnel and the primary or backup LSP bound to the TE tunnel.
  • If BFD is configured to monitor the primary or backup LSP bound to a TE tunnel, a BFD session cannot be created if the LSP status is Down.

  • If the tunnel status is Down when BFD is configured to monitor a TE tunnel, the BFD session can still be created, but its status is Down.

    Multiple LSPs can be bound to a TE tunnel. When BFD detects the tunnel, the BFD session will go Down only if all LSPs bound to the TE tunnel fail.

Example

# Configure BFD to detect the primary LSP bound to the TE tunnel.

<HUAWEI> system-view
[HUAWEI] bfd 1to4rsvp bind mpls-te interface Tunnel 1 te-lsp 
[HUAWEI-bfd-lsp-session-1to4rsvp]

# Configure BFD to detect the backup LSP bound to the TE tunnel.

<HUAWEI> system-view
[HUAWEI] bfd 1to4backup bind mpls-te interface Tunnel 1 te-lsp backup
[HUAWEI-bfd-lsp-session-1to4backup]

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

commit (LSP attribute view)

Function

The commit command commits the configurations of the CR-LSP attribute template.

Format

commit

Parameters

None

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

When the CR-LSP attribute template is modified, if the commands that conflict with the CR-LSP attribute template are configured on a tunnel interface, the configurations of the CR-LSP attribute template cannot be committed.

When the CR-LSP attribute template is applied by a tunnel, you can modify the tunnel attributes by modifying the configurations of the CR-LSP attribute template. Different modifications in the CR-LSP attribute template have different impacts on the setup of the tunnel. If the priorities of the CR-LSP attribute template are modified, Break-Before-Make (BBM) is performed on the tunnel. If the Make-Before-Break (MBB) attribute of the CR-LSP attribute template is modified, MBB may be performed on the tunnel.

Example

# Configure the CR-LSP attribute template and commit relevant configurations.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] hop-limit 15
[HUAWEI-lsp-attribute-lsp-attribute-name] commit

delete hop

Function

The delete hop command deletes a specified node from an MPLS TE explicit path.

Format

delete hop ip-address

Parameters

Parameter Description Value
ip-address Specifies the IP address of an interface on a node. In dotted decimal notation.

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The following commands are used to adjust nodes on a created explicit path:

  • The add hop command is used to add a node to the explicit path.
  • The modify hop command is used to delete a node from the explicit path and replace the node with a specified node.
  • The delete hop command is used to delete a node from the explicit path.

Follow-up Procedure

Run the display explicit-path command to view information about the explicit path.

Precautions

A node can be deleted from an explicit path using the delete hop command only when the following conditions are met:
  • The node must exist on the explicit path
  • If an explicit path over which a TE tunnel has been established is modified, the make-before-break mechanism is triggered, and a CR-LSP is reestablished without traffic loss.

Example

# Delete the node of 10.10.10.10 from the MPLS TE explicit path.

<HUAWEI> system-view
[HUAWEI] explicit-path p1
[HUAWEI-explicit-path-p1] list hop
 Path Name : p1        Path Status : Enabled
 1      2.2.2.2           Strict      Include
 2      10.10.10.10       Strict      Include
 3      10.20.20.20       Strict      Include
[HUAWEI-explicit-path-p1] delete hop 10.10.10.10
[HUAWEI-explicit-path-p1] list hop
 Path Name : p1        Path Status : Enabled
 1      2.2.2.2           Strict      Include
 2      10.20.20.20       Strict      Include

display default-parameter mpls rsvp-te

Function

The display default-parameter mpls rsvp-te command displays the default parameters of MPLS RSVP-TE.

Format

display default-parameter mpls rsvp-te

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the default configurations of MPLS RSVP-TE, run the display default-parameter mpls rsvp-te command.

Example

# Display default MPLS RSVP-TE parameters.

<HUAWEI> display default-parameter mpls rsvp-te
  RSVP-TE View Default Configurations:
  -------------------------------------------
  Resv Confirmation Request  : Disabled
  RSVP Hello Extension       : Disabled
  GR Capability              : Disabled
  GR Basic-Restart-Time      : 90000 ms
  Hello Interval             : 3000 ms
  Max Times Of Hello Misses  : 3
  Path/Resv Message Refresh Interval    : 30000 ms
  Path/Resv Message Refresh Retry Times : 3
  Challenge Retransmission Interval     : 1000 ms
  Max Times Of Challenge Lost           : 3
  Soft Preemption Timeout               : 30 s

  Interface View Default Configurations:
  -------------------------------------------
  SRefresh Feature           : Disabled
  Authentication Feature     : Disabled
  BFD Feature                : Disabled
  Hello Feature              : Disabled
  BFD Min-Tx                 : 1000
  BFD Min-Rx                 : 1000
  BFD Detect-Multi           : 3
  MPLS MTU                  : 1500
  SRefresh Interval         : 30000 ms
  SRefresh Retransmission Interval        : 5000 ms
  SRefresh Retransmission Increment Value : 1
  Authentication Life Time                : 1800000 ms
Table 9-53  Description of the display default-parameter mpls rsvp-te command output

Item

Description

Resv Confirmation Request

Whether or not the request for reservation confirmation is enabled.

RSVP Hello Extension

Whether or not the Hello extension is enabled.

GR Capability

RSVP GR capability.

GR Basic-Restart-Time

Basic RSVP GR time.

Hello Interval

Interval of Hello message.

Max Times Of Hello Misses

Maximum number of Hello messages that consecutively fail to be received.

Path/Resv Message Refresh Interval

Interval for refreshing Path or Resv messages.

Path/Resv Message Refresh Retry Times

Interval for retrying refreshing Path or Resv messages.

Challenge Retransmission Interval

Interval for resending Challenge messages.

Max Times Of Challenge Lost

Maximum number of Challenge messages that consecutively fail to be received.

Soft Preemption Timeout

The timeout of soft preemption

SRefresh Feature

Whether or not Srefresh is enabled.

Authentication Feature

Whether or not authentication is enabled.

BFD Feature

Whether or not BFD is enabled.

Hello Feature

Whether or not the Hello feature is enabled.

BFD Min-Tx

Actual interval for sending BFD packets.

BFD Min-Rx

Actual interval for receiving BFD packets.

BFD Detect-Multi

Actual local BFD detection multiplier.

MPLS MTU

Actual MTU value used for MPLS forwarding.

SRefresh Interval

Srefresh interval.

SRefresh Retransmission Interval

Srefresh retransmission interval.

SRefresh Retransmission Increment Value

Increment value of Srefresh retransmission.

Authentication Life Time

Authentication lifetime.

display default-parameter mpls te cspf

Function

The display default-parameter mpls te cspf command displays the default CSPF configurations.

Format

display default-parameter mpls te cspf

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the default configurations of CSPF, run the display default-parameter mpls te cspf command.

Example

# Display the default CSPF configurations.

<HUAWEI> display default-parameter mpls te cspf
-----------------------------------------------
          CSPF Default Configuration
-----------------------------------------------
          Preferred-IGP : OSPF
          Failed-link Interval(Sec): 10
Table 9-54  Description of the display default-parameter mpls te cspf command output

Item

Description

Preferred-IGP

The IGP type whose database is in CSPF TEDB and that will be preferred for path calculation.

Failed-link Interval(Sec)

The default value of the failed link timer.

display default-parameter mpls te management

Function

The display default-parameter mpls te management command displays the default configurations of the MPLS TE management module.

Format

display default-parameter mpls te management

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the default configurations of the MPLS TE management module, run the display default-parameter mpls te management command.

Example

# Display the default configurations of the MPLS TE management module.

<HUAWEI> display default-parameter mpls te management
                                                                                
    Global Information                                                          
    -----------------------------------------------------------                 
    DS-TE MODE                               : NON-IETF                         
    Bandwidth constraint model               : RDM                              
    Switch-delay time(ms)                    : 5000                             
    Delete-delay time(ms)                    : 7000                             
    Auto-bandwidth timer(sec)                : 300                              
    FRR timer(sec)                           : 300                              
    Path metric-type                         : TE                               
    Tie-breaking                             : Random                           
    -----------------------------------------------------------                 
                                                                                
    Interface Information                                                       
    -----------------------------------------------------------                 
    Administrative group value               : 0                                
    TE metric value                          : 0                                
    Bandwidth change thresholds up           : 10                               
    Bandwidth change thresholds down         : 10                               
    -----------------------------------------------------------                 
                                                                                
    Tunnel Interface Information                                                
    -----------------------------------------------------------                 
    Retry timer(sec)                         : 30                               
    Set priority                             : 7                                
    Hold priority                            : 7                                
    Default signal protocol                  : Rsvp                             
    Default resv-style                       : SE                               
    Default classtype                        : CT0                              
    Reoptimization frequency(sec)            : 3600                             
    Auto-bandwidth adjustment frequency(sec) : 86400                            
    Auto-bandwidth max-bw                    : 4294901760                       
    Auto-bandwidth min-bw                    : 0                                
    Auto-bandwidth threshold                 : 0 
    Hop-limit                                : 32                               
    Diffserv-mode                            : Uniform                          
    -----------------------------------------------------------                 
                                                                                
    Explicit-path Information                                                   
    -----------------------------------------------------------                 
    Default type                             : include strict                   
    -----------------------------------------------------------                 
                                                                                
    Default TEClass Mapping                                                     
    -----------------------------------------------------------                 
    TE-Class        ID        Class Type        Priority                        
    TE-Class        0         0                 0                               
    TE-Class        1         1                 0                               
    TE-Class        2         2                 0                               
    TE-Class        3         3                 0                               
    TE-Class        4         0                 7                               
    TE-Class        5         1                 7                               
    TE-Class        6         2                 7                               
    TE-Class        7         3                 7                               
    -----------------------------------------------------------                 
                                                                                
Table 9-55  Description of the display default-parameter mpls te management command output

Item

Description

DS-TE MODE

DS-TE mode:

  • IETF: indicates DS-TE in IETF mode.
  • NON-IETF: indicates DS-TE in non-IETF mode.

Bandwidth constraint model

Bandwidth Constraints model:
  • RDM: indicates the Russian Dolls Model.
  • MAM: indicates the Maximum Allocation Model.
  • Extended MAM: indicates the extended Maximum Allocation Model.

Switch-delay time(ms)

Delay time before switching TE traffic from the primary CR-LSP to the modified CR-LSP in milliseconds.

Delete-delay time(ms)

Delay before deleting the primary CR-LSP after TE traffic is switched to the modified CR-LSP, in milliseconds.

Auto-bandwidth timer(sec)

Time interval at which the output rate of each tunnel configured with automatic bandwidth adjustment is sampled, in seconds.

FRR timer(sec)

FRR switching time, in seconds.

Path metric-type

Link metric type for path selection for tunnels.

Tie-breaking

Rule for selecting a route to the destination if multiple routes of equal cost are available.

Administrative group value

Administrative-group attribute.

TE metric value

TE metric of a link.

Bandwidth change thresholds up

Upper threshold of the bandwidth of an MPLS TE tunnel to be flooded.

Bandwidth change thresholds down

Lower threshold of the bandwidth of an MPLS TE tunnel to be flooded.

Retry timer(sec)

Time interval between attempts to establish a tunnel, in seconds.

Set priority

Setup priority.

Hold priority

Holding priority.

Default signal protocol

Signaling protocol used to set up an LSP.

Default resv-style

Resource reservation style.

Default classtype

Class type.

Reoptimization frequency(sec)

Time interval between attempts of re-optimization, in seconds.

Auto-bandwidth adjustment frequency(sec)

Time interval between attempts of automatic bandwidth adjustment, in seconds.

Auto-bandwidth max-bw

Maximum bandwidth allowed by automatic bandwidth adjustment.

Auto-bandwidth min-bw

Minimum bandwidth allowed by automatic bandwidth adjustment.

Auto-bandwidth threshold Indicates the threshold of the difference between the new and existing bandwidth. The value is expressed in percentage.

Hop-limit

Maximum number of hops.

Diffserv-mode

DiffServ mode.

Default type

Default type.

TE-Class ID

TE-class ID. The value is an integer that ranges from 0 to 7.

Class Type

Service type. When the TE-class is not configured, "--" is displayed.

Priority

Preemption priority of a tunnel. The value is an integer that ranges from 0 to 7. The smaller the value, the higher tunnel preemption priority.

display explicit-path

Function

The display explicit-path command displays information about an explicit path and the tunnels using it.

Format

display explicit-path [ [ name ] path-name ] [ tunnel-interface | lsp-attribute | verbose ]

Parameters

Parameter Description Value
name Displays information about the specified explicit path. -
path-name Specifies the explicit path name. The value is an existing explicit path name.
tunnel-interface Displays information about the interface of the tunnel that uses the explicit path. -
lsp-attribute Displays information about the LSP attribute template that uses the explicit path. -
verbose Displays detailed information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no path name is specified, information about all explicit paths is displayed.

Example

# Display detailed information about the explicit path named p1.

<HUAWEI> display explicit-path p1 verbose
Path Name : p1          Path Status : Enabled                                   
 1      1.1.1.1           Strict      Include                                   
 2      2.2.2.2           Strict      Exclude                                   
 3      3.3.3.3           Loose       Include             Outgoing
 4      4.4.4.4           Strict      Include             Incoming
 List of p2p tunnels using this path:                                           
     Tunnel1                                                                
 Number of p2p tunnels using this path: 1                                       
 List of lsp-attributes referring this path:                                    
     a1                                                                         
 Number of lsp-attributes referring this path: 1                                
Table 9-56  Description of the display explicit-path verbose command output

Item

Description

Path Name

Name of an explicit path.

Path Status

Status of an explicit path.
  • Enabled
  • Disabled

Strict

The address is a strict next hop. The address is the ingress address or the address of the node that is connected directly to the previous node.

Loose

The address is a loose next hop.

Include

The explicit path contains the node of this IP address.

Exclude

The explicit path does not contain the node of this IP address.

Incoming or Outgoing

Type of an interface to which the IP address belong:

  • Incoming

  • Outgoing

If this field is not displayed, the IP address belongs to either an outbound interface or an inbound interface.

List of p2p tunnels using this path

List of tunnels using the path.

Number of p2p tunnels using this path

Number of tunnels using the path.

List of lsp-attributes referring this path

List of CR-LSP attribute templates using the path.

Number of lsp-attributes referring this path

Number of CR-LSP attribute templates using the path.

display lsp-attribute

Function

The display lsp-attribute command displays the configurations of the CR-LSP attribute template and the tunnels using it.

Format

display lsp-attribute [ name lsp-attribute-name ] [ tunnel-interface | verbose ]

Parameters

Parameter Description Value
name lsp-attribute-name Specifies the name of the CR-LSP attribute template. The value is an existing CR-LSP attribute template name.
tunnel-interface Displays information about the interface of the tunnel that uses the explicit path. -
verbose Displays detailed information about the CR-LSP attribute template, including information about the tunnels using it. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the name of the CR-LSP attribute template is not specified, information about all CR-LSP attribute templates is displayed in the command output.

Example

# Display information about the tunnel-interface using the attribute templates of lspattr1.

<HUAWEI> display lsp-attribute name lspattr1 tunnel-interface
lsp-attribute Name : lspattr1
explicit-path 2
commit
List of tunnels using this lsp-attribute:
     Tunnel1                            Tunnel2
Number of tunnels using this lsp-attribute: 2

# Display detailed information about all CR-LSP attribute templates.

<HUAWEI> display lsp-attribute verbose

lsp-attribute Name : lsp-attribute-name11
bandwidth ct0 100
explicit-path path-name
affinity property 2 mask 2
priority 4
hop-limit 20
record-route label
fast-reroute bandwidth
bypass-attributes bandwidth 10 priority 4
commit
List of tunnels using this lsp-attribute:
     Tunnel1                          Tunnel2
Number of tunnels using this lsp-attribute: 2
Table 9-57  Description of the display lsp-attribute verbose command output

Item

Description

lsp-attribute Name

Name of a CR-LSP attribute template.

To set the name of a CR-LSP attribute template, run the lsp-attribute command.

bandwidth ct0 100

Bandwidth of the LSP of each CT configured in the CR-LSP attribute template.

To set the bandwidth of the LSP of each CT configured in the CR-LSP attribute template, run the bandwidth (LSP attribute view) command.

explicit-path path-name

Explicit path in the CR-LSP attribute template.

To set the explicit path in the CR-LSP attribute template, run the explicit-path (LSP attribute view) command.

affinity property 2 mask 2

Affinity property and affinity mask in a CR-LSP attribute template.

To set the affinity property and affinity mask in a CR-LSP attribute template, run the affinity property command.

priority 4

Setup and holding priorities in a CR-LSP attribute template.

To set the setup and holding priorities in a CR-LSP attribute template, run the priority command.

hop-limit 20

Hop limit in a CR-LSP attribute template.

To set the hop limit in a CR-LSP attribute template, run the hop-limit command.

record-route label

Route and label storing function that is enabled in the CR-LSP attribute template.

To set the route and label storing function, run the record-route command.

fast-reroute bandwidth

FRR enabled and bandwidth protection configured in a CR-LSP attribute template.

To set the FRR and bandwidth protection in a CR-LSP attribute template, run the fast-reroute command.

bypass-attributes bandwidth 10 priority 4

Bypass tunnel attributes in a CR-LSP attribute template.

To set the bypass tunnel attributes in a CR-LSP attribute template, run the bypass-attributes command.

commit

Committing configurations of a CR-LSP attribute template.

To set the committing configurations of a CR-LSP attribute template, run the commit (LSP attribute view) command.

List of tunnels using this lsp-attribute

List of tunnels that use a CR-LSP attribute template.

Number of tunnels using this lsp-attribute

Number of tunnels that use a CR-LSP attribute template.

Related Topics

display mpls aps statistics global

Function

The display mpls aps statistics global command displays statistics about MPLS TE tunnel protection group.

Format

display mpls aps statistics global

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After MPLS TE tunnel protection groups are configured, this command can be used to view statistics about these MPLS TE tunnel protection groups.

Example

# Display statistics about MPLS TE tunnel protection groups.

<HUAWEI> display mpls aps statistics global
  Max APS Instance Num                    :  10240
  Created APS Instance Num                :  2
Table 9-58  Description of the display mpls aps statistics global command output

Item

Description

Max APS Instance Num

Maximum number of supported APS instances

Created APS Instance Num

Number of created MPLS TE tunnel protection groups

display mpls lsp attribute

Function

The display mpls lsp attribute command displays information about the local bypass LSP attributes.

Format

display mpls lsp attribute { bypass-inuse { exists-not-used | inuse | not-exists } | bypass-tunnel tunnel-name }

Parameters

Parameter Description Value
bypass-inuse Displays the attribute of the bypass LSPs in use. -
exists-not-used Displays the attributes of the existing bypass LSPs that are not in use. -
inuse Displays the attribute of the bypass LSPs in use. -
not-exists Displays the attributes of the bypass LSPs that are not in use. -
bypass-tunnel Displays the attribute of the specified bypass tunnel. -
tunnel-name Specifies the name of the bypass tunnel. The value is an existing tunnel name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display mpls lsp attribute command to view information about attributes of local bypass LSPs in the TE FRR scenarios.

Example

# Display information about attributes of the existing bypass LSPs that are not in use.

<HUAWEI> display mpls lsp attribute bypass-inuse exists-not-used
-------------------------------------------------------------------------------
                 LSP Information: RSVP LSP
-------------------------------------------------------------------------------
                                                                                
  No                  :  1                                                      
  SessionID           :  300                                                    
  IngressLsrID        :  3.3.3.9                                                
  LocalLspID          :  5                                                      
  Tunnel-Interface    :  Tunnel1                                            
  Fec                 :  1.1.1.9/32                                             
  TunnelTableIndex    :  0x1                                                    
  Nexthop             :  -------                                                
  In-Label            :  3                                                      
  Out-Label           :  NULL                                                   
  In-Interface        :  Vlanif100                                   
  Out-Interface       :  ----------                                             
  LspIndex            :  2049                                                   
  Token               :  0x0                                                    
  LsrType             :  Egress                                                 
  Mpls-Mtu            :  ------                                                 
  TimeStamp           :  333sec                                                 
  Bfd-State           :  ---                                                    
  CBfd-Event          :  ---                                                    
  Bed-State           :  ---                                                    
  Bed-LastNotifyValue :  ---                                                    
  Bed-LastNotifyLspId :  ---                                                    
Table 9-59  Description of the display mpls lsp attribute command output

Item

Description

No

Sequence number of an LSP.

SessionID

Session ID of a CR-LSP.

IngressLsrID

Ingress LSR ID of a CR-LSP.

LocalLspID

Local LSP ID of a CR-LSP.

Tunnel-Interface

Tunnel interface.

Fec

Forwarding Equivalence Class, which is destination address of an LSP.

TunnelTableIndex

Index of a tunnel table.

Nexthop

IP address of the next hop of an LSP.

In-Label

Value of an incoming label.

Out-Label

Value of an outgoing label.

In-Interface

Name of an incoming interface.

Out-Interface

Name of an outgoing interface.

LspIndex

Index number of an LSP, which uniquely identifies an LSP that is established using a specified protocol.

Token

LSP token, which guides the packet forwarding.

LsrType

Role of an LSR on an LSP:

  • Ingress

  • Transit

  • Egress

Mpls-Mtu

Maximum transmission unit (MTU) of an interface of an LSP.

TimeStamp

Time elapsed since an LSP was set up.

Bfd-State

BFD status.

CBfd-Event

BFD-reported error code event received on the ingress of an RSVP LSP.

Bed-State

Error code status received on the ingress of an RSVP LSP.

Bed-LastNotifyValue

Event of association relationship related to error codes informed on the egress of an RSVP LSP.

Bed-LastNotifyLspId

ID of a reverse LSP when an event of association relationship related to error codes is informed on the egress of an RSVP LSP.

Related Topics

display mpls rsvp-te

Function

The display mpls rsvp-te command displays the RSVP-TE configurations.

Format

display mpls rsvp-te

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When configuring a dynamic MPLS TE tunnel, you can run the display mpls rsvp-te command to view RSVP-TE configurations.

Example

# Display information about RSVP-TE.

<HUAWEI> display mpls rsvp-te
 LSR ID: 1.1.1.9                                                                
 RSVP-TE Function Capability: Enable                                            
 Resv Confirmation Request: DISABLE                                             
 RSVP Hello Extension: ENABLE                                                   
 Hello interval: 3 sec         Max Hello misses: 3                              
 Path and Resv message refresh interval: 30 sec                                 
 Path and Resv message refresh retries count: 3                                 
 Blockade Multiplier: 4                                                         
 Graceful-Restart Capability: GR-Support GR-Self                                
 Restart Time:  90000 Millisecond                                               
 Recovery Time: 0 Millisecond                                                   
 Bfd Enabled: DISABLE                  Bfd Min-Tx: 1000                         
 Bfd Min-Rx: 1000                      Bfd Detect-Multi: 3                      
 Soft Preemption Timeout: 30 sec 
Table 9-60  Description of the display mpls rsvp-te command output

Item

Description

LSR ID

LSR ID in the format X.X.X.X.

RSVP-TE Function Capability

Whether or not RSVP-TE is enabled. To enable the RSVP-TE function, run the mpls rsvp-te command.

Resv Confirmation Request

Whether or not reservation confirmation is requested. To enable the reservation confirmation mechanism, run the mpls rsvp-te resvconfirm command.

RSVP Hello Extension

Whether or not the RSVP Hello extension is enabled. To enable the RSVP Hello extension, run the mpls rsvp-te hello command.

Hello interval

The interval at which Hello messages are sent, in seconds. To specify the interval, run the mpls rsvp-te timer hello command.

Max Hello misses

Maximum number of times for the consecutively lost Hello messages. To specify the maximum number, run the mpls rsvp-te hello-lost command.

Path and Resv message refresh interval

Time interval at which the Path and Resv messages are refreshed, in seconds. To specify the interval, run the mpls rsvp-te timer refresh command.

Path and Resv message refresh retries count

Number of retry times allowed for refreshing the Path and Resv messages. To specify the number, run the mpls rsvp-te keep-multiplier command.

Blockade Multiplier

Multiplier for keeping the blocked state.

Graceful-Restart Capability

RSVP GR capability of a device:
  • GR-Support GR-Self: indicates that the RSVP GR on the local node is enabled and the RSVP GR of the neighbor is supported.

  • GR-Self: indicates that the RSVP GR is enabled only on the local node.

  • GR-Support: indicates that the RSVP GR of the neighbor is supported.

  • DISABLE: indicates that the RSVP GR is disabled.
To enable the RSVP GR capability, run the mpls rsvp-te hello support-peer-gr command ormpls rsvp-te hello full-gr command.

Restart Time

Start time of the GR process, in milliseconds. It is displayed only after the command mpls rsvp-te hello basic-restart-time is run.

Recovery Time

Time spent on recovering all LSPs, in milliseconds. It is displayed only after the command mpls rsvp-te hello basic-restart-time is run.

Bfd Enabled

Whether or not the BFD for RSVP is enabled globally in the MPLS view:
  • ENABLE: indicates that BFD for RSVP is globally enabled in the MPLS view.
  • DISABLE: indicates that BFD for RSVP is globally disabled in the MPLS view.
To enable the BFD for RSVP function, run the mpls rsvp-te bfd all-interfaces enable command.

Bfd Min-Tx

Local interval at which BFD packets are sent, in milliseconds. To specify the interval, run the mpls rsvp-te bfd all-interfaces command.

Bfd Min-Rx

Local interval at which BFD packets are received, in milliseconds. To specify the interval, run the mpls rsvp-te bfd all-interfaces command.

Bfd Detect-Multi

Local BFD detection multiplier. To specify the multiplier, run the mpls rsvp-te bfd all-interfaces command.

Soft Preemption Timeout

Timeout period of soft preemption.

display mpls rsvp-te bfd session

Function

The display mpls rsvp-te bfd session command displays information about the BFD session for RSVP.

Format

display mpls rsvp-te bfd session { all | interface interface-type interface-number | peer ip-address } [ verbose ]

Parameters

Parameter Description Value
all Displays information about all the BFD sessions for RSVP. -
interface interface-type interface-number Displays information about the BFD session for RSVP on the specified interface. -
peer ip-address Displays information about the BFD session for RSVP of the specified peer. The value is in dotted decimal notation.
verbose Displays detailed information about a BFD session for RSVP. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the information about the BFD session for RSVP, run the display mpls rsvp-te bfd session command.

Example

# Display information about a BFD session for RSVP.

<HUAWEI> display mpls rsvp-te bfd session all
Total Nbrs/Rsvp triggered sessions : 1/1
---------------------------------------------------------------------
Local      Remote     Local           Peer            Interface      Session
Discr      Discr      Addr            Addr            Name           State
---------------------------------------------------------------------
8192       8192       10.1.1.1        10.1.1.2        VLANIF100        UP

# Display detailed information about a BFD session for RSVP.

<HUAWEI> display mpls rsvp-te bfd session all verbose
Total Nbrs/Rsvp triggered sessions : 1/1
---------------------------------------------------------------------
  Local Discriminator      :  8192
  Remote Discriminator     :  8192
  Local Address            :  10.1.1.1
  Peer Address             :  10.1.1.2
  Interface Name           :  VLANIF100
  ActTx                    :  1000
  ActRx                    :  1000
  ActMulti                 :  3
  Session State            :  UP
Table 9-61  Description of the display mpls rsvp-te bfd session command output

Item

Description

Total Nbrs/Rsvp triggered sessions

Number of BFD neighbors or RSVP-triggered sessions in the system or interface view.

Local Discr/Local Discriminator

Local discriminator of a BFD session. The value 0 indicates an invalid discriminator. To specify a local discriminator of a BFD session, run the discriminator command.

Remote Discr/Remote Discriminator

Remote discriminator of a BFD session. The value 0 indicates an invalid discriminator. To specify a remote discriminator of a BFD session, run the discriminator command.

Local Addr/Local Address

IP address of the local node in a BFD session.

Peer Addr/Peer Address

IP address of the peer in a BFD session.

Interface Name

Outgoing interface of a BFD session.

ActTx/ActRx/ActMulti

Parameters of a BFD session: To specify parameters of a BFD session, run the mpls rsvp-te bfd all-interfaces command.
  • ActTx: indicates the actual interval at which BFD packets are sent, in milliseconds.

  • ActRx: indicates the actual interval at which BFD packets are received, in milliseconds.

  • ActMulti: indicates the actual local detection multiplier. The default value is 3.

Session State

Status of a BFD session:
  • UP: indicates that the BFD session is Up.

  • DOWN: indicates that the BFD session is Down.

  • NONE: indicates that no BFD session is created.

  • ADMIN DOWN: indicates that the administrator manually closes the BFD session.

  • INITIAL: indicates the BFD session is in the Initial state.

display mpls rsvp-te established

Function

The display mpls rsvp-te established command displays information about RSVP resource reservation based on an interface, and about the RSVP-TE LSPs that pass through the interface.

Format

display mpls rsvp-te established [ interface interface-type interface-number peer-ip-address ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and number of an interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
peer-ip-address Specifies the IP address of an interface on the RSVP peer connected to the local device. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If an interface is specified, information about the establishment of the RSVP-TE LSP on this interface is displayed.

Example

# Display information about the establishment of the RSVP-TE LSPs of all interfaces.

<HUAWEI> display mpls rsvp-te established
Interface: Outgoing-Interface at the Egress                                     
 Token Bucket Rate: 0.00            Peak Data Rate: 0.00                        
 Tunnel Addr: 10.1.1.9              Ingress LSR ID: 10.3.3.9                     
 Local LSP ID: 4                    Session Tunnel ID: 301                      
 Next Hop Addr:  -----                                                          
 Upstream Label: 3                                                              
                                                                                
 Token Bucket Rate: 0.00            Peak Data Rate: 0.00                        
 Tunnel Addr: 10.1.1.9              Ingress LSR ID: 10.3.3.9                     
 Local LSP ID: 4                    Session Tunnel ID: 300                      
 Next Hop Addr:  -----                                                          
 Upstream Label: 3                                                              
                                                                                
 Token Bucket Rate: 0.00            Peak Data Rate: 0.00                        
 Tunnel Addr: 10.3.3.9              Ingress LSR ID: 10.1.1.9                     
 Local LSP ID: 3                    Session Tunnel ID: 300                      
 Next Hop Addr: 172.16.1.2                                                       
 Upstream Label: NULL               Downstream Label: 1040                      
                                                                                
 Token Bucket Rate: 0.00            Peak Data Rate: 0.00                        
 Tunnel Addr: 10.3.3.9              Ingress LSR ID: 10.1.1.9                     
 Local LSP ID: 2                    Session Tunnel ID: 301                      
 Next Hop Addr: 172.16.1.2                                                       
 Upstream Label: NULL               Downstream Label: 1038                      
                                                                                
Table 9-62  Description of the display mpls rsvp-te established command output

Item

Description

Interface: Outgoing-Interface at the Egress

Information about RSVP resource reservation based on the outgoing interface on the egress node and about the RSVP LSPs that pass through the interface.

Token Bucket Rate

Token bucket rate, in byte/s.

Peak Data Rate

Peak data rate, in byte/s.

Tunnel Addr

Tunnel address in the format X.X.X.X.

Ingress LSR ID

LSR ID on the ingress in the format X.X.X.X.

Local LSP ID

Local LSP ID.

Session Tunnel ID

Tunnel ID.

Next Hop Addr

Next-hop address in the format X.X.X.X.

Upstream Label

Value of an incoming label.

Downstream Label

Value of an outgoing label.

Related Topics

display mpls rsvp-te graceful-restart

Function

The display mpls rsvp-te graceful-restart command displays the status of RSVP GR.

Format

display mpls rsvp-te graceful-restart

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After completing the RSVP GR configuration, you can run the display mpls rsvp-te graceful-restart command to view the RSVP-TE GR status.

Example

# Display the status of RSVP-TE GR.

<HUAWEI> display mpls rsvp-te graceful-restart
Display Mpls Rsvp te graceful restart information                               
 LSR ID: 1.1.1.9                                                                
 Graceful-Restart Capability:   GR-Self GR-Support                              
 Restart Time:  90000 Milli Second                                              
 Recovery Time: 0 Milli Second                                                  
 GR Status:  Gracefully Restart Not going on                                    
 Number of Restarting neighbors: 0                                              
 Number of LSPs recovered: 0                                                    
 Received Gr Path message count: 0                                              
 Send Gr Path message count: 0                                                  
 Received RecoveryPath message count: 0                                         
 Send RecoveryPath message count: 0                                             
Table 9-63  Description of the display mpls rsvp-te graceful-restart command output

Item

Description

LSR ID

LSR ID.

Graceful-Restart Capability

RSVP GR capability of a device.

Restart Time

Restart time for a device, in milliseconds.To set the restart time, run the mpls rsvp-te hello basic-restart-time command.

Recovery Time

Time spent on recovering all LSPs, in milliseconds.To set the recovery time, run the mpls rsvp-te hello basic-restart-time command.

GR Status

RSVP GR status of the local device:
  • Gracefully Restart Not going on: indicates that the protocol is not entering the GR process.

  • Gracefully Restart on going restarting: indicates that the protocol has entered the GR process.

  • Gracefully Restart on going recovery: indicates that the configurations are being restored.

Number of Restarting neighbors

Number of supporting nodes.

Number of LSPs recovered

Number of recovered LSPs.

Received Gr Path message count

Number of Path messages received by restarting nodes.

Send Gr Path message count

Number of Path messages sent by supporting nodes.

Received RecoveryPath message count

Number of Recovery Path messages received by restarting nodes.

Send RecoveryPath message count

Number of Recovery Path messages sent by supporting nodes.

display mpls rsvp-te graceful-restart peer

Function

The display mpls rsvp-te graceful-restart peer command displays the status of RSVP GR on a neighbor.

Format

display mpls rsvp-te graceful-restart peer [ { interface interface-type interface-number | node-id } [ ip-address ] ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays the RSVP GR status of a neighbor on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
node-id Displays the RSVP GR status of a manually-configured neighbor. -
ip-address Specifies the IP addresses of a neighbor. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the RSVP-TE GR status of a specified RSVP neighbor, run the display mpls rsvp-te graceful-restart peer command.

Example

# Display the RSVP-TE GR status of the neighbor.

<HUAWEI> display mpls rsvp-te graceful-restart peer
 Neighbor on Interface Vlanif100                                            
 Neighbor Addr: 172.16.1.2             Last Attribute: Added Usually            
 SrcInstance: 0x7C832B3D               NbrSrcInstance: 0x6A48E0F5               
 Neighbor Capability:                                                           
                    Can Do Self GR                                              
                    Can Support GR                                              
 GR Status:          Normal                                                     
 Restart Time:  90000 Millisecond                                               
 Recovery Time: 0 Millisecond                                                   
 Stored GR message number: 0                                                    
 PSB Count: 0                          RSB Count: 1                             
 Total to be Recover PSB Count: 0     Recovered PSB Count: 0                    
 Total to be Recover RSB Count: 0     Recovered RSB Count: 0                    
 P2MP PSB Count: 0                     P2MP RSB Count: 0                        
 Total to be Recover P2MP PSB Count: 0     Recovered P2MP PSB Count: 0          
 Total to be Recover P2MP RSB Count: 0     Recovered P2MP RSB Count: 0   
Table 9-64  Description of the display mpls rsvp-te graceful-restart peer command output

Item

Description

Neighbor Addr

IP address of a neighbor.

Last Attribute

Neighbor attribute:

  • Added Usually: indicates the neighbor is discovered based on an interface.

  • Added by Node-Id: indicates the neighbor is discovered based on the configured node ID.

  • To be deleted: indicates the neighbor that is to be deleted because of the Hello timeout.

  • Add by Frr: indicates an FRR neighbor.

SrcInstance

Source instance.

NbrSrcInstance

Source instance of a neighbor.

Neighbor Capability

GR capability of a neighbor:
  • Can Do Self GR: indicates that the neighbor can perform GR.

  • Can Support GR: indicates that the neighbor has the capability of supporting GR.

  • Can Transmit Recovery Path Messages: indicates that the neighbor can send Recovery Path messages.

  • No Gr capabilities: indicates that the neighbor does not have the capability of supporting GR.

GR Status

GR status of a neighbor:
  • Normal: indicates that the neighbor does not perform GR.

  • Supporting: indicates that the neighbor is supporting the local node of performing GR.

  • Restarting: indicates that the neighbor is supporting the local node of the restart.

Restart Time

Restart time of a neighbor, in milliseconds.

Recovery Time

Recovery time of a neighbor, in milliseconds.

Stored GR message number

Number of GR messages stored on the supporting node.

PSB Count

Number of PSBs.

RSB Count

Number of RSBs.

Total to be Recover PSB Count

Total number of the PSBs to be recovered.

Recovered PSB Count

Number of the recovered PSBs.

Total to be Recover RSB Count

Total number of the RSBs to be recovered.

Recovered RSB Count

Number of recovered RSBs.

P2MP PSB Count

Number of P2MP PSBs

P2MP RSB Count

Number of P2MP RSBs

Total to be Recover P2MP PSB Count

Number of P2MP PSBs to be restored after the GR process is complete

Recovered P2MP PSB Count

Number of P2MP PSBs that have been restored after the GR process is complete

Total to be Recover P2MP RSB Count

Number of P2MP RSBs to be restored after the GR process is complete

Recovered P2MP RSB Count

Number of P2MP RSBs that have been restored after the GR process is complete

display mpls rsvp-te interface

Function

The display mpls rsvp-te interface command displays the RSVP-TE configurations on an interface.

Format

display mpls rsvp-te interface [ interface-type interface-number ]

Parameters

Parameter Description Value
interface-type interface-number Specifies the interface type and number.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If the type and number of an interface is not specified, the display mpls rsvp-te interface command displays the RSVP-TE information of all RSVP TE-enabled interfaces.

Example

# Display information about RSVP-TE of a specified interface.

<HUAWEI> display mpls rsvp-te interface vlanif 100
Interface: Vlanif100                                                 
 Interface Address: 11.11.11.11                                                 
 Interface state: UP                   Interface Index: 0x4                     
 Total-BW: 0                           Used-BW: 0                               
 Hello configured: NO                  Num of Neighbors: 0                      
 SRefresh feature: DISABLE             SRefresh Interval: 30 sec                
 Mpls Mtu: 1500                        Retransmit Interval: 5000 msec           
 Increment Value: 1                                                             
 Authentication: DISABLE                                                        
 Bfd Enabled: DISABLE                  Bfd Min-Tx: 400                          
 Bfd Min-Rx: 300                       Bfd Detect-Multi: 4 
Table 9-65  Description of the display mpls rsvp-te interface command output

Item

Description

Interface

Name of a tunnel interface.

Interface Address

IP address of an interface.

Interface state

Interface status:
  • UP

  • DOWN

Interface Index

Index of an interface.

Total-BW

Total available bandwidth of an interface, in kbit/s.

Used-BW

Total bandwidth of an interface in use, in kbit/s.

Hello configured

Whether or not the Hello feature is configured on an interface:
  • YES: indicates that the Hello feature is configured.

  • NO: indicates that the Hello feature is not configured.

Num of Neighbors

Number of neighbor devices of the local node.

SRefresh feature

Whether or not the Srefresh feature is enabled. To enable the Srefresh feature, run the mpls rsvp-te srefresh command in the interface view.

SRefresh Interval

Value of the Srefresh timer, in seconds. To specify the value of the Srefresh timer, run the mpls rsvp-te timer refresh command.

Mpls Mtu

MTU value used in MPLS forwarding.

Retransmit Interval

Value of the Retransmit timer, in milliseconds. To specify the value of the Retransmit timer, run the mpls rsvp-te timer retransmission command.

Increment Value

Retransmission increment. To specify the retransmission increment, run the mpls rsvp-te timer retransmission command.

Authentication

Whether or not the authentication function is enabled:
  • ENABLE: indicates that the authentication function is enabled.

  • DISABLE: indicates that the authentication function is disabled.

To enable the authentication function, run the mpls rsvp-te authentication command.

Bfd Enabled

Whether or not BFD for RSVP is enabled on the interface:
  • ENABLE: indicates that BFD for RSVP is enabled on the interface.
  • DISABLE: indicates that BFD for RSVP is not enabled on the interface.
To enable BFD for RSVP, run the mpls rsvp-te bfd enable command.

Bfd Min-Tx

Local interval at which BFD packets are sent, in milliseconds. To specify the local minimum interval at which BFD packets are sent, run the mpls rsvp-te bfd command.

Bfd Min-Rx

Local interval at which BFD packets are received, in milliseconds. To specify the local minimum interval at which BFD packets are received, run the mpls rsvp-te bfd command.

Bfd Detect-Multi

Local BFD detection multiplier. To specify the local BFD detection multiplier, run the mpls rsvp-te bfd command.

display mpls rsvp-te peer

Function

The display mpls rsvp-te peer command displays information about RSVP-TE neighbor devices on an RSVP-TE-enabled interface.

Format

display mpls rsvp-te peer [ interface interface-type interface-number ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays information about RSVP-TE of a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no interface is specified, information about RSVP-TE neighbors of all interfaces is displayed.

Example

# Display information about RSVP-TE neighbors of all interfaces.

<HUAWEI> display mpls rsvp-te peer
 Remote Node id Neighbor                                                        
 Neighbor Addr:  -----                                                          
 SrcInstance: 0x3A76A0FA               NbrSrcInstance: 0x0                      
 PSB Count: 2                          RSB Count: 2                             
 Hello Type Sent: REQ                                                           
 SRefresh Enable: NO                                                            
 Last valid seq # rcvd: NULL                                                    
                                                                                
Interface: Vlanif10                                                 
 Neighbor Addr: 172.16.1.2                                                       
 SrcInstance: 0x3A76A0FA               NbrSrcInstance: 0x22A6B5C2               
 PSB Count: 2                          RSB Count: 2                             
 Hello Type Sent: REQ                  Neighbor Hello Extension: ENABLE         
 SRefresh Enable: NO                                                            
 Last valid seq # rcvd: NULL                                                    
Table 9-66  Description of the display mpls rsvp-te peer command output

Item

Description

Neighbor Addr

Neighboring device address.

SrcInstance

Source instance.

NbrSrcInstance

Source instance of a neighbor device.

PSB Count

Number of Path State Blocks (PSBs).

RSB Count

Number of Reservation State Blocks (RSBs).

Hello Type Sent

Type of Hello message sent to the neighbor device:
  • REQ
  • ACK
  • NONE

Neighbor Hello Extension

Whether or not the Hello extension feature of the neighboring device is enabled.

SRefresh Enable

Whether or not the Srefresh mechanism is enabled:
  • YES
  • NO

Last valid seq # rcvd

Serial number of the valid RSVP message last received.

Related Topics

display mpls rsvp-te psb-content

Function

The display mpls rsvp-te psb-content command displays information about an RSVP TE Path State Block (PSB).

Format

display mpls rsvp-te psb-content [ ingress-lsr-id tunnel-id lsp-id ]

Parameters

Parameter Description Value
ingress-lsr-id Specifies the LSR ID of the ingress. The value is in dotted decimal notation.
tunnel-id Specifies the tunnel ID. The value is an integer that ranges from 0 to 65535.
lsp-id Specifies the LSP ID. The value is an integer that ranges from 0 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no parameter is specified, information about all RSVP-TE PSBs is displayed.

Example

# Display information about the PSB.

<HUAWEI> display mpls rsvp-te psb-content 10.1.1.9 100 7
==============================================================
                       The PSB Content
==============================================================
 Tunnel Addr: 10.4.4.9                      Exist time: 17h 12m 57s
 Tunnel ExtID: 10.1.1.9                    Session ID: 100
 Ingress LSR ID: 10.1.1.9                  Local LSP ID: 7
 Previous Hop : 172.16.1.1/0x2d    Next Hop : 172.20.1.2
 Incoming / Outgoing Interface: Vlanif100  / Vlanif20
 InLabel : 1028                            OutLabel : 1028
 Send Message ID : 30                      Recv Message ID : 0
 Refresh Timer : 510224684                 Cleanup Timer : 408260940
 Session Attribute-
  SetupPrio: 7         HoldPrio: 7
  SessionAttrib: Local Protect desired. Node Protect desired. Label Recording de
sired. SE Style desired.
 LSP Type: -
 FRR Flag : Will be MP                     Local RRO Flag : 0x1
 ERO Information-
     L-Type         ERO-IPAddr       ERO-PrefixLen
   ERHOP_STRICT    172.20.1.2            32
   ERHOP_STRICT    172.30.1.1            32
   ERHOP_STRICT    172.30.1.2            32
 Bypass ERO Information-
     L-Type         ERO-IPAddr       ERO-PrefixLen
   ERHOP_STRICT    10.3.3.9               32
   ERHOP_STRICT    172.30.1.1            32
   ERHOP_STRICT    172.30.1.2            32
 RRO Information-
   RRO-CType: IPV4   IPAddress: 172.16.1.1        PrefixLen: 32  Flag: 0x9
   RRO-CType: IPV4   IPAddress: 10.1.1.9          PrefixLen: 32  Flag: 0x20
 SenderTspec Information-
  Token bucket rate: 0.00
  Token bucket size: 1000.00
  Peak data rate: 0.00
  Minimum policed unit: 0
  Maximum packet size: 1500
 Path Message arrive on Vlanif100 from PHOP 172.16.1.1
 Path Message sent to NHOP 172.20.1.2  on Vlanif20
 Resource Reservation OK

 LSP Statistics Information:
   SendPacketCounter: 3623        RecvPacketCounter: 3648
   SendPathCounter: 1794          RecvPathCounter: 1791
   SendResvCounter: 1829          RecvResvCounter: 1857
Table 9-67  Description of the display mpls rsvp-te psb-content command output

Item

Description

Tunnel Addr

Tunnel address in the format X.X.X.X.

Exist time

Duration that an LSP has been established.

Tunnel ExtID

Tunnel extended ID.

Session ID

RSVP session ID

Ingress LSR ID

Ingress address in the format X.X.X.X.

Local LSP ID

Local LSP ID.

Previous Hop

Previous-hop address in the format X.X.X.X.

Next Hop

Next-hop address in the format X.X.X.X.

Incoming / Outgoing Interface

Incoming or outgoing interface through which a tunnel passes on the local device.

InLabel

Value of an incoming label.

OutLabel

Value of an outgoing label.

Send Message ID

ID of the sent refresh reduction message.

Recv Message ID

ID of the received refresh reduction message.

Refresh Timer

Refresh timer.

Cleanup Timer

Timeout timer.

Session Attribute

Attribute of an RSVP session.

SetupPrio

Setup priority of an RSVP session.

HoldPrio

Holding priority of an RSVP session.

SessionAttrib

RSVP session attributes, such as resource reservation style.

LSP Type

Type of LSP.

FRR Flag

State of MPLS TE FRR

Local RRO Flag

Flag bit of the local RRO.

ERO Information

Information about the Explicit Route Object (ERO).

L-Type

Types of the explicit route.

ERO-IPAddr

Explicit route address.

ERO-PrefixLen

Explicit route prefix length.

RRO Information

Information about the Record Route Object (RRO).

RRO-CType

RRO of the C type, IPv4 or label.

IPAddress

IP address of a record route.

PrefixLen

Prefix length of a recorded route.

Flag

Flag bit of a recorded route.

SenderTspec Information

Information about the traffic specification of the sender.

Token bucket rate

Token bucket rate, in byte/s.

Token bucket size

Token bucket size.

Peak data rate

Peak data rate, in byte/s.

Minimum policed unit

Minimum policed unit.

Maximum packet size

Maximum packet size.

Path Message arrive on

Incoming interfaces and previous-hop addresses of messages.

Path Message sent to NHOP

Next-hop addresses and outgoing interfaces of messages.

Resource Reservation OK

Ready state of resource reservation that is displayed only when the resource reserved flag is set.

LSP Statistics Information

Statistics of LSPs.

SendPacketCounter

Number of sent packets.

RecvPacketCounter

Number of received packets.

SendPathCounter

Number of sent Path messages.

RecvPathCounter

Number of received Path messages.

SendResvCounter

Number of sent Resv messages.

RecvResvCounter

Number of received Resv messages.

display mpls rsvp-te request

Function

The display mpls rsvp-te request command displays information about the RSVP-TE request messages on interfaces.

Format

display mpls rsvp-te request [ interface interface-type interface-number peer-ip-address ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays information about RSVP TE request messages on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
peer-ip-address Specifies the IP address of a neighbor device. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no interface name is specified, the command displays information about the RSVP-TE request information of all RSVP-TE-enabled interfaces.

Example

# Display information about RSVP-TE of a specified interface.

<HUAWEI> display mpls rsvp-te request interface vlanif 10 172.16.1.1
Interface: Vlanif10
 Tunnel Addr: 10.2.2.9               Ingress LSR ID: 10.1.1.9
 Local LSP ID: 0                     Session Tunnel ID: 100
 NextHopAddr:  -----
 SessionAttrib: Label Recording desired. SE Style desired.
 Token bucket rate: 0.00             Token bucket size: 1000.00
 Out Interface:  -----
Table 9-68  Description of the display mpls rsvp-te request command output

Item

Description

Interface

Name of the interface that is enabled with RSVP-TE.

Tunnel Addr

Tunnel destination address in the format X.X.X.X.

Ingress LSR ID

LSR ID of the ingress node in the format X.X.X.X.

Local LSP ID

Local identifier of an LSP.

Session Tunnel ID

Tunnel ID

NextHopAddr

Next-hop address in the format X.X.X.X.

SessionAttrib

Session attribute:
  • Local protection desired
  • Label record desired
  • Resource reservation style

Token bucket rate

Token bucket rate.

Token bucket size

Token bucket size.

Out Interface

Outgoing interface of an LSP.

Related Topics

display mpls rsvp-te reservation

Function

The display mpls rsvp-te reservation command displays RSVP-TE resource reservation information of an interface enabled with RSVP-TE.

Format

display mpls rsvp-te reservation [ interface interface-type interface-number peer-ip-address ]

Parameters

Parameter Description Value
interface interface-type interface-number Displays the RSVP-TE reservation information of the interface that is not in stale state.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
peer-ip-address Specifies the IP address of an RSVP-TE neighbor device. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no interface name is specified, the command displays the resource reservation information of all RSVP-TE-enabled interfaces.

Example

# Display information about the RSVP-TE resource reservation information of all interfaces.

<HUAWEI> display mpls rsvp-te reservation
Interface: Outgoing-Interface at the Egress                                     
 Tunnel Addr: 1.1.1.9               Ingress LSR ID: 3.3.3.9                     
 Local LSP ID: 4                    Session Tunnel ID: 301                      
 Upstream Label: 3                                                              
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
                                                                                
 Tunnel Addr: 1.1.1.9               Ingress LSR ID: 3.3.3.9                     
 Local LSP ID: 4                    Session Tunnel ID: 300                      
 Upstream Label: 3                                                              
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
                                                                                
 Tunnel Addr: 3.3.3.9               Ingress LSR ID: 1.1.1.9                     
 Local LSP ID: 3                    Session Tunnel ID: 300                      
 Upstream Label: NULL                                                           
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
                                                                                
 Tunnel Addr: 3.3.3.9               Ingress LSR ID: 1.1.1.9                     
 Local LSP ID: 2                    Session Tunnel ID: 301                      
 Upstream Label: NULL                                                           
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
Table 9-69  Description of the display mpls rsvp-te reservation command output

Item

Description

Interface

Name of the interface that is enabled with RSVP-TE

Tunnel Addr

Tunnel destination address in the format X.X.X.X.

Ingress LSR ID

LSR ID of the ingress node in the format X.X.X.X.

Local LSP ID

Local identifier of an LSP.

Session Tunnel ID

Tunnel ID.

Upstream Label

Incoming label.

Token bucket rate

Token bucket rate.

Token bucket size

Token bucket size.

Related Topics

display mpls rsvp-te rsb-content

Function

The display mpls rsvp-te rsb-content command displays information about the RSVP TE Reserve State Block (RSB).

Format

display mpls rsvp-te rsb-content [ ingress-lsr-id tunnel-id lsp-id ]

Parameters

Parameter Description Value
ingress-lsr-id Specifies the ingress LSR ID. The value is in dotted decimal notation.
tunnel-id Specifies the tunnel ID. The value is an integer that ranges from 0 to 65535.
lsp-id Specifies the LSP ID. The value is an integer that ranges from 0 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no parameter is specified, information about all RSVP TE RSBs are displayed.

Example

# Display information about the RSVP TE Reserve State Block.

<HUAWEI> display mpls rsvp-te rsb-content 10.1.1.9 300 3
==============================================================                  
                       The RSB Content                                          
==============================================================                  
 Tunnel Addr: 10.3.3.9                Session Tunnel ID: 300                    
 Tunnel ExtID: 10.1.1.9                                                          
 Next Hop: 172.16.1.2                 Reservation Style: SE Style               
 Reservation Incoming Interface: Vlanif100                           
 Reservation Interface: Vlanif100                                    
 Filter Spec Information-                                                       
   The filter number: 1                                                         
   Ingress LSR ID: 10.1.1.9         Local LSP ID: 3       OutLabel: 1040         
   Cleanup Timer : 504613260                                                    
   RRO Information-                                                             
     RRO-CType: IPV4   RRO-IPAddress: 172.16.1.2       RRO-IPPrefixLen: 32    
     RRO-CType: Label    RRO-Label: 1040   
     RRO-CType: IPV4   RRO-IPAddress: 10.2.2.9         RRO-IPPrefixLen: 32    
     RRO-CType: Label    RRO-Label: 1040   
     RRO-CType: IPV4   RRO-IPAddress: 172.20.1.1       RRO-IPPrefixLen: 32      
     RRO-CType: IPV4   RRO-IPAddress: 172.20.1.2       RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 3
     RRO-CType: IPV4   RRO-IPAddress: 10.3.3.9         RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 3
   Message ID : 0               
 FlowSpec Information-                                                          
   Token bucket rate: 0.00                                                      
   Token bucket size: 1000.00                                                   
   Peak data rate: 0.00                                                         
   Minimum policed unit: 0                                                      
   Maximum packet size: 1500                                                    
   Bandwidth guarantees: 0.00                                                   
   Delay guarantees: 0                                                          
   Qos Service is Controlled                                                    
 Resv Message arrive on Vlanif100 from NHOP 172.16.1.2                
Table 9-70  Description of the display mpls rsvp-te rsb-content command output

Item

Description

Tunnel Addr

Tunnel destination address in the format X.X.X.X.

Session Tunnel ID

Tunnel ID.

Tunnel ExtID

Tunnel extension ID (ingress LSR ID) in the format X.X.X.X.

Next Hop

Next-hop address in the format X.X.X.X.

Reservation Style

Reservation style:
  • SE

  • FF

Reservation Incoming Interface

Incoming interface for the reservation message.

Reservation Interface

Name of the interface on which bandwidth is reserved.

Message ID

ID of the Refresh Reduction message.

Filter Spec Information

Filtering conditions.

The filter number

Total number of filters.

Ingress LSR ID

LSR ID of the ingress node in the format X.X.X.X.

Local LSP ID

Local identifier of an LSP.

OutLabel

Outgoing label.

Cleanup Timer

Timeout timer.

RRO Information

Information about the RRO.

RRO-CType

Class type in the RRO:
  • IPv4

  • Label

RRO-IPAddress

IP address in the RRO, in the format X.X.X.X.

RRO-IPPrefixLen

Length of the route prefix in the RRO.

RRO-Label

Label information in the RRO

FlowSpec Information

Traffic information including flow specifications.

Token bucket rate

Token bucket rate, in byte/s.

Token bucket size

Token bucket size.

Peak data rate

Peak data rate, in byte/s.

Minimum policed unit

Minimum policed unit.

Maximum packet size

Maximum packet size.

Bandwidth guarantees

Bandwidth guarantee.

Delay guarantees

Delay guarantee.

Qos Service

QoS guarantee/control.

Resv Message

Reservation message received on an interface.

display mpls rsvp-te sender

Function

The display mpls rsvp-te sender command displays information about an RSVP-TE enabled interface as an RSVP-TE sender.

Format

display mpls rsvp-te sender [ interface interface-type interface-number peer-ip-address ]

Parameters

Parameter Description Value
interface interface-type interface-number Specifies the type and number of the interface receiving Path messages.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-
peer-ip-address Specifies the IP address of the outgoing interface on the previous hop sending Path messages. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If no interface name is specified, the command displays the information about all RSVP-TE enabled interfaces as RSVP-TE senders.

Example

# Display information about all RSVP-TE enabled interfaces as RSVP-TE senders.

<HUAWEI> display mpls rsvp-te sender
Interface: Incoming-Interface at the Ingress                                    
 Tunnel Addr: 10.3.3.9               Ingress LSR ID: 10.1.1.9                     
 Local LSP ID: 3                    Session Tunnel ID: 300                      
 Session Name: Tunnel1                                                      
 Previous Hop Address:  -----                                                   
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
                                                                                
 Tunnel Addr: 10.1.1.9               Ingress LSR ID: 10.3.3.9                     
 Local LSP ID: 4                    Session Tunnel ID: 300                      
 Session Name: Tunnel1                                                      
 Previous Hop Address: 172.16.1.2                                                
 Token bucket rate: 0.00            Token bucket size: 1000.00                  
                                                                                
Table 9-71  Description of the display mpls rsvp-te sender command output

Item

Description

Tunnel Addr

Tunnel destination address in the format X.X.X.X.

Ingress LSR ID

LSR ID of the ingress node in the format X.X.X.X.

Local LSP ID

Local LSP ID.

Session Tunnel ID

Tunnel ID.

Session Name

Name of a session.

Previous Hop Address

Previous-hop address in the format X.X.X.X.

Token bucket rate

Token bucket rate.

Token bucket size

Token bucket size.

Interface: Incoming-Interface at the Ingress

Information about the RSB functioning as the ingress on the local node.

Related Topics

display mpls rsvp-te session

Function

The display mpls rsvp-te session command displays all information about any specified RSVP session.

Format

display mpls rsvp-te session ingress-lsr-id tunnel-id egress-lsr-id

Parameters

Parameter Description Value
ingress-lsr-id Specifies the ingress LSR ID. The value is in dotted decimal notation.
tunnel-id Specifies the tunnel ID. The value is an integer that ranges from 0 to 65535.
egress-lsr-id Specifies the egress LSR ID. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Information about the RSVP session includes information about the Path State Block (PSB), Reservation State Block (RSB), and ReFresh State Block (RFSB).

Example

# Display all information about the RSVP session between nodes 10.1.1.9 and 10.3.3.9 (Tunnel ID is 300).

<HUAWEI> display mpls rsvp-te session 10.1.1.9 300 10.3.3.9
==============================================================                  
  Display PSB, RSB and RFSB information in session table                        
==============================================================                  
==============================================================                  
                       The PSB Content                                          
==============================================================                  
 Tunnel Addr: 10.3.3.9                     Exist time: 1h 1m 4s                 
 Tunnel ExtID: 10.1.1.9                    Session ID: 300                      
 Ingress LSR ID: 10.1.1.9                  Local LSP ID: 4                      
 Previous Hop :  ----- /0x0     Next Hop : 172.16.1.2                            
 Incoming / Outgoing Interface: -----  / Vlanif100                   
 InLabel : NULL                            OutLabel : 1042                      
 Send Message ID : 29                      Recv Message ID : 0                  
 Refresh Timer : 504613692                 Cleanup Timer : ---                  
 Session Attribute-                                                             
  SetupPrio: 0         HoldPrio: 0                                              
  SessionAttrib: Local Protect desired. Node Protect desired. Label Recording de
sired. SE Style desired.                                                        
 LSP Type: -                                                                    
 FRR Flag : No protection                  Local RRO Flag : 0x0                 
 ERO Information-                                                               
     L-Type         ERO-IPAddr       ERO-PrefixLen                              
   ERHOP_STRICT    172.16.1.2            32                                     
   ERHOP_STRICT    172.20.1.1            32                                     
   ERHOP_STRICT    172.20.1.2            32                                     
 RRO Information-                                                               
    -----                                                                       
 SenderTspec Information-                                                       
  Token bucket rate: 0.00                                                       
  Token bucket size: 1000.00                                                    
  Peak data rate: 0.00                                                          
  Minimum policed unit: 0                                                       
  Maximum packet size: 4294967295                                               
 Path Message arrive on ----- from PHOP  -----                                  
 Path Message sent to NHOP 172.16.1.2  on Vlanif100                   
 Resource Reservation OK                                                        
                                                                                
 LSP Statistics Information:                                                    
   SendPacketCounter: 106         RecvPacketCounter: 115                        
   SendPathCounter: 106           RecvPathCounter: 0                            
   SendResvCounter: 0             RecvResvCounter: 115                          
                                                                                
==============================================================                  
                       The RSB Content                                          
==============================================================                  
 Tunnel Addr: 10.3.3.9                Session Tunnel ID: 300                    
 Tunnel ExtID: 10.1.1.9                                                          
 Next Hop: 172.16.1.2                 Reservation Style: SE Style               
 Reservation Incoming Interface: Vlanif100                           
 Reservation Interface: Vlanif100                                    
 Message ID : 0                                                                 
 Filter Spec Information-                                                       
   The filter number: 1                                                         
   Ingress LSR ID: 10.1.1.9        Local LSP ID: 4       OutLabel: 1042         
   Cleanup Timer : 504613800                                                    
   RRO Information-                                                             
     RRO-CType: IPV4   RRO-IPAddress: 172.16.1.2       RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 1042                                        
     RRO-CType: IPV4   RRO-IPAddress: 10.2.2.9         RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 1042                                        
     RRO-CType: IPV4   RRO-IPAddress: 172.20.1.1       RRO-IPPrefixLen: 32      
     RRO-CType: IPV4   RRO-IPAddress: 172.20.1.2       RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 3                                           
     RRO-CType: IPV4   RRO-IPAddress: 10.3.3.9         RRO-IPPrefixLen: 32      
     RRO-CType: Label    RRO-Label: 3                                           
 FlowSpec Information-                                                          
   Token bucket rate: 0.00                                                      
   Token bucket size: 1000.00                                                   
   Peak data rate: 0.00                                                         
   Minimum policed unit: 0                                                      
   Maximum packet size: 1500                                                    
   Bandwidth guarantees: 0.00                                                   
   Delay guarantees: 0                                                          
   Qos Service is Controlled                                                    
 Resv Message arrive on Vlanif100 from NHOP 172.16.1.2                
Table 9-72  Description of the display mpls rsvp-te session command output

Item

Description

The PSB Content

Contents of the PSB.

Tunnel Addr

Tunnel destination address in the format X.X.X.X.

Exist time

Time elapsed since the PSB is created.

Tunnel ExtID

Tunnel extension ID (ingress LSR ID) in the format X.X.X.X.

Session ID/ Session Tunnel ID

Tunnel ID.

Ingress LSR ID

LSR ID of the ingress node in the format X.X.X.X.

Local LSP ID

Local LSP ID.

Previous Hop

Previous-hop address in the format X.X.X.X.

Next Hop

Next-hop address in the format X.X.X.X.

Incoming / Outgoing Interface

Name of the incoming or outgoing interface.

InLabel

Value of an incoming label.

OutLabel

Value of an outgoing label.

Send Message ID

ID of the sent refresh reduction message.

Recv Message ID

ID of the received refresh reduction message.

Refresh Timer

ID of the Refresh timer.

Cleanup Timer

ID of the Cleanup timer.

Session Attribute

Attribute of a session.

SetupPrio

Setup priority of a session.

HoldPrio

Holding priority of a session.

SessionAttrib

Session attributes, including required local protection, bandwidth protection, node protection, label record, and reservation style.

LSP Type

Type of an LSP.

FRR Flag

Flag bit of FRR:
  • No protection: indicates no FRR protection.

  • PLR in use: provides protection on the Point of Local Repair.

  • MP in use: provides protection on the Merge Point.

  • Under protecting: provides FRR protection.

Local RRO Flag

Flag bit of the local RRO.

ERO Information

Information about the Explicit Route Object (ERO).

L-Type

Types of the explicit route:
  • ERHOP_STRICT

  • ERHOP_LOOSE

ERO-IPAddr

Explicit route address.

ERO-PrefixLen

Explicit route prefix length.

RRO Information

Information about the Record Route Object (RRO).

RRO-CType

Class C routes, including IPv4 or IPv6 addresses and labels recorded.

RRO-IPAddress

IPv4 or IPv6 address of the recorded route.

RRO-IPPrefixLen

Prefix length of a recorded route.

RRO-Label

Label information in the RRO.

SenderTspec Information

Information about the traffic specification of the sender.

Token bucket rate

Token bucket rate, in byte/s.

Token bucket size

Token bucket size.

Peak data rate

Peak data rate, in byte/s.

Minimum policed unit

Minimum policed unit.

Maximum packet size

Maximum packet size, in bytes.

Path Message arrive on

Pre-hop addresses and incoming interfaces of messages.

Path Message sent to

Next-hop addresses and outgoing interfaces of messages.

Resource Reservation OK

Displayed only when the resource reservation flag is set.

LSP Statistics Information

Statistics of LSPs.

SendPacketCounter

Number of sent packets.

RecvPacketCounter

Number of received packets.

SendPathCounter

Number of sent Path messages.

RecvPathCounter

Number of received Path messages.

SendResvCounter

Number of sent Resv messages.

RecvResvCounter

Number of received Resv messages.

The RSB Content

Number of Reservation State Blocks (RSBs).

Reservation Style

Reservation style:
  • SE: Shared Explicit Style

  • FF: Fixed-Filter Style

Reservation Incoming Interface

Incoming interface for the reservation message.

Reservation Interface

Name of the interface on which bandwidth is reserved.

Message ID

Message ID locally allocated, used in the Srefresh feature and reliability.

Filter Spec Information

Filtering conditions.

The filter number

Total number of filters.

FlowSpec Information

Information about flow specifications.

Bandwidth guarantees

Bandwidth guarantee.

Delay guarantees

Delay guarantee.

Qos Service is Controlled

QoS guarantee.

Resv Message arrive on

Incoming interfaces and previous-hop addresses of messages.

display mpls rsvp-te statistics

Function

The display mpls rsvp-te statistics command displays statistics on RSVP-TE.

Format

display mpls rsvp-te statistics { global | interface [ interface-type interface-number ] }

Parameters

Parameter Description Value
global Displays the global statistics on RSVP-TE. -
interface Displays statistics on RSVP-TE on all interface that enabled RSVP-TE function. -
interface-type interface-number Displays statistics on RSVP-TE on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the statistics on RSVP-TE, run the display mpls rsvp-te statistics command.

Example

# Display the global RSVP-TE statistics.

<HUAWEI> display mpls rsvp-te statistics global
 LSR ID: 10.1.1.1                     LSP Count: 0                              
 PSB Count: 0                         RSB Count: 0                              
 RFSB Count: 0                                                                  
                                                                                
Total Statistics Information:                                                   
 PSB CleanupTimeOutCounter: 0         RSB CleanupTimeOutCounter: 0              
 SendPacketCounter: 0                 RecPacketCounter: 0                       
 SendCreatePathCounter: 0             RecCreatePathCounter: 0                   
 SendRefreshPathCounter: 0            RecRefreshPathCounter: 0                  
 SendCreateResvCounter: 0             RecCreateResvCounter: 0                   
 SendRefreshResvCounter: 0            RecRefreshResvCounter: 0                  
 SendResvConfCounter: 0               RecResvConfCounter: 0                     
 SendHelloCounter: 0                  RecHelloCounter: 0                        
 SendAckCounter: 0                    RecAckCounter: 0                          
 SendPathErrCounter: 0                RecPathErrCounter: 0                      
 SendResvErrCounter: 0                RecResvErrCounter: 0                      
 SendPathTearCounter: 0               RecPathTearCounter: 0                     
 SendResvTearCounter: 0               RecResvTearCounter: 0                     
 SendSrefreshCounter: 0               RecSrefreshCounter: 0                     
 SendAckMsgCounter: 0                 RecAckMsgCounter: 0                       
 SendChallengeMsgCounter: 0           RecChallengeMsgCounter: 0                 
 SendResponseMsgCounter: 0            RecResponseMsgCounter: 0                  
 SendErrMsgCounter: 0                 RecErrMsgCounter: 0                       
 SendRecoveryPathMsgCounter: 0        RecRecoveryPathMsgCounter: 0              
 SendGRPathMsgCounter: 0              RecGRPathMsgCounter: 0                    
 ResourceReqFaultCounter: 0           RecGRPathMsgFromLSPMCounter: 0            
 Bfd neighbor count: 0                Bfd session count: 0                      
Table 9-73  Description of the display mpls rsvp-te statistics command output

Item

Description

LSR ID

Local LSR ID.

PSB Count

Number of PSBs.

RSB Count

Number of RSBs.

RFSB Count

Number of RFSBs.

LSP Count

Number of LSPs established through RSVP TE.

Total Statistics Information

Total statistics information.

PSB CleanupTimeOutCounter

Number of times that the PSB is reset after the timer expires.

RSB CleanupTimeOutCounter

Number of times that the RSB is reset after the timer expires.

SendPacketCounter

Number of sent packets.

RecPacketCounter

Number of received packets.

SendCreatePathCounter

Number of sent CreatePath messages.

RecCreatePathCounter

Number of received CreatePath messages.

SendRefreshPathCounter

Number of sent RefreshPath messages.

RecRefreshPathCounter

Number of received RefreshPath messages.

SendCreateResvCounter

Number of sent CreateResv messages.

RecCreateResvCounter

Number of received CreateResv messages.

SendRefreshResvCounter

Number of sent RefreshResv messages.

RecRefreshResvCounter

Number of received RefreshResv messages.

SendResvConfCounter

Number of sent ResvConf messages.

RecResvConfCounter

Number of received ResvConf messages.

SendHelloCounter

Number of sent Hello messages.

RecHelloCounter

Number of received Hello messages.

SendAckCounter

Number of sent Ack messages.

RecAckCounter

Number of received Ack messages.

SendPathErrCounter

Number of sent PathErr messages.

RecPathErrCounter

Number of received PathErr messages.

SendResvErrCounter

Number of sent ResvErr messages.

RecResvErrCounter

Number of received ResvErr messages.

SendPathTearCounter

Number of sent PathTear messages.

RecPathTearCounter

Number of received PathTear messages.

SendResvTearCounter

Number of sent ResvTear messages.

RecResvTearCounter

Number of received ResvTear messages.

SendSrefreshCounter

Number of sent Srefresh messages.

RecSrefreshCounter

Number of received Srefresh messages.

SendAckMsgCounter

Number of sent Msg_ID_ACK messages.

RecAckMsgCounter

Number of received Msg_ID_ACK messages.

SendChallengeMsgCounter

Number of sent Challenge messages.

RecChallengeMsgCounter

Number of received Challenge messages.

SendResponseMsgCounter

Number of sent Response messages.

RecResponseMsgCounter

Number of received Response messages.

SendErrMsgCounter

Number of sent Msg_ID_NACK messages.

RecErrMsgCounter

Number of received Msg_ID_NACK messages.

SendRecoveryPathMsgCounter

Number of sent Recovery Path messages.

RecRecoveryPathMsgCounter

Number of received Recovery Path messages.

SendGRPathMsgCounter

Number of sent GR Path messages.

RecGRPathMsgCounter

Number of received GR Path messages.

ResourceReqFaultCounter

Number of failed attempts to request resources.

RecGRPathMsgFromLSPMCounter

Number of GR Path messages received from the LSPM module.

Bfd neighbor count

Number of upstream or downstream BFD peers through which at least one LSP in the Up state passes.

Bfd session count

Number of BFD sessions.

display mpls rsvp-te statistics fast-reroute

Function

The display mpls rsvp-te statistics fast-reroute command displays the CR-LSP statistics on the local node serving as a Point of Local Repair (PLR) or Merge Point (MP).

Format

display mpls rsvp-te statistics fast-reroute

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

This command can be used to check the following information:
  • Number of CR-LSPs in the PLR Available state
  • Number of CR-LSPs in the PLR Inuse state
  • Number of CR-LSPs in the MP Available state
  • Number of CR-LSPs in the MP Inuse state

Example

# Display CR-LSP statistics information on the local node serving as PLR or MP.

<HUAWEI> display mpls rsvp-te statistics fast-reroute
FRR statistics information:                                                     
 PLR AvailLsps: 0                     PLR InuseLsps: 0                          
 MP AvailLsps: 0                      MP InuseLsps: 0                           
Table 9-74  Description of the display mpls rsvp-te statistics fast-reroute command output

Item

Description

PLR AvailLsps

Number of CR-LSPs whose local node is the PLR in the PLR Available state (the CR-LSPs are bound to the bypass tunnel but FRR does not occur on the PLR).

PLR InuseLsps

Number of CR-LSPs whose local node is the PLR in the PLR Inuse state.

MP AvailLsps

Number of CR-LSPs whose local node is the MP in the MP Available state (the CR-LSPs are bound to the bypass tunnel but FRR does not occur on the MP).

MP InuseLsps

Number of CR-LSPs whose local node is the MP in the MP Inuse state.

display mpls static-cr-lsp

Function

The display mpls static-cr-lsp command displays information about a static CR-LSP.

Format

display mpls static-cr-lsp [ lsp-name ] [ { include | exclude } ip-address mask-length ] [ verbose ]

Parameters

Parameter Description Value
lsp-name Specifies the name of an LSP. The value is an existing LSP name.
exclude Displays information about the CR-LSPs without specified destination IP addresses. -
include Displays information about the CR-LSPs of specified destination IP addresses. -
ip-address Specifies the destination IP address. The value is in dotted decimal notation.
mask-length Specifies the mask length of a destination address. The value is an integer that ranges from 0 to 32.
verbose Displays detailed information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the information about static CR-LSPs, run the display mpls static-cr-lsp command.

Example

# Display brief information about static CR-LSPs.

<HUAWEI> display mpls static-cr-lsp
TOTAL         : 2     STATIC CRLSP(S)
UP            : 2     STATIC CRLSP(S)
DOWN          : 0     STATIC CRLSP(S)
Name            FEC               I/O Label    I/O If            Status
Tunnel1       3.3.3.3/32        NULL/20      -/Vlanif10        Up
Tunnel2       -/-               130/NULL     Vlanif10/-         Up
Table 9-75  Description of the display mpls static-cr-lsp command output

Item

Description

TOTAL

Total number of static CR-LSPs.

UP

Number of the static CR-LSPs in the Up state.

DOWN

Number of the static CR-LSPs in the DOWN state.

Name

Name of a static CR-LSP.

FEC

Destination IP address and mask length.

I/O Label

Incoming and outgoing labels.

I/O If

Incoming and outgoing interfaces.

Status

Current status of a CR-LSP.

# Display detailed information about static CR-LSPs.

<HUAWEI> display mpls static-cr-lsp verbose
No             : 1
LSP-Name       : tunnel1
LSR-Type       : Transit
FEC            : -/-
In-Label       : 20
Out-Label      : 30
In-Interface   : Vlanif10
Out-Interface  : Vlanif20
NextHop        : 10.1.3.2
Lsp Status     : Up
Table 9-76  Description of the display mpls static-cr-lsp verbose command output

Item

Description

No

Sequence number of a static CR-LSP.

LSP-Name

Name of a static CR-LSP.

LSR-Type

Type of a static CR-LSP:
  • Ingress
  • Transit
  • Egress

FEC

Destination address and mask length. "-/-" is displayed for the transit node and egress node.

In-Label

Value of an incoming label.

Out-Label

Value of an outgoing label.

In-Interface

Incoming interface.

Out-Interface

Outgoing interface.

NextHop

Next-hop address in the format X.X.X.X.

Lsp Status

Status of a static CR-LSP:
  • Up: indicates that the static CR-LSP is successfully established.
  • Down: indicates that the static CR-LSP fails to be established.
Related Topics

display mpls stale-interface

Function

The display mpls stale-interface command displays information about MPLS interfaces in the Stale state.

Format

display mpls stale-interface [ interface-index ] [ verbose ]

Parameters

Parameter Description Value
interface-index Specifies the index of a specified stale interface. The value is a hexadecimal integer ranging from 1 to FFFFFFFE.
verbose Displays detailed information about an interface, for example, whether FRR is configured. If FRR is configured, information about the bound tunnels is also displayed. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The outbound interface of the primary tunnel protected by TE FRR becomes a stale interface in one of the following situations:

MPLS is disabled on the interface when the primary tunnel is in the FRR In-used state.

The display mpls stale-interface command displays information about the stale interfaces.

Run the display mpls stale-interface command without specifying a parameter to view the index of a stale interface.

Example

# Display information about all MPLS interfaces in the Stale state.

<HUAWEI> display mpls stale-interface
Stale-Interface       Status    TE Attr   LSP Count  CRLSP Count Effective MTU
0x81a                 Up        Dis       0          1           1500
Table 9-77  Description of the display mpls stale-interface command output

Item

Description

Stale-Interface

Index of an MPLS interface in the Stale state.

Status

Status of the stale interface.
  • Up
  • Down

TE Attr

Whether MPLS TE is enabled on an interface:
  • Dis: MPLS TE is not enabled on the interface.

  • En: MPLS TE is enabled on the interface.

LSP Count

Number of LSPs on an interface.

CRLSP Count

Number of CR-LSPs on an interface.

Effective MTU

MTU value used in the MPLS forwarding.
  • If the MPLS MTU is not set, the interface MTU takes effect.

  • If the MPLS MTU is set, the smaller one between the MPLS MTU and the interface MTU takes effect.

# Display detailed information about all MPLS interfaces in the Stale state.

<HUAWEI> display mpls stale-interface verbose
No                    :  1
Interface             :  0x81a
Status                :  Up
TE Attribute          :  Disable
Static LSPCount       :  0
Static CR-LSPCount    :  0
LDP LSPCount          :  0
RSVP LSPCount         :  1
MPLS MTU              :  -
Interface MTU         :  -
Effective MTU         :  1500
TE FRR                :  Enable
Manual Bypass         :  Tun1
Interface State       :  Stale
Table 9-78  Description of the display mpls stale-interface verbose command output

Item

Description

No

Serial number.

Interface

Index of an MPLS interface in the Stale state.

Status

Status of the stale interface, which is the Up state in this example.

TE Attribute

Whether MPLS TE is enabled on the interface:
  • Disable: MPLS TE is disabled.

  • Enable: MPLS TE is enabled.

Static LSPCount

Number of static LSPs created on the interface.

Static CR-LSPCount

Number of static CR-LSPs created on the interface.

LDP LSPCount

Number of LDP LSPs created on the interface.

RSVP LSPCount

Number of RSVP-TE LSPs created on the interface.

MPLS MTU

MPLS MTU set using the mpls mtu command. When the interface is in the Stale state, a hyphen (-) is displayed.

Interface MTU

MTU configured on the interface.

To set the MTU, run the mtu (Interface view) command.

Effective MTU

MTU value used in the MPLS forwarding.
  • If the MPLS MTU is not set, the interface MTU takes effect.

  • If the MPLS MTU is set, the smaller one between the MPLS MTU and the interface MTU takes effect.

TE FRR

Whether MPLS TE is enabled on the interface:
  • Disable: No bypass tunnel is set up in manual FRR mode to protect the interface.

  • Enable: A bypass tunnel is set up in manual FRR mode to protect the interface.

Manual Bypass

Name of a bypass tunnel set up in manual FRR mode.

Interface State

Interface status.

Stale indicates that the interface is to be deleted.

display mpls te cspf destination

Function

The display mpls te cspf destination command helps you check whether the specified path is available or not. You can specify relevant parameters in the command to set constraint conditions.

Format

display mpls te cspf destination ip-address [ affinity properties [ mask mask-value ] | bandwidth { ct0 ct0-bandwidth | ct1 ct1-bandwidth } * | explicit-path path-name | hop-limit hop-limit-number | metric-type { igp | te } | priority setup-priority | srlg-strict exclude-path-name | tie-breaking { random | most-fill | least-fill } ] * [ hot-standby [ explicit-path path-name | overlap-path | affinity properties [ mask mask-value ] | hop-limit hop-limit-number | srlg { preferred | strict } ] * ]

Parameters

Parameter Description Value
destination ip-address Specifies the destination IP address of an MPLS TE tunnel. The value is in dotted decimal notation.
affinity properties Specifies the affinity property of an MPLS TE tunnel. The value is a hexadecimal number that ranges from 0 to FFFFFFFF.
mask mask-value Specifies the value of the affinity property mask. The value is a hexadecimal number that ranges from 0 to FFFFFFFF.
bandwidth Specifies the required bandwidth of an MPLS TE tunnel. -
ct0 ct0-bandwidth | ct1 ct1-bandwidth Specifies the bandwidth values of CR-LSPs of CT0 to CT1. The value is an integer that ranges from 1 to 4000000000.
explicit-path path-name Specifies the explicit path of an MPLS TE tunnel. The value is an existing explicit path name.
hop-limit hop-limit-number Specifies the maximum number of hops on an MPLS TE tunnel. The value is an integer that ranges from 1 to 32. By default, the maximum number of hops is 32.
metric-type Specifies the metric type for the CSPF calculation. -
igp Specifies the metric type as IGP. -
te Specifies the metric type as TE. -
priority setup-priority Specifies the setup priority of an MPLS TE tunnel. The value is an integer that ranges from 0 to 7.
srlg-strict exclude-path-name Specifies the path of a specified SRLG. The value is an existing explicit path name.
tie-breaking Configures a tie-breaking mode for CSPF. -
random Configures the random mode. -
most-fill Configures the most-fill mode, meaning the path with the highest ratio of used bandwidth to maximum reservable bandwidth is selected. -
least-fill Configures the least-fill mode, meaning the path with the lowest ratio of used bandwidth to the maximum capacity of reservable bandwidth is selected. -
hot-standby Configures hot-standby path excluding primary path. -
overlap-path Specifies that if a completely disjoint path is not available, a maximally disjoint path should be computed for the Hot-standby. -
srlg preferred Specifies that the SRLG attribute is an optional constraint used by CSPF to calculate the path for the hot-standby CR-LSP. If CSPF fails to calculate the path for the hot-standby CR-LSP based on the SRLG attribute, CSPF recalculates the path, regardless of the SRLG attribute. -
srlg strict Specifies that the SRLG attribute is a required constraint used by CSPF to calculate the path for the hot-standby CR-LSP. The links of the hot-standby CR-LSP and the primary CR-LSP cannot be in the same SRLG. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Prerequisites

Before running this command, the CSPF function must have been enabled by using the mpls te cspf command.

Precautions

When this command is run, the device uses CSPF to check whether or not there is a path satisfying the specified constraints. If such a path exists, its information is displayed; otherwise, the display is empty.

Example

# Display the path with the destination address being 10.3.3.9 by performing the CSPF calculation.

<HUAWEI> display mpls te cspf destination 10.3.3.9
Path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.16.1.1                      Include
172.16.1.2                      Include
10.2.2.9                        Include         LSR-ID
172.17.1.1                      Include
172.17.1.2                      Include
10.3.3.9                        Include         LSR-ID
The total metrics of the calculated path is :   2

# Display the explict path named path1 with the destination address being 10.3.3.9 by performing the CSPF calculation.

<HUAWEI> display mpls te cspf destination 10.3.3.9 explicit-path path1
Path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.16.1.1                      Include
172.16.1.2                      Include
10.2.2.9                        Include         LSR-ID
172.17.1.1                      Include
172.17.1.2                      Include
10.3.3.9                        Include         LSR-ID
The total metrics of the calculated path is :   2

# Display the hot standby path with the destination address being 10.3.3.9 by performing the CSPF calculation.

<HUAWEI> display mpls te cspf destination 10.3.3.9 hot-standby
Path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.16.1.1                      Include
172.16.1.2                      Include
10.2.2.9                        Include         LSR-ID
172.17.1.1                      Include
172.17.1.2                      Include
10.3.3.9                        Include         LSR-ID
The total metrics of the calculated path is :   2

Hot-standby path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.19.1.1                      Include
172.19.1.2                      Include
10.6.6.9                        Include         LSR-ID
172.20.1.1                      Include
172.20.1.2                      Include
10.3.3.9                        Include         LSR-ID
Complete disjoint path computed and the total metrics of the calculated path is :    2
# Display the hot standby path with the destination address being 10.4.4.9 and partial overlapping by performing the CSPF calculation.
<HUAWEI> display mpls te cspf destination 10.4.4.9 hot-standby overlap-path
Main path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.16.1.1                      Include
172.16.1.2                      Include
10.2.2.9                        Include         LSR-ID
172.17.1.1                      Include
172.17.1.2                      Include
10.3.3.9                        Include         LSR-ID
172.18.1.1                      Include
172.18.1.2                      Include
10.4.4.9                        Include         LSR-ID
The total metrics of the calculated path is :   3

Hot-standby path for the given constraints is:
10.1.1.9                        Include         LSR-ID
172.21.1.1                      Include
172.21.1.2                      Include
10.6.6.9                        Include         LSR-ID
172.22.1.1                      Include
172.22.1.2                      Include
10.3.3.9                        Include         LSR-ID
172.18.1.1                      Include
172.18.1.2                      Include
10.4.4.9                        Include         LSR-ID
Partial Overlap path computed and the total metrics of the calculated path is :
   3                                                                            
Table 9-79  Description of the display mpls te cspf destination command output

Item

Description

Path for the given constraints is

Path calculated by CSPF. If * is displayed, it indicates the node does not exist on the explicit path calculated by CSPF. If * is not displayed, it indicates that the node exists on the path calculated by CSPF.

10.1.1.9 Include LSR-ID

Path information. 10.1.1.9 is the next hop address, Include is the node name, and LSR-ID indicates that the LSR ID is used as the address.

The total metrics of the calculated path is

Calculated metric value of a path.

Main path for the given constraints is

Path for the main request, when both main and hot-standby is requested.

Hot-standby path for the given constraints is

Path calculated by CSPF for the hot-standby.

Complete disjoint path computed and the total metrics of the calculated path is

CSPF has calculated complete disjoint path from main path for hot-standby.

Partial Overlap path computed and the total metrics of the calculated path is

CSPF has calculated partial overlap path from main path for hot-standby.

Related Topics

display mpls te cspf tedb

Function

The display mpls te cspf tedb command displays the CSPF TEBD information based on specified conditions.

Format

display mpls te cspf tedb { all | area { area-id | area-id-ip } | interface ip-address | network-lsa | node [ router-id ] | srlg srlg-number | overload-node }

Parameters

Parameter Description Value
all Displays information about all TEDB nodes. -
area area-id Specifies the ID of an area. For an OSPF area, the value is an integer that ranges from 0 to 4294967295. For an IS-IS area, the value is 1 or 2.
area area-id-ip Specifies the ID of an area in IP address format. For an OSPF area, the value is in dotted decimal notation.
interface ip-address Specifies the IP address of an interface The value is in dotted decimal notation.
network-lsa Displays information about all network LSAs. -
node Displays information about a node. -
router-id Specifies the router ID. The value is in dotted decimal notation.
srlg srlg-number Specifies the SRLG number. The value is an integer that ranges from 0 to 4294967295.
overload-node Displays information of all the overload-nodes. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the CSPF TEBD information, run the display mpls te cspf tedb command.

Example

# Display information about network LSAs in a TEDB.

<HUAWEI> display mpls te cspf tedb network-lsa
Maximum Network LSA Supported    : 512                                          
Current Total Network LSA Number : 6                                            
                                                                                
ID : 1                                                                          
   IGP-Type: OSPF                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.2.2.9                                                       
   DR-Address : 172.16.1.2                                                       
   Area : 0                                                                     
   DR-OSPF-Router-ID : 10.2.2.9                                                  
     NBR-Router-ID      NBR-OSPF-Router-ID                                      
     10.2.2.9           10.2.2.9                                                 
     10.1.1.9           10.1.1.9                                                 
                                                                                
ID : 2                                                                          
   IGP-Type: OSPF                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.2.2.9                                                       
   DR-Address : 172.20.1.1                                                       
   Area : 0                                                                     
   DR-OSPF-Router-ID : 10.2.2.9                                                  
     NBR-Router-ID      NBR-OSPF-Router-ID                                      
     10.2.2.9           10.2.2.9                                                 
     10.3.3.9           10.3.3.9                                                 
                                                                                
ID : 3                                                                          
   IGP-Type: ISIS                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.1.1.9                                                       
   DR-Address : 172.16.1.1                                                       
   Area : Level-2                                                               
   DR-ISIS-System-ID : 0000.0000.0001.01                                        
     NBR-Router-ID      NBR-ISIS-System-ID                                      
     10.1.1.9           0000.0000.0001.00                                       
     10.2.2.9           0000.0000.0002.00                                       
                                                                                
ID : 4                                                                          
   IGP-Type: ISIS                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.1.1.9                                                       
   DR-Address : 172.16.1.1                                                       
   Area : Level-1                                                               
   DR-ISIS-System-ID : 0000.0000.0001.01                                        
     NBR-Router-ID      NBR-ISIS-System-ID                                      
     10.1.1.9           0000.0000.0001.00                                       
     10.2.2.9           0000.0000.0002.00                                       
                                                                                
ID : 5                                                                          
   IGP-Type: ISIS                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.3.3.9                                                       
   DR-Address : 172.20.1.2                                                       
   Area : Level-1                                                               
   DR-ISIS-System-ID : 0000.0000.0003.01                                        
     NBR-Router-ID      NBR-ISIS-System-ID                                      
     10.3.3.9           0000.0000.0003.00                                       
     10.2.2.9           0000.0000.0002.00                                       
                                                                                
ID : 6                                                                          
   IGP-Type: ISIS                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.3.3.9                                                       
   DR-Address : 172.20.1.2                                                       
   Area : Level-2                                                               
   DR-ISIS-System-ID : 0000.0000.0003.01                                        
     NBR-Router-ID      NBR-ISIS-System-ID                                      
     10.3.3.9           0000.0000.0003.00                                       
     10.2.2.9           0000.0000.0002.00                                       
Table 9-80  Description of the display mpls te cspf tedb network-lsa command output

Item

Description

Maximum Network LSA Supported

Maximum network LSAs supported.

Current Total Network LSA Number

Current total number of network LSAs.

IGP-Type

IGP type:
  • OSPF

  • IS-IS

Process-ID

IGP process ID.

ID

Sequence number.

DR-Router-ID

DR Router ID.

DR-Address

Interface address of the DR.

Area

Area to which the device belongs.

DR-OSPF-Router-ID

OSPF router ID of a DR.

DR-ISIS-System-ID

IS-IS system ID of a DR.

NBR-Router-ID

Neighbor Router ID.

NBR-OSPF-Router-ID

Neighbor OSPF router ID.

NBR-ISIS-System-ID

Neighbor IS-IS system ID.

# Display information about all TEDBs.

<HUAWEI> display mpls te cspf tedb all
Maximum Nodes Supported: 512   Current Total Node Number: 6                    
Maximum Links Supported: 2048   Current Total Link Number: 12                   
Maximum SRLGs supported: 5120   Current Total SRLG Number: 0                    
ID     Router-ID        IGP      Process-ID     Area            Link-Count      
1      10.1.1.9         OSPF     1              0               1               
2      10.2.2.9         OSPF     1              0               2               
3      10.3.3.9         OSPF     1              0               1               
4      10.1.1.9         ISIS     1              Level-1,2       2               
5      10.2.2.9         ISIS     1              Level-1,2       4               
6      10.3.3.9         ISIS     1              Level-1,2       2               
Table 9-81  Description of the display mpls te cspf tedb all command output

Item

Description

Maximum Nodes Supported

Maximum number of nodes supported.

Maximum Links Supported

Maximum number of links supported.

Maximum SRLGs supported

Maximum SRLGs supported.

Current Total Node Number

Current total number of nodes.

Current Total Link Number

Current total number of links.

Current Total SRLG Number

Current total number of SRLGs.

ID

Sequence number.

Router-ID

Router ID in dotted decimal notation.

IGP

IGP type:
  • OSPF

  • IS-IS

Process-ID

IGP process ID.

Area

Area to which the device belongs.

Link-Count

Total number of connected links with a specified IGP and process ID.

# Display TEDB information of a specified area.

<HUAWEI> display mpls te cspf tedb area 0
 Router Node Information for Area 0:                                            
ID     Router-ID        IGP      Process-ID     Area            Link-Count      
1      10.1.1.9         OSPF     1              0               1               
2      10.2.2.9         OSPF     1              0               2               
3      10.3.3.9         OSPF     1              0               1               
                                                                                
Network LSA Information for Area 0:                                             
                                                                                
ID : 1                                                                          
   IGP-Type: OSPF                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.2.2.9                                                       
   DR-Address : 172.16.1.2                                                       
   Area : 0                                                                     
   DR-OSPF-Router-ID : 10.2.2.9                                                  
     NBR-Router-ID      NBR-OSPF-Router-ID                                      
     10.2.2.9           10.2.2.9                                                 
     10.1.1.9           10.1.1.9                                                 
                                                                                
ID : 2                                                                          
   IGP-Type: OSPF                                                               
   Process-ID: 1                                                                
   DR-Router-ID : 10.2.2.9                                                       
   DR-Address : 172.20.1.1                                                       
   Area : 0                                                                     
   DR-OSPF-Router-ID : 10.2.2.9                                                  
     NBR-Router-ID      NBR-OSPF-Router-ID                                      
     10.2.2.9           10.2.2.9                                                 
     10.3.3.9           10.3.3.9                                                 
Table 9-82  Description of the display mpls te cspf tedb area command output

Item

Description

Router Node Information for Area 0

Router node information for area 0.

Network LSA Information for Area 0

Network LSA information for area 0.

Link-Count

Total number of connected links with a specified IGP and process ID.

ID

Sequence number.

Router-ID

Router ID in dotted decimal notation.

IGP

IGP type:
  • OSPF

  • IS-IS

IGP-Type

IGP type:
  • OSPF

  • IS-IS

Process-ID

IGP process ID.

DR-Router-ID

Router ID of the DR.

DR-Address

Interface address of the DR.

Area

Area to which the device belongs.

DR-OSPF-Router-ID

OSPF router ID of the designated router.

NBR-Router-ID

Router ID of a neighbor router.

NBR-OSPF-Router-ID

OSPF router ID of a neighbor device.

# Display TEDB information of a specified node.

<HUAWEI> display mpls te cspf tedb node 10.1.1.9
 Router ID: 10.1.1.9                                                             
 IGP Type: OSPF      Process ID: 1                                              
  MPLS-TE Link Count: 1                                                         
  Link[1]:                                                                      
    OSPF Router ID: 10.1.1.9               Opaque LSA ID: 10.0.0.1               
    Interface IP Address: 172.16.1.1                                             
    DR Address: 172.16.1.2                                                       
    IGP Area: 0                                                                 
    Link  Type: Multi-access  Link Status: Active                               
    IGP Metric: 1               TE Metric: 1           Color: 0x0               
    Bandwidth Allocation Model : Russian Dolls Model                            
    Maximum Link Bandwidth: 40000 (kbps)                                        
    Maximum Reservable Bandwidth: 40000 (kbps)                                  
    Bandwidth Constraints:         Local Overbooking Multiplier:                
        BC[0]:      40000 (kbps)           LOM[0]:          1                   
        BC[1]:      30000 (kbps)           LOM[1]:          1                   
        BC[2]:      20000 (kbps)           LOM[2]:          1                   
        BC[3]:          0 (kbps)           LOM[3]:          1                   
        BC[4]:          0 (kbps)           LOM[4]:          1                   
        BC[5]:          0 (kbps)           LOM[5]:          1                   
        BC[6]:          0 (kbps)           LOM[6]:          1                   
        BC[7]:          0 (kbps)           LOM[7]:          1                   
    BW Unreserved:                                                              
        Class  ID:                                                              
        [0]:          0 (kbps),            [1]:          0 (kbps)               
        [2]:          0 (kbps),            [3]:          0 (kbps)               
        [4]:          0 (kbps),            [5]:          0 (kbps)               
        [6]:          0 (kbps),            [7]:          0 (kbps)               
 Router ID: 10.1.1.9                                                             
 IGP Type: ISIS      Process ID: 1                                              
  MPLS-TE Link Count: 2                                                         
  Link[1]:                                                                      
    ISIS System ID: 0000.0000.0001.00      Opaque LSA ID: 0.0.0.0               
    Interface IP Address: 172.16.1.1                                             
    DR Address: 172.16.1.1                                                       
    DR ISIS System ID: 0000.0000.0001.01                                        
    IGP Area: Level-2                                                           
    Link  Type: Multi-access  Link Status: Active                               
    IGP Metric: 10              TE Metric: 10          Color: 0x0               
    Bandwidth Allocation Model : Russian Dolls Model                            
    Maximum Link Bandwidth: 40000 (kbps)                                        
    Maximum Reservable Bandwidth: 40000 (kbps)                                  
    Bandwidth Constraints:         Local Overbooking Multiplier:                
        BC[0]:      40000 (kbps)           LOM[0]:          1                   
        BC[1]:      30000 (kbps)           LOM[1]:          1                   
        BC[2]:      20000 (kbps)           LOM[2]:          1                   
        BC[3]:          0 (kbps)           LOM[3]:          1                   
        BC[4]:          0 (kbps)           LOM[4]:          1                   
        BC[5]:          0 (kbps)           LOM[5]:          1                   
        BC[6]:          0 (kbps)           LOM[6]:          1                   
        BC[7]:          0 (kbps)           LOM[7]:          1                   
    BW Unreserved:                                                              
        Class  ID:                                                              
        [0]:          0 (kbps),            [1]:          0 (kbps)               
        [2]:          0 (kbps),            [3]:          0 (kbps)               
        [4]:          0 (kbps),            [5]:          0 (kbps)               
        [6]:          0 (kbps),            [7]:          0 (kbps)               
Table 9-83  Description of the display mpls te cspf tedb node command output

Item

Description

Router ID

Router ID in the format X.X.X.X.

IGP Type

IGP type:
  • OSPF

  • IS-IS

Process ID

IGP Process ID.

MPLS-TE Link Count

Number of MPLS TE link.

OSPF Router ID

OSPF Route ID.

ISIS System ID

IS-IS system ID.

Interface IP Address

Interface IP address.

DR Address

DR address.

DR ISIS System ID

IS-IS system ID of the DR.

IGP Area

IGP area.

Link Type

Link type.

Link Status

Link status.

Link [ x ]

Link information, with "x" being the link number.

IGP Metric

IGP metric of a link.

TE Metric

TE metric of a link.

Color

Color of a link.

Maximum Link Bandwidth

Maximum bandwidth of a link.

Maximum Reservable Bandwidth

Maximum capacity of reserved bandwidth for a link.

Bandwidth Allocation Model

Bandwidth allocation model.

Bandwidth Constraints

Bandwidth constraints.

Local Overbooking Multiplier

Local overbooking multiplier.

BC

Bandwidth constraints.

LOM

Local overbooking multiplier.

BW Unreserved

Unreserved bandwidth for LSPs.

Class ID:

[x]:

Class 0 to Class 7.

# Display information about overloaded nodes in a TEDB.

<HUAWEI> display mpls te cspf tedb overload-node
Current Total Overload Node Number : 4
ID     Router-ID      IGP     Process-ID   Area      IGP_ID
1      10.3.3.3       ISIS    1            Level-1    3333.3333.3333.00
2      10.1.1.1       ISIS    1            Level-1    1111.1111.1111.00
3      10.1.1.1       ISIS    2            Level-1    1111.1111.1112.00
4      10.2.2.2       ISIS    1            Level-1    2222.2222.2222.00
Table 9-84  Description of the display mpls te cspf tedb overload-node command output

Item

Description

ID

Sequence number.

Router-ID

Router ID in dotted decimal notation.

IGP

IGP type:
  • OSPF

  • IS-IS

Process-ID

IGP Process ID.

Area

Area to which a device belongs.

IGP_ID

  • OSPF router ID of a neighbor device.
  • IS-IS system ID of a neighbor device.
Related Topics

display mpls te hot-standby state

Function

The display mpls te hot-standby state command displays the hot-standby status of all tunnels or a specified tunnel.

Format

display mpls te hot-standby state { all [ verbose ] | interface tunnel interface-number }

Parameters

Parameter Description Value
all Displays the status of all hot-standby tunnels. -
verbose Displays detailed information about hot-standby tunnels. -
interface tunnel interface-number Displays the status of a specified hot-standby tunnel. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When running the display mpls te hot-standby state command, note the following issues:
  • The command displays the status of only hot-standby TE tunnels.
  • If a tunnel interface is deleted or traffic switches from the tunnel to an ordinary backup tunnel, no command output is displayed.

Example

# Display the hot-standby status of Tunnel 1.

<HUAWEI> display mpls te hot-standby state interface tunnel 1
(s): same path
---------------------------------------------------------------------
Verbose information about the Tunnel1 hot-standby state
---------------------------------------------------------------------
session id                               : 300                                  
main LSP token                           : 0x9                                  
hot-standby LSP token                    : 0x0                                  
HSB switch result                        : Primary LSP                          
HSB switch reason                        : -                                    
WTR config time                          : 10s                                  
WTR remain time                          : -                                    
using overlapped path                    : -
Table 9-85  Description of the display mpls te hot-standby state command output

Item

Description

session id

Session ID, which is the configured tunnel ID.

main LSP token

Index of the primary CR-LSP.

hot-standby LSP token

Index of the hot-standby CR-LSP.

HSB switch result

Result of a switchover:

  • Primary LSP: indicates that data is switched to the primary CR-LSP.
  • Hot-standby LSP: indicates that data is switched to the hot-standby CR-LSP.
  • Ordinary LSP: indicates that data is switched to the ordinary CR-LSP.
  • Best-Effort LSP: indicates that data is switched to the best-effort path.

HSB switch reason

Reason why traffic is switched to the hot-standby LSP.

WTR config time

WTR time. If a primary CR-LSP recovers from a fault, the system waits for a period of time, or the WTR time, to switch data from the hot-standby CR-LSP or best-effort path to the primary LSP.

WTR remain time

WTR remain time.

using overlapped path

Whether or not the path of the primary tunnel and the path of the backup tunnel overlap:
  • yes: indicates that they overlap.
  • no: indicates that they do not overlap.
  • -: indicates that the system does not check whether or not they overlap.

# Display the hot-standby status of all hot-standby tunnels.

<HUAWEI> display mpls te hot-standby state all
(s): same path
------------------------------------------------------------------------------
No.        tunnel name          session id      switch result        overlap
------------------------------------------------------------------------------
1          Tunnel1             3               Best-Effort LSP       -
2          Tunnel2             9               Primary LSP           -
Table 9-86  Description of the display mpls te hot-standby state all command output

Item

Description

No.

Sequence number.

tunnel name

Name of a tunnel.

session id

Session ID, which is the configured tunnel ID.

switch result

Result of a switchover:

  • Primary LSP: indicates that data is switched to the primary CR-LSP.
  • Hot-standby LSP: indicates that data is switched to the hot-standby CR-LSP.
  • Ordinary LSP: indicates that data is switched to the ordinary CR-LSP.
  • Best-Effort LSP: indicates that data is switched to the best-effort path.

overlap

Whether the primary path overlaps the hot-standby path:

  • yes: They share one or multiple links.
  • no: They do not share links.
  • -: Their paths cannot be compared.
  • yse(s): They overlap each other.

display mpls te protection binding protect-tunnel

Function

The display mpls te protection binding protect-tunnel command displays the tunnel protection relationship.

Format

display mpls te protection binding protect-tunnel { tunnel-id | interface tunnel interface-number }

Parameters

Parameter Description Value
tunnel-id Displays information about the protection relationship related to a protection tunnel (that is, a backup tunnel) with a specified ID. The value is an integer that ranges from 1 to 10000.
tunnel interface-number Displays information about the protection relationship related to the specified tunnel interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the tunnel protection relationship, run the display mpls te protection binding protect-tunnel command.

Example

# Display the protection relationship related to the protection tunnel with the ID of 10.

<HUAWEI> display mpls te protection binding protect-tunnel 10
------------------------------------------------------------------------        
Binding information of( tunnel id:  10 )                                        
------------------------------------------------------------------------        
    Protect-tunnel id                    :10                                    
    Protect-tunnel name                  :Tunnel1                           
    Maximum number of bound work-tunnels :16                                    
    Currently bound work-tunnels         :Total( 1 )                            
                                         :Tunnel2                           
Table 9-90  Description of the display mpls te protection binding protect-tunnel command output

Item

Description

Protect-tunnel id

ID of a protection tunnel (the backup tunnel).

Protect-tunnel name

Name of a protection tunnel (the interface name).

Maximum number of bound work-tunnels

Maximum number of tunnels that a protection tunnel can protect.

Currently bound work-tunnels

Information about the working tunnel to which a protection tunnel is currently bound, including the quantity and list.

display mpls te protection tunnel

Function

The display mpls te protection tunnel command displays information about a specified tunnel and its tunnel protection group.

Format

display mpls te protection tunnel { all | tunnel-id | interface tunnel interface-number } [ verbose ]

Parameters

Parameter Description Value
all Displays information about all tunnel protection groups. -
tunnel-id Specifies the ID of a working tunnel or its protection tunnel. The value is an integer that ranges from 1 to 10000.
interface Displays information about tunnel protection groups on an interface. -
tunnel interface-number Specifies the name of a working tunnel or its protection tunnel. -
verbose Displays detailed information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display mpls te protection tunnel command can be used to display information about a specified tunnel protection group. The following parameters can be specified to display various types of information:
  • If the ID or tunnel interface of the working tunnel is specified, information about the working tunnel and its protection tunnel is displayed.
  • If the ID or tunnel interface of a protection tunnel is specified, information about the protection tunnel and all its protected working tunnels is displayed.

Example

# Display information about a working tunnel with the tunnel ID of 100 and its protection tunnel.
<HUAWEI> display mpls te protection tunnel 100
------------------------------------------------------------------------
No. Work-tunnel status  /id  Protect-tunnel status /id    Switch-Result
------------------------------------------------------------------------
1           in defect   /100        non-defect     /300  protect-tunnel
Table 9-91  Description of the display mpls te protection tunnel command output

Item

Description

No.

Sequence number of a tunnel protection group.

Work-tunnel status /id

Status and ID of a working tunnel. The tunnel status can be:
  • non-defect: The tunnel functions properly.
  • in defect: The tunnel fails.

Protect-tunnel status /id

Status and ID of a protection tunnel. The tunnel status can be:
  • non-defect: The tunnel functions properly.
  • in defect: The tunnel fails.

Switch-Result

Switching result:
  • work-tunnel: Traffic switches to the working tunnel.
  • protect-tunnel: Traffic switches to the protection tunnel.
# Display detailed information about working tunnels and their protection tunnels.
<HUAWEI> display mpls te protection tunnel all verbose
---------------------------------------------------------------
Verbose information about the No.1 protection-group
----------------------------------------------------------------
Work-tunnel id                           : 1
Protect-tunnel id                        : 2
Work-tunnel name                         : Tunnel1
Protect-tunnel name                      : Tunnel2
Work-tunnel reverse-lsp                  : -
Protect-tunnel reverse-lsp               : -
Bridge type                              : 1:1       
Switch type                              : unidirectional
Switch result                            : work-tunnel
Tunnel using Best-Effort                 : none
Tunnel using Ordinary                    : none
Work-tunnel frr in use                   : none
Work-tunnel defect state                 : non-defect
Protect-tunnel defect state              : non-defect
Work-tunnel forward-lsp defect state     : non-defect
Protect-tunnel forward-lsp defect state  : non-defect
Work-tunnel reverse-lsp defect state     : non-defect
Protect-tunnel reverse-lsp defect state  : non-defect
HoldOff config time                      : 0ms
HoldOff remain time                      : -
WTR config time                          : 30s
WTR remain time                          : -
Mode                                     : revertive
Using same path                          : -
Local state                              : no request
Far end request                          : no request    
Table 9-92  Description of the display mpls te protection tunnel all verbose command output

Item

Description

Work-tunnel id ID of the working tunnel.
Protect-tunnel id ID of the protection tunnel.
Work-tunnel name Tunnel interface name of the working tunnel.
Protect-tunnel name Tunnel interface name of the protection tunnel.
Work-tunnel reverse-lsp Name of the reverse CR-LSP in the working tunnel.
Protect-tunnel reverse-lsp Name of the reverse CR-LSP in the protection tunnel.
Bridge type Bridge mode.
Switch type Switch mode.
Switch result Switching result:
  • work-tunnel: Traffic switches to the working tunnel.
  • protect-tunnel: Traffic switches to the protection tunnel.
Tunnel using Best-Effort Whether or not a best-effort path is used as a protection tunnel.
Tunnel using Ordinary Whether or not an ordinary backup tunnel is used as a protection tunnel.
Work-tunnel frr in use Whether or not the working tunnel is in the FRR in-use state.
Work-tunnel defect state Working tunnel status:
  • non-defect: The working tunnel functions properly.
  • in defect: The working tunnel fails.
Protect-tunnel defect state Protection tunnel status:
  • non-defect: The protection tunnel functions properly.
  • in defect: The protection tunnel fails.
Work-tunnel forward-lsp defect state Status of the forward CR-LSP in the working tunnel:
  • non-defect: The forward CR-LSP functions properly.
  • in defect: The forward CR-LSP fails.
Protect-tunnel forward-lsp defect state Status of the forward CR-LSP in the protection tunnel:
  • non-defect: The forward CR-LSP functions properly.
  • in defect: The forward CR-LSP fails.
Work-tunnel reverse-lsp defect state Status of the reverse CR-LSP in the working tunnel:
  • non-defect: The reverse CR-LSP functions properly.
  • in defect: The reverse CR-LSP fails.
Protect-tunnel reverse-lsp defect state Status of the reverse CR-LSP in the protection tunnel:
  • non-defect: The reverse CR-LSP functions properly.
  • in defect: The reverse CR-LSP fails.

HoldOff config time

Switching delay time.

To set the switching delay time, run the mpls te protection tunnel command.

HoldOff remain time

Remain time of switching delay time.

WTR config time

Wait-to-restore time.

To set the wait-to-restore time, run the mpls te protection tunnel command.

WTR remain time

Remain time of wait-to-restore time.
Mode Switchback mode:
  • revertive: supports a switchback.
  • non-revertive: does not support a switchback.

To set the switchback mode, run the mpls te protection tunnel command.

Using same path Whether a path of the working tunnel and a path of the protection tunnel overlap:
  • yes: The two tunnels have an overlapped path.
  • no: The two tunnels do not have an overlapped path.
  • -: Undetected.
Local state Switching mode on the local end:
  • signal fail for protection
  • no request
Far end request Switching mode on the remote end.

display mpls te session-entry

Function

The display mpls te session-entry command displays detailed information about LSP sessions of tunnels.

Format

display mpls te session-entry [ ingress-lsr-id tunnel-id egress-lsr-id ]

Parameters

Parameter Description Value
ingress-lsr-id Specifies the LSR ID of the ingress. In dotted decimal notation.
tunnel-id Specifies the ID of a tunnel. The value is an integer that ranges from 0 to 65535.
egress-lsr-id Specifies the LSR ID of the egress. The value is in dotted decimal notation.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view detailed information about LSP sessions of tunnels, run the display mpls te session-entry command.

Example

# Display detailed information about LSP sessions of a tunnel.

<HUAWEI> display mpls te session-entry
                                                                                
  Ingress-ID                :  1.1.1.9                                          
  Tunnel-ID                 :  300                                              
  Egress-ID                 :  3.3.3.9                                          
  Crlsp num                 :  1                                                
  First TunnelTable index   :  4                                                
  LSP No.     :  1                                                              
  LSP ID      :  1.1.1.9:300:6                                                  
  In/Out IF   :  -/Vlanif10                                                      
  Bandwidth(Kbit/sec):                                                          
    CT0 : 500         CT1 : 0                                                   
                                                                                
Table 9-93  Description of the display mpls te session-entry command output

Item

Description

Ingress-ID

LSR ID of the ingress.

Tunnel-ID

Tunnel ID, which is the session ID.

Egress-ID

LSR ID of the egress.

Crlsp num

Number of CR-LSPs of the session entry.

First TunnelTable index

Index of the first CR-LSP of the session entry.

LSP No.

Sequence number of a CR-LSP.

LSP ID

LSP ID, uniquely identified in the form of <Ingress-LSR-ID:Tunnel-ID:Local-LSP-ID>.

In/Out IF

Incoming and outgoing interface through which the CR-LSP passes on the local node.

Bandwidth(Kbit/sec)

Bandwidth, in kbit/s.

CT0

Bandwidth value of CR-LSPs of CT0.

CT1

Bandwidth value of CR-LSPs of CT1.

display mpls te srlg

Function

The display mpls te srlg command displays the Shared Risk Link Group (SRLG) configurations and the interfaces that belong to it.

Format

display mpls te srlg { srlg-number | all }

Parameters

Parameter Description Value
srlg-number Specifies the number of the SRLG to which an interface belongs. The value is an integer that ranges from 0 to 4294967295.
all Displays information about all SRLGs on the node and the interfaces that belong to the SRLG groups. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the configuring the SRLG on an interface, you can run the display mpls te srlg command to check the configuration.

The display mpls te srlg command displays the following information:
  • Maximum of SRLGs that a node can support
  • Number of SRLGs that are configured on the node
  • Member interfaces of each SRLG

Example

# Display information about all SRLGs on the node.

<HUAWEI> display mpls te srlg all
Total SRLG supported : 1024
Total SRLG configured : 1
SRLG  239:           Vlanif30
Table 9-94  Description of the display mpls te srlg all command output

Item

Description

Total SRLG supported

Total SRLGs supported.

Total SRLG configured

Total SRLGs configured.

SRLG

Shared risk link group.

To set the shared risk link group, run the mpls te srlg command.

Related Topics

display mpls te tunnel-interface

Function

The display mpls te tunnel-interface command displays information about tunnel interfaces on the local LSR.

Format

display mpls te tunnel-interface [ tunnel interface-number | auto-bypass-tunnel [ tunnel-name ] ]

Parameters

Parameter Description Value
tunnel interface-number Specifies the number of a tunnel interface on the local LSR. -
auto-bypass-tunnel tunnel-name Specifies the name of an MPLS TE tunnel.

If the tunnel-name parameter is configured, information about the specified Auto bypass tunnel is displayed. If this parameter is not configured, information about all Auto bypass tunnels is displayed.

The value is an existing tunnel name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

If you do not specify any parameters, information about all tunnel interfaces is displayed.

Example

# Display information about Tunnel 1.

<HUAWEI> display mpls te tunnel-interface tunnel 1
    ----------------------------------------------------------------
                               Tunnel1
    ----------------------------------------------------------------
    Tunnel State Desc   :  GRACEFUL SWITCH
    Active LSP          :  Best-Effort LSP
    Traffic Switch      :  Best-Effort LSP -> Ordinary LSP
    Session ID          :  50
    Ingress LSR ID      :  1.1.1.1          Egress LSR ID:  2.2.2.2
    Admin State         :  UP               Oper State   :  UP
    Primary LSP State      : DOWN
      Main LSP State       : SETTING UP
    Hot-Standby LSP State  : UP
      Main LSP State       : READY               LSP ID  : 32799
      Modify LSP State     : SETTING UP
    Ordinary LSP State     : UP
      Main LSP State       : READY               LSP ID  : 32782
    Best-Effort LSP State  : UP
      Main LSP State       : READY               LSP ID  : 32780
Table 9-95  Description of the display mpls te tunnel-interface command output

Item

Description

Tunnel State Desc

Tunnel status:
  • UP: indicates that the tunnel is successfully set up.
  • DOWN: indicates that the tunnel fails to be set up.
  • GRACEFUL SWITCH: indicates that the tunnels are switched through GR.
  • GRACEFUL DELETE: indicates that during the GR process a type of LSP is deleted.

Active LSP

Type of CR-LSP in use:

  • Primary LSP: indicates the primary CR-LSP.
  • Hot-Standby LSP: indicates the hot-standby CR-LSP.
  • Ordinary LSP: indicates the ordinary backup CR-LSP.
  • Best-Effort LSP: indicates the best-effort path.

Traffic Switch

Traffic switching status.

Session ID

Session ID of a CR-LSP.

Ingress LSR ID

LSR ID of the ingress.

Egress LSR ID

LSR ID of the egress.

Admin State

Administrative status.

Oper State

Operating status.

Primary LSP State

Status of a primary CR-LSP:

  • UP: indicates that the primary CR-LSP is successfully set up.
  • DOWN: indicates that no primary CR-LSP is set up.
  • GRACEFUL SWITCH: indicates that the primary CR-LSP is being switched to the Modified CR-LSP.
  • GRACEFUL DELETE: indicates that during the GR process, the primary CR-LSP is deleted.

Main LSP State

Status of the primary CR-LSP:

  • READY: indicates that the primary CR-LSP is successfully set up.
  • SETTING UP: indicates that the primary CR-LSP is being set up.

Hot-Standby LSP State

Status of a hot-standby CR-LSP:

  • UP: indicates that a hot-standby CR-LSP is successfully set up.
  • DOWN: indicates that no hot-standby CR-LSP is set up.
  • GRACEFUL SWITCH: indicates that the primary CR-LSP is being switched to the Modified CR-LSP.
  • GRACEFUL DELETE: indicates that during the GR process, the primary CR-LSP is deleted.

Modify LSP State

Status of a modified CR-LSP:

  • READY: indicates that the Modified CR-LSP is successfully set up.
  • SETTING UP: indicates that the Modified CR-LSP is being set up.

Ordinary LSP State

Status of an ordinary backup CR-LSP:

  • UP: indicates that the ordinary backup CR-LSP is successfully set up.
  • DOWN: indicates that no ordinary backup CR-LSP is set up.
  • GRACEFUL SWITCH: indicates that the main CR-LSP is being switched to the modified CR-LSP.
  • GRACEFUL DELETE: indicates that during the GR process, the main CR-LSP is deleted.

Best-Effort LSP State

Status of a best-effort path:

  • UP: indicates that the best-effort path is successfully set up.
  • DOWN: indicates that no best-effort path is set up.
  • GRACEFUL SWITCH: indicates that the main CR-LSP is being switched to the Modified CR-LSP.
  • GRACEFUL DELETE: indicates that during the GR process, the main CR-LSP is deleted.

LSP ID

LSP ID.

display mpls te tunnel-interface failed

Function

The display mpls te tunnel-interface failed command displays the MPLS TE tunnels that fail to be set up or that are being set up.

Format

display mpls te tunnel-interface failed

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After configuring multiple MPLS TE tunnels, you can use the display mpls te tunnel-interface failed command to check whether or not there are any tunnels that fail to be set up or are still being set up.

Example

# Display the MPLS TE tunnels that fail to be set up or that are being set up.

<HUAWEI> display mpls te tunnel-interface failed
    Tunnel name       SessionId       State Desc                                
    -----------------------------------------------------------                 
    Tunnel1          39              DOWN                                      
Table 9-96  Description of the display mpls te tunnel-interface failed command output

Item

Description

Tunnel name

Name of a tunnel interface.

SessionId

Session ID, which is the tunnel ID.

State Desc

Description of the tunnel status:
  • UP: The tunnel is in Up state.

  • DOWN: The tunnel is in Down state.

display mpls te tunnel-interface last-error

Function

The display mpls te tunnel-interface last-error command displays the last errors of a tunnel interface on the local node.

Format

display mpls te tunnel-interface last-error [ tunnel-name ]

Parameters

Parameter Description Value
tunnel-name Displays the last errors of a specified tunnel interface. The value is an existing tunnel name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

You can run the display mpls te tunnel-interface last-error command on the ingress to view the error of a local node or the error carried in an RSVP PathErr message sent by a downstream node. The errors can be as follows:
  • CSPF computation fails.
  • RSVP times out.

  • One or more LSPs are deleted during RSVP GR smooth.
  • One or more LSPs are deleted during RSVP aging.
  • RSVP GR fails to be triggered.

Precautions

The display mpls te tunnel-interface last-error command shows the last 20 recorded errors of each TE tunnel and LSP on which the errors occur, including errors about the primary CR-LSP, modified LSP, and backup CR-LSP.

If an RSVP PathErr message sent by a downstream node carries the error information, the ErroInfo field in the command output shows the IP address of the faulty downstream node and the cause of the error. If an error occurs on the ingress, the command output only shows the cause of the error.

Example

# Display information about the last errors of Tunnel1.

<HUAWEI> display mpls te tunnel-interface last-error Tunnel1
  Tunnel name: Tunnel1


    Error No.  : 1
    LSP Type   : Hot-Standby LSP             LSP ID     : 10.1.1.9:300:32776
    Error Code : 0x3e8                       Occur Time : 2013/01/07 14:42:23+00:00
    Error Info : Link 172.20.1.2 is excluded, IGP: ISIS Process-ID: 1 Area: Level
-1.

    Error No.  : 2
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x5080007                   Occur Time : 2013/01/07 11:13:45+00:00
    Error Info : error node = 172.16.1.1   error lsrid = 10.1.1.9
                 BKGD error SHUTDOWN IF

    Error No.  : 3
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x3e8                       Occur Time : 2013/01/07 09:55:06+00:00
    Error Info : Cannot find the same IGP type and process ID for 10.1.1.9 and 17
10.1.1.2 (inter area scenario).

    Error No.  : 4
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x3e8                       Occur Time : 2013/01/07 09:43:06+00:00
    Error Info : Cspf failed to calculate a path for Tunnel.

    Error No.  : 5
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x3e8                       Occur Time : 2013/01/07 08:43:06+00:00
    Error Info:  error node = 172.16.1.1   error lsrid = 10.1.1.9
    Routing Problem: No route available toward destination.

    Error No.  : 6
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x180001                    Occur Time : 2013/01/07 07:47:19+00:00
    Error Info : error node = 172.16.1.2   error lsrid = 0.0.0.0
                 Routing Problem Bad EXPLICIT_ROUTE object

    Error No.  : 7
    LSP Type   : Primary LSP                 LSP ID     : 10.1.1.9:300:1
    Error Code : 0x5080002                   Occur Time : 2013/01/6 20:03:05+00:00
    Error Info : error node = 0.0.0.0    error lsrid = 10.1.1.9
                 BKGD error TEAR ALL LSP
Table 9-97  Description of the display mpls te tunnel-interface last-error command output

Item

Description

Tunnel name

Name of an MPLS TE tunnel.

Error No

Number of errors.

LSP Type

Type of LSP:

  • Modified LSP: indicates the LSP which is in modified state.
  • Primary LSP: indicates the primary LSP.
  • Backup LSP: indicates the backup LSP.
  • Hot-Standby LSP: indicates the hot-standby LSP.

LSP ID

LSP ID, uniquely identified in the form of Ingress-LSR-ID:Tunnel-ID:Local-LSP-ID.

Error Code

Returned code, which specifies a unique type of error. The value is an integer in hexadecimal notation.

Occur Time

Time when an error occurred.

Error Info

Error description.

error node

Node on which an error occurs.

error lsrid

LSR ID of the node on which an error occurred.

Routing Problem

Error information carried in a received RSVP PathErr message:

No route available toward destination: indicates that no route to the destination address of the tunnel is available.

Bad EXPLICIT_ROUTE object: indicates that an unknown EXPLICIT_ROUTE object is received.

bad strict node: indicates that a certain node cannot be found on the strict explicit path.

Cspf failed to calculate a path for Tunnel

CSPF computation failure.

display mpls te tunnel-interface lsp-constraint

Function

The display mpls te tunnel-interface lsp-constraint command displays information about the CR-LSP attribute template on an MPLS TE tunnel interface.

Format

display mpls te tunnel-interface lsp-constraint [ tunnel interface-number ]

Parameters

Parameter Description Value
tunnel interface-number Specifies information about the CR-LSP attribute template on a specified MPLS TE tunnel interface. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the information about the CR-LSP attribute template on an MPLS TE tunnel interface, run the display mpls te tunnel-interface lsp-constraint command.

Example

# Display information about the CR-LSP attribute template on all MPLS TE tunnel interfaces.

<HUAWEI> display mpls te tunnel-interface lsp-constraint
    Tunnel Name                     :  Tunnel1                            
    Primary-lsp-constraint Name     :  p1                                       
    Hotstandby-lsp-constraint Number:  2                                        
    Hotstandby-lsp-constraint Name  :  p1                                       
    Ordinary-lsp-constraint Number  :  2                                        
    Ordinary-lsp-constraint Name    :  p1                                       
Table 9-98  Description of the display mpls te tunnel-interface lsp-constraint command output

Item

Description

Tunnel Name

Name of a tunnel.

Primary-lsp-constraint Name

Name of a CR-LSP attribute template.

Hotstandby-lsp-constraint Number

Number of the hot-standby CR-LSP attribute template, which indicates the sequence in which the template is used.

To set the number of the hot-standby CR-LSP attribute template, run the mpls te hotstandby-lsp-constraint command.

Hotstandby-lsp-constraint Name

Name of a hot-standby CR-LSP attribute template.

To set the name of a hot-standby CR-LSP attribute template, run the mpls te hotstandby-lsp-constraint command.

Ordinary-lsp-constraint Number

Number of the ordinary CR-LSP attribute template, which indicates the sequence in which the template is used.

To set the number of the ordinary CR-LSP attribute template, run the mpls te ordinary-lsp-constraint command.

Ordinary-lsp-constraint Name

Name of an ordinary CR-LSP attribute template.

To set the name of an ordinary CR-LSP attribute template, run the mpls te ordinary-lsp-constraint command.

display mpls te tunnel-interface traffic-state

Function

The display mpls te tunnel-interface traffic-state command displays information about the traffic on the tunnel interface of the local LSR.

Format

display mpls te tunnel-interface traffic-state [ tunnel-name ]

Parameters

Parameter Description Value
tunnel-name Specifies a tunnel name. The value is an existing tunnel name.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check the traffic protection mode, traffic state, and traffic switchover reasons of a tunnel interface on a local LSR, run the display mpls te tunnel-interface traffic-state command.

Example

# Display information about the traffic on the tunnel interface of the local LSR.

<HUAWEI> display mpls te tunnel-interface traffic-state
 Protect Config: HSB - Hot-Standby,       OBK - Ordinary Backup
                 FRR - Fast Reroute,      BBK - Best-Effort Backup
                 PS  - Protection Switch

 -------------------------------------------------------------------------------
 Tunnel Interface    Protect Config   Traffic State           Switch Reason
 -------------------------------------------------------------------------------
 Tunnel1            OBK              Primary LSP             --
 Tunnel2            HSB              Primary LSP             Signal Fail
Table 9-99  Description of the display mpls te tunnel-interface traffic-state command output

Item

Description

Tunnel Interface

Tunnel interface name.

Protect Config

Protection modes. The protection modes are displayed using short names. If two protection modes are performed, both the two protection modes are displayed.

  • HSB: indicates the hot standby.

  • OBK: indicates ordinary backup.

  • BBK: indicates the best-effort path.
  • FRR: indicates FRR.
  • PS: indicates the tunnel protection group.

Traffic State

Traffic protection state, including the following types:

  • Hot-Standby LSP: Traffic is switched to the hot-standby LSP.
  • Primary LSP FRR In Use: Traffic is on the primary LSP that is in the FRR in use state.
  • Best-Effort LSP: Traffic is on the best-effort LSP.
  • Ordinary LSP: Traffic is on the ordinary backup LSP.
  • Protection Tunnel: Traffic is on the protection tunnel.
  • Primary LSP: Traffic is on the primary LSP, and no switchover is performed.

Switch Reason

Reason why traffic is not on the primary LSP. If the traffic is on the primary LSP, or the traffic is on the primary LSP which is in the FRR in use state, this field is not displayed. If multiple reasons exist, only one reason with the highest priority is displayed. Following are the reasons listed in descending order of priorities:

  • Manual Command: The user uses a command to enable a switchover.
  • Signal Fail: The signaling protocol or detection protocol is Down.
  • Signal Degrade: The detection protocol signal degrades. This field is also displayed when bit errors occur.
  • Wait To Restore (WTR): The system waits for WTR period and then switch traffic back to the primary LSP.
  • Do Not Revertive: Traffic is not switched back to the primary LSP even if the primary LSP recovers.

display mpls te tunnel

Function

The display mpls te tunnel command displays information about an MPLS TE tunnel.

Format

display mpls te tunnel [ destination ip-address ] [ lsp-id ingress-lsr-id session-id local-lsp-id ] [ lsr-role { all | egress | ingress | remote | transit } ] [ name tunnel-name ] [ { incoming-interface | interface | outgoing-interface } interface-type interface-number ] [ verbose ]

display mpls te tunnel { stale-incoming-interface | stale-interface | stale-outgoing-interface } interface-index [ verbose ]

Parameters

Parameter Description Value
destination ip-address Displays information about an MPLS TE tunnel with a specified destination address. -
lsp-id Displays information about an MPLS TE tunnel with a specified LSP ID. -
ingress-lsr-id Specifies the LSR ID of the ingress. The value is in dotted decimal notation.
session-id Specifies the ID of a session. The value is an integer that ranges from 0 to 65535.
local-lsp-id Specifies the local LSP ID. The value is an integer that ranges from 0 to 65535.
lsr-role Displays information about an MPLS TE tunnel according to the specified role of the local LSR. -
all Displays information of all MPLS TE tunnels. -
egress Displays information about an MPLS TE tunnel with the local LSR as the egress. -
ingress Displays information about an MPLS TE tunnel with the local LSR as the ingress. -
remote Displays information about an MPLS TE tunnel with the local LSR as the egress or the transit node. -
transit Displays information about an MPLS TE tunnel with the local LSR as a transit node. -
name tunnel-name Displays the MPLS TE tunnel whose name is specified. tunnel-name must be the name of an existing tunnel and its format, including the upper and lower casing, and blank spaces, must be consistent with that of the configuration file. For example, when the tunnel interface in a configuration file is named "interface Tunnel1", the tunnel name to be specified must also be Tunnel1. "tunnel1" or "Tunnel 1" is incorrect.
incoming-interface interface-type interface-number Displays information about all MPLS TE tunnels with a specified incoming interface. -
interface interface-type interface-number Displays information about all MPLS TE tunnels with an outgoing or incoming interface of the specified type and number. -
outgoing-interface interface-type interface-number Displays information about all MPLS TE tunnels with a specified outgoing interface. -
verbose Displays detailed information. -
stale-incoming-interface Displays information about MPLS TE tunnels with a specified incoming interface in the stale state. -
stale-interface Displays information about MPLS TE tunnels on an interface in the stale state. -
stale-outgoing-interface Displays information about MPLS TE tunnels with a specified outgoing interface in the stale state. -
interface-index Specifies the index of a specified stale interface. The value is a hexadecimal integer that ranges from 1 to FFFFFFFE.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When verbose is configured, the command output varies with the signaling protocol used by the MPLS TE tunnel.

Example

# Display information about an MPLS TE tunnel.

<HUAWEI> display mpls te tunnel
------------------------------------------------------------------------------  
Ingress LsrId    Destination      LSPID   In/Out Label     R  Tunnel-name       
------------------------------------------------------------------------------  
10.1.1.9         10.3.3.9         6       --/1027          I  Tunnel1
Table 9-100  Description of the display mpls te tunnel command output

Item

Description

Ingress LsrId

Ingress LSR ID.

Destination

Destination IP address.

LSPID

LSP ID of the ingress.

In/Out Label

Incoming and outgoing labels.

R

The LSR role, including:

  • I: Ingress

  • T: Transit

  • E: Egress

Tunnel-name

Tunnel name.

# Display information about the MPLS TE tunnel with the ingress IP address being 10.1.1.9 and the LSP ID being 1.

<HUAWEI> display mpls te tunnel lsp-id 10.1.1.9 1 1
------------------------------------------------------------------------------
Ingress LsrId    Destination      LSPID   In/Out Label     R  Tunnel-name
------------------------------------------------------------------------------
10.1.1.9         10.2.2.9         1       --/3             I  Tunnel1

# Display detailed information about an MPLS TE tunnel.

<HUAWEI> display mpls te tunnel verbose
    No                      :  1
    Tunnel-Name             :  LSRAtoLSRC
    Tunnel Interface Name   :  Tunnel1
    TunnelIndex             :  0           LSP Index         :  1024
    Session ID              :  100         LSP ID            :  1
    LSR Role                :  Ingress     LSP Type          :  Primary
    Ingress LSR ID          :  10.1.1.1
    Egress LSR ID           :  10.2.2.2
    In-Interface            :  -
    Out-Interface           :  Vlanif10
    Sign-Protocol           :  Static CR   Resv Style        :
    IncludeAnyAff           :  0x0         ExcludeAnyAff     :  0x0
    IncludeAllAff           :  0x0
    LspConstraint           :  1
    ER-Hop Table Index      :  -           AR-Hop Table Index:  -
    C-Hop Table Index       :  -
    PrevTunnelIndexInSession:  -           NextTunnelIndexInSession:  -
    PSB Handle              :  0
    Created Time            :  2013/01/29 18:21:36+00:00
    RSVP LSP Type           :  -  
    --------------------------------
              DS-TE Information
    --------------------------------
    Bandwidth Reserved Flag :  Unreserved
    CT0 Bandwidth(Kbit/sec) :  0           CT1 Bandwidth(Kbit/sec):  0
    CT2 Bandwidth(Kbit/sec) :  0           CT3 Bandwidth(Kbit/sec):  0
    CT4 Bandwidth(Kbit/sec) :  0           CT5 Bandwidth(Kbit/sec):  0
    CT6 Bandwidth(Kbit/sec) :  0           CT7 Bandwidth(Kbit/sec):  0
    Setup-Priority          :  7           Hold-Priority          :  7
    --------------------------------
                FRR Information
    --------------------------------
    Primary LSP Info
    TE Attribute Flag       :  0x63        Protected Flag    : 0x0
    Bypass In Use           :  Not Exists
    Bypass Tunnel Id        :  -
    BypassTunnel            :  -
    Bypass LSP ID           :  -           FrrNextHop        :  -
    ReferAutoBypassHandle   :  -
    FrrPrevTunnelTableIndex :  -           FrrNextTunnelTableIndex:  -
    Bypass Attribute(Not configured)
    Setup Priority          :  -           Hold Priority     :  -
    HopLimit                :  -           Bandwidth         :  -
    IncludeAnyGroup         :  -           ExcludeAnyGroup   :  -
    IncludeAllGroup         :  -
    Bypass Unbound Bandwidth Info(Kbit/sec)
    CT0 Unbound Bandwidth   :  -         CT1 Unbound Bandwidth:  -
    CT2 Unbound Bandwidth   :  -         CT3 Unbound Bandwidth:  -
    CT4 Unbound Bandwidth   :  -         CT5 Unbound Bandwidth:  -
    CT6 Unbound Bandwidth   :  -         CT7 Unbound Bandwidth:  -
    --------------------------------
               BFD Information
    --------------------------------
    NextSessionTunnelIndex  :  -           PrevSessionTunnelIndex:  -
    NextLspId               :  -           PrevLspId         :  - 
Table 9-101  Description of the display mpls te tunnel verbose command output

Item

Description

No

Number of an MPLS TE tunnel.

Tunnel-Name

Name of an MPLS TE tunnel.

Tunnel Interface Name

Interface name of an MPLS TE tunnel.

TunnelIndex

Index of an MPLS TE tunnel.

LSP Index

Index of an LSP.

Session ID

Session ID, which is the tunnel ID.

LSP ID

LSP ID.

LSR Role

Role of the LSR:
  • Ingress: indicates the node is the ingress of the tunnel.
  • Egress: indicates the node is the egress of the tunnel.
  • Transit: indicates the node is the transit of the tunnel.

LSP Type

Type of an LSP:
  • Primary: indicates the primary CR-LSP.
  • Hot-Standby: indicates the hot-standby CR-LSP.
  • Ordinary: indicates the ordinary backup CR-LSP.
  • Best-Effort: indicates the best-effort path.

Ingress LSR ID

LSR ID of the ingress.

Egress LSR ID

LSR ID of the egress.

In-Interface

Incoming interface of the LSP on the local node.

Out-Interface

Outgoing interface of the LSP on the local node.

Sign-Protocol

Tunnel protocol:
  • Static: indicates Static LSP.
  • Static CR: indicates Static CR-LSP.
  • RSVP TE: uses RSVP TE signaling.

Resv Style

Style of resource reservation. For a static CR-LSP, no resource reservation style is displayed. For an RSVP-TE tunnel, shared explicit (SE) or fixed filter (FF) is displayed.

IncludeAnyAff

Valid affinity property. The default value is 0x0.

ExcludeAnyAff

Invalid affinity property. The default value is 0x0.

IncludeAllAff

The affinity property need to be included. The default value is 0x0.

LspConstraint

Sequence number of the constraint used by an LSP.

ER-Hop Table Index

Index of an explicit routing table.

AR-Hop Table Index

Index of the actual explicit routing table.

C-Hop Table Index

Routing table index that is calculated by CSPF.

PrevTunnelIndexInSession

Index of the previous tunnel entry in the same session.

NextTunnelIndexInSession

Index of the next tunnel entry in the same session.

PSB Handle

Handle of the PSB.

Created Time

Amount of time an MPLS TE tunnel is created for.

RSVP LSP Type

LSP type.
  • Primary: indicates that the LSP is a primary LSP.
  • Hot-Standby: indicates that the LSP is a hot-standby LSP.
NOTE:

This field is displayed as "-" because the device does not support the error code switching function.

Bandwidth Reserved Flag

Bandwidth reservation flag:
  • Unreserved: indicates that no bandwidth is reserved for CTs.
  • Reserved: indicates that the bandwidth is reserved for one or multiple CTs.

CT0 Bandwidth(Kbit/sec) - CT7 Bandwidth(Kbit/sec)

Value of the bandwidth that is reserved for CT0 to CT7.

Setup-Priority

Setup priority of an MPLS TE tunnel.

Hold-Priority

Holding priority of an MPLS TE tunnel.

Primary LSP Info

Information about the primary LSP.

TE Attribute Flag

Flag of the TE tunnel attribute.

Protected Flag

Flag of the primary tunnel of the protection group.

Bypass In Use

LSP ID of the bypass tunnel. "Not Exists" indicates that the primary tunnel is not bound to a bypass tunnel.

Bypass Tunnel Id

Tunnel ID of the bypass tunnel.

BypassTunnel

Name of the bypass tunnel.

Bypass LSP ID

LSP ID of the bypass tunnel.

FrrNextHop

Next hop of the redirect route.

ReferAutoBypassHandle

Handle of the automatic bypass tunnel.

FrrPrevTunnelTableIndex

Index value of the previous tunnel entry in FRR.

FrrNextTunnelTableIndex

Index value of the next tunnel entry in FRR.

Bypass Attribute

Attributes of a bypass tunnel. "(Not configured)" indicates that no such attribute is configured and the bypass tunnel inherits the attributes of the primary tunnel.

Setup Priority

Setup priority of a bypass tunnel.

Hold Priority

Holding priority of a bypass tunnel.

HopLimit

Maximum number of hops along a bypass tunnel.

Bandwidth

Bandwidth of a bypass tunnel.

IncludeAnyGroup

Valid affinity property of a bypass tunnel.

ExcludeAnyGroup

Invalid affinity property of a bypass tunnel.

IncludeAllGroup

The affinity property of a bypass tunnel need to be included.

Bypass Unbound Bandwidth Info

Information about the bandwidth that is not bound to a bypass tunnel.

CT0 Unbound Bandwidth - CT7 Unbound Bandwidth

Bandwidth that is able to be reserved, but not for CT0 to CT7.

NextSessionTunnelIndex

Next index of a bypass tunnel entry.

PrevSessionTunnelIndex

Previous index of a bypass tunnel entry.

NextLspId

Value of the next bypass LSP ID.

PrevLspId

Value of the previous bypass LSP ID.

display mpls te tunnel c-hop

Function

The display mpls te tunnel c-hop command displays the path computation results of tunnels.

Format

display mpls te tunnel c-hop [ tunnel-name ] [ lsp-id ingress-lsr-id session-id lsp-id ]

Parameters

Parameter Description Value
tunnel-name Displays the path computation result of the specified tunnel. The value is an existing tunnel name.
lsp-id Displays the path computation result of the specified tunnel based on the LSP ID. -
ingress-lsr-id Specifies the ingress LSR ID. The value is in dotted decimal notation.
session-id Specifies the session ID. The value is an integer that ranges from 0 to 65535.
lsp-id Specifies the LSP ID. The value is an integer that ranges from 0 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Tunnels are established based on path computation results. When a tunnel cannot be established successfully, run the display mpls te tunnel c-hop command to view the path computation results for locating causes on a per-hop basis.

Example

# Display the path computation result of a tunnel.

<HUAWEI> display mpls te tunnel c-hop
 Tunnel Interface Name : Tunnel1
 Lsp ID : 10.2.2.2 :1 :10958
 CHop Information:
  Hop 0   10.3.0.2
  Hop 1   10.3.0.3

# Display the path computation result of the specified tunnel based on the LSP ID.

<HUAWEI> display mpls te tunnel c-hop lsp-id 10.2.2.2 1 10958
 Tunnel Interface Name : Tunnel1
 Lsp ID : 10.2.2.2 :1 :10958
 CHop Information:
  Hop 0   10.3.0.2
  Hop 1   10.3.0.3
Table 9-102  Description of the display mpls te tunnel c-hop command output

Item

Description

Tunnel Interface Name

Interface name of a tunnel.

Lsp ID

LSP ID of a tunnel, in the Ingress-Lsr-Id:Tunnel-Id:LSP-Id format.

CHop Information

Information about CSPF path computation. Hop specifies the IPv4 address of each hop in the path computation result.

Related Topics

display mpls te tunnel path

Function

The display mpls te tunnel path command displays the path of an MPLS TE tunnel.

Format

display mpls te tunnel path [ [ [ tunnel-name ] tunnel-name ] [ lsp-id ingress-lsr-id session-id lsp-id ] | fast-reroute { local-protection-available | local-protection-inuse } | lsr-role { ingress | transit | egress } ]

display mpls te tunnel path expanded tunnel-name tunnel-name [ lsp-id ingress-lsr-id session-id lsp-id ]

display mpls te tunnel path expanded lsp-id ingress-lsr-id session-id lsp-id

Parameters

Parameter Description Value
tunnel-name tunnel-name Specifies the name of an MPLS TE tunnel.

If the mpls te signalled tunnel-name command has been used to configure a tunnel name, this specified name is used.

The value is an existing tunnel name.
ingress-lsr-id Specifies the LSR ID of the ingress. The value is in dotted decimal notation.
session-id Specifies the ID of a session. The value is an integer that ranges from 0 to 65535.
lsp-id Specifies the LSP ID. The value is an integer that ranges from 0 to 65535.
fast-reroute local-protection-available Specifies the available path for local protection of FRR. -
fast-reroute local-protection-inuse Specifies the path in use for local protection of FRR. -
lsr-role { ingress | transit | egress } Indicates the role of an LSR.
  • ingress: indicates the ingress LSR.
  • transit: indicates the transit LSR.
  • egress: indicates the egress LSR.
-
expanded Displays the expanded LSP path information by completing the RRO information. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The display mpls te tunnel path command displays information about the path of an MPLS TE tunnel.

If no tunnel name is specified, information about all MPLS TE tunnels' path attributes is displayed.

When a Huawei device is interconnected with a non-Huawei device and the RRO information carried in the packet sent by the non-Huawei device is incomplete, the RRO information can be complemented using the display mpls te tunnel path expanded command on the Huawei device to display the information about the entire LSP path.

Precautions

The system can record and display the paths only after the mpls te record-route command is configured.

Example

# Display information about path attributes of all MPLS TE tunnels.

<HUAWEI> display mpls te tunnel path
Tunnel Interface Name : Tunnel1
 Lsp ID : 10.1.1.9 :100 :34                                                      
 Hop Information                                                                
  Hop 0   172.16.1.1 Local-Protection available | node                           
  Hop 1   172.16.1.2  Label 1055                                                 
  Hop 2   10.2.2.9  Label 1055                                                   
  Hop 3   172.20.1.1 Local-Protection available                                  
  Hop 4   172.20.1.2  Label 1063                                                 
  Hop 5   10.3.3.9  Label 1063                                                   
  Hop 6   172.30.1.1                                                             
  Hop 7   172.30.1.2  Label 3                                                    
  Hop 8   10.4.4.9  Label 3                                                      

# Display path attributes of the MPLS TE tunnel with the ingress IP address being 10.1.1.9, the session ID being 300, and the LSP ID being 4.

<HUAWEI> display mpls te tunnel path lsp-id 10.1.1.9 300 4
 Tunnel Interface Name : Tunnel1                                            
 Lsp ID : 10.1.1.9 :300 :4                                                       
 Hop Information                                                                
  Hop 0   172.16.1.1                                                             
  Hop 1   172.16.1.2  Label 1043                                                 
  Hop 2   10.2.2.9  Label 1043                                                   
  Hop 3   172.20.1.1                                                             
  Hop 4   172.20.1.2  Label 4                                                    
  Hop 5   10.3.3.9  Label 4                                                      

# Display path attributes of a tunnel named LSRAtoLSRC.

<HUAWEI> display mpls te tunnel path tunnel-name LSRAtoLSRC
 Tunnel Interface Name : LSRAtoLSRC
 Lsp ID : 10.1.1.9 :1 :2
 Hop Information
  Hop 0   10.11.1.1  Local-Protection in use
  Hop 1   10.11.1.2  Label 3
  Hop 2   10.2.2.9

# Display path attributes of a tunnel named A2 using the command which expanded the information about the path.

<HUAWEI> display mpls te tunnel path expanded tunnel-name A2
 Tunnel Interface Name : A2                                             
 Lsp ID : 10.1.1.9 :300 :4                                                       
 Hop Information                                                                
  Hop 0   10.1.1.9   Local-Protection available | bandwidth            
  Hop 1   172.16.1.1                                                             
  Hop 2   172.16.1.2  Label 1042                                                 
  Hop 3   10.2.2.9  Label 1042                                                   
  Hop 4   172.20.1.1                                                             
  Hop 5   172.20.1.2  Label 3                                                    
  Hop 6   10.3.3.9  Label 3                                                      
Table 9-103  Description of the display mpls te tunnel path command output

Item

Description

Tunnel Interface Name

Name of a tunnel interface.

Lsp ID

LSP ID on the ingress.

Hop Information

Number and IP address of each hop.

Local-Protection available

Link protection provided by the bypass tunnel.

Local-Protection available | bandwidth

Bandwidth protection provided by the bypass tunnel.

Local-Protection available | node

Node protection provided by the bypass tunnel.

Local-Protection in use

The bypass tunnel in use.

Related Topics

display mpls te tunnel statistics

Function

The display mpls te tunnel statistics command displays the number and status of MPLS TE tunnels.

Format

display mpls te tunnel statistics

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To view the number and status of MPLS TE tunnels, run the display mpls te tunnel statistics command.

Example

# Display the number and status of MPLS TE tunnels.

<HUAWEI> display mpls te tunnel statistics
Ingress:    84 Tunnels     83 Up,     83 CRLSPs Up
             0 Modified,    0 In-Progress,    1 Failed
Transit:     2 Up
Egress :     3 Up
Table 9-104  Description of the display mpls te tunnel statistics command output

Item

Description

Ingress

Number and status of MPLS TE tunnels on the local LSR functioning as the ingress node:
  • Tunnel: indicates the number of primary tunnels.

  • Up: indicates the number of MPLS TE tunnels in the Up state.

  • CRLSPs Up: indicates the number of CR-LSPs in the Up state.

  • Modified: indicates the number of tunnels in the reestablishing state.

    NOTE:

    The possible causes that an MPLS TE tunnel is in the Modified state are as follows:

    Configurations of the MPLS TE tunnel are manually modified.

    The MPLS TE tunnel is being re-optimized.

    The MPLS TE tunnel is in the FRR inuse state.

    The MPLS TE tunnel is in the Backup state.

  • In-Progress: indicates the number of MPLS TE tunnels in the establishing process. At the moment, these tunnels do not go Up.

  • Failed: indicates the number of MPLS TE tunnels in the Down state.

Transit

Number of MPLS TE tunnels, which are in the Up state, on the local LSR functioning as a transit node.

Egress

Number of MPLS TE tunnels, which are in the Up state, on the local LSR functioning as the egress node.

display ospf mpls-te

Function

The display ospf mpls-te command displays information about TE LSAs in an LSDB.

Format

display ospf [ process-id ] mpls-te [ area area-id ] [ self-originated ]

Parameters

Parameter Description Value
process-id Specifies the OSPF process ID. The value ranges from 1 to 65535.
area area-id Displays information about the area with a specified ID. The value can be a decimal integer or in the IP address format. The integer value ranges from 0 to 4294967295.
self-originated Displays information about the self originated TE LSAs. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can view information about LSAs of a specific process or area by specifying parameters.

Example

# Display information about all TE LSAs in the LSDB.

<HUAWEI> display ospf mpls-te
         OSPF Process 1 with Router ID 172.16.1.2

 Area ID                   : 0.0.0.0

 Traffic Engineering LSAs of the database

 ------------------------------------------------

 LSA [ 1 ]

 ------------------------------------------------
   Lsa  Type                : Opq-Area
   Opaque Type              : 1
   Opaque Id                : 2
   Advertising Router Id    : 172.16.1.2
   Lsa  age                 : 36
   Length                   : 200
   Lsa  Options             : E
   LS Seq Number            : 80000001
   CheckSum                 : 7130

   Link Type                : MultiAccess
   Link ID                  : 172.20.1.1
   Local Interface Address  : 172.20.1.1
   Remote Interface Address : 0.0.0.0
   TE Metric                : 1
   Maximum Bandwidth        : 0 bytes/sec
   Maximum Reservable BW    : 0 bytes/sec
   Admin Group              : 0X0

 Global Pool                :
   Unreserved BW [ 0] =   0  bytes/sec
   Unreserved BW [ 1] =   0  bytes/sec
   Unreserved BW [ 2] =   0  bytes/sec
   Unreserved BW [ 3] =   0  bytes/sec
   Unreserved BW [ 4] =   0  bytes/sec
   Unreserved BW [ 5] =   0  bytes/sec
   Unreserved BW [ 6] =   0  bytes/sec
   Unreserved BW [ 7] =   0  bytes/sec
   Sub Pool                 :
   Unreserved BW [ 8] =   0  bytes/sec
   Unreserved BW [ 9] =   0  bytes/sec
   Unreserved BW [10] =   0  bytes/sec
   Unreserved BW [11] =   0  bytes/sec
   Unreserved BW [12] =   0  bytes/sec
   Unreserved BW [13] =   0  bytes/sec
   Unreserved BW [14] =   0  bytes/sec
   Unreserved BW [15] =   0  bytes/sec

   DS-TE Mode: Non-Standard IETF Mode

   Bandwidth Constraint Model: RDM

 Bandwidth Constraints

               BC [ 0] =   0  bytes/sec              BC [ 1] =   0  bytes/sec

 Local OverBooking Multipliers

              LOM [ 0] =   1                  LOM [ 1] =   1


------------------------------------------------

 LSA [ 2 ]

 ------------------------------------------------
   Lsa  Type                : Opq-Area
   Opaque Type              : 1
   Opaque Id                : 1
   Advertising Router Id    : 172.16.1.2
   Lsa  age                 : 1681
   Length                   : 200
   Lsa  Options             : E
   LS Seq Number            : 80000033
   CheckSum                 : 77F4

   Link Type                : MultiAccess
   Link ID                  : 172.17.1.1
   Local Interface Address  : 172.17.1.1
   Remote Interface Address : 0.0.0.0
   TE Metric                : 1
   Maximum Bandwidth        : 0 bytes/sec
   Maximum Reservable BW    : 0 bytes/sec
   Admin Group              : 0X0

 Global Pool                :
   Unreserved BW [ 0] =   0  bytes/sec
   Unreserved BW [ 1] =   0  bytes/sec
   Unreserved BW [ 2] =   0  bytes/sec
   Unreserved BW [ 3] =   0  bytes/sec
   Unreserved BW [ 4] =   0  bytes/sec
   Unreserved BW [ 5] =   0  bytes/sec
   Unreserved BW [ 6] =   0  bytes/sec
   Unreserved BW [ 7] =   0  bytes/sec
   Sub Pool                 :
   Unreserved BW [ 8] =   0  bytes/sec
   Unreserved BW [ 9] =   0  bytes/sec
   Unreserved BW [10] =   0  bytes/sec
   Unreserved BW [11] =   0  bytes/sec
   Unreserved BW [12] =   0  bytes/sec
   Unreserved BW [13] =   0  bytes/sec
   Unreserved BW [14] =   0  bytes/sec
   Unreserved BW [15] =   0  bytes/sec

   DS-TE Mode: Non-Standard IETF Mode

   Bandwidth Constraint Model: RDM

 Bandwidth Constraints

               BC [ 0] =   0  bytes/sec              BC [ 1] =   0  bytes/sec

 Local OverBooking Multipliers

              LOM [ 0] =   1                  LOM [ 1] =   1
...
Table 9-105  Description of the display ospf mpls-te command output

Item

Description

OSPF Process 1 with Router ID 172.16.1.2

OSPF process 1 with Router ID being 172.16.1.2.

Area ID

ID of the OSPF area enabled with TE.

Traffic Engineering LSAs of the database

TE LSAs in an LSDB.

Lsa Type

LSA type:
  • Opq-Link: indicates Type 9 LSAs that can only be spread on a specified interface.

  • Opq-Area: indicates Type 10 LSAs that can only be spread within a specified area.

  • Opq-As: indicates Type 11 LSAs that can be spread the same as Type 5 LSAs in the entire AS, except for the stub and NSSA areas.

Opaque Type

Application type of LSAs. For example, when LSAs are applied to traffic engineering, the value of the LSA type is 1. When LSAs are applied to the OSPF graceful restart, the value of the LSA type is 3.

Opaque Id

LSAs that are applied to the same application type. Opaque type and Opaque ID in an LSA header together specify the link status ID.

Advertising Router Id

Device that generates the LSA.

Lsa age

Aging time of the LSA. It is in the header of Opaque LSA, in seconds.

Length

Length of the Opaque LSA, including the LSA header, in bytes.

Lsa Options

LSA options:
  • E: floods AS-external-LSAs.

  • MC: forwards IP multicast packets.

  • N/P: processes Type 7 LSAs.

  • DC: processes required links.

LS Seq Number

LSA sequence, according to which other devices can identify the latest LSAs.

CheckSum

Checksum of LSA fields except for the LS age field.

Link Type

Link type:
  • Point-to-point

  • Point-to-multi-point (P2MP)

  • Broadcast

Link ID

Link ID in the IP address format:
  • Point-to-point: indicates the router ID of an OSPF neighbor.

  • P2MP or broadcast: indicates the IP address of the DR interface.

Local Interface Address

IP address of the local interface.

Remote Interface Address

IP address of the peer interface:
  • Point-to-point: indicates that the IP address of the peer is used.

  • P2MP or broadcast: indicates that 0.0.0.0 is used or the IP address is omitted.

TE Metric

TE metric.

Maximum Bandwidth

Maximum bandwidth.

Maximum Reservable BW

Maximum capacity of reserved bandwidth.

Admin Group

Administration group.

Global Pool

Global address pool.

Unreserved BW [ 0 ] to [ 7 ]

Available bandwidth of eight levels.

Sub Pool

Sub-address pool. It is only applied to DS-TE LSAs.

Unreserved BW [ 8 ] to [ 15 ]

Available bandwidth of eight levels in the sub-address pool.

DS-TE Mode

DS-TE mode:
  • Standard IETF mode
  • Non-standard IETF mode

Bandwidth Constraint Model

Bandwidth Constraints model of LSAs:
  • RDM
  • MAM
  • Extended-MAM

Bandwidth Constraints

Bandwidth constraints, which are only applied to DS-TE LSAs.

BC [ 0] - [ 7]

Eight bandwidth constraints, which are only applied to DS-TE LSAs.

Local OverBooking Multipliers

Local overbooking multiplier.

LOM [ 0] LOM [ 1]

Local overbooking multipliers for BC0 or BC1. It is applied only to DS-TE LSAs.

display ospf traffic-adjustment

Function

The display ospf traffic-adjustment command displays OSPF process-specific tunnel information relevant to traffic adjustment (through IGP shortcut and forwarding adjacency).

Format

display ospf [ process-id ] traffic-adjustment

Parameters

Parameter Description Value
process-id Specifies the OSPF process ID. If you do not specify a process ID, information about all OSPF processes is displayed. The value is an integer ranges from 1 to 65535.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

When you want to look up the OSPF process-specific tunnel information relevant to traffic adjustment, you can run this command.

Example

# Display tunnel information, which is relevant to traffic adjustment, of OSPF process 100.

<HUAWEI> display ospf 100 traffic-adjustment
                                                                                
         OSPF Process 100 with Router ID 1.1.1.9                                
                 Traffic adjustment                                             
                                                                                
 Interface: 1.1.1.9 (Tunnel1)                                               
 Type: Forwarding Adjacency                                                     
 Neighbor ID: 3.3.3.9           Cost: 1                                         
 Configuration:                                                                 
  Neighbor ip address: 3.3.3.9                                                  
  Cost     :1                                                                   
  Cost Type: Absolute                                                           
  Hold Time: 0                                                                  
Table 9-106  Description of the display ospf traffic-adjustment command output

Item

Description

Interface

Name and IP address of a tunnel interface

Type

Whether or not a tunnel is applied to IGP shortcut or forwarding adjacency

Neighbor ID

Router ID of a neighbor device

Cost

Cost

Neighbor ip address

IP address of a neighbor device

Cost Type

Cost type:
  • Relative

  • Absolute

Hold Time

Time elapsed since the tunnel has been created

display snmp-agent trap feature-name mpls_rsvp all

Function

The display snmp-agent trap feature-name mpls_rsvp all command displays the status of whether all trap functions of the MPLS RSVP module are enabled.

Format

display snmp-agent trap feature-name mpls_rsvp all

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The Simple Network Management Protocol (SNMP) is a standard network management protocol widely used on TCP/IP networks. It uses a central computer (a network management station) that runs network management software to manage network elements. The management agent on the network element automatically reports traps to the network management station. After that, the network administrator immediately takes measures to resolve the problem.

Example

# Display all trap messages of the MPLS RSVP module.

<HUAWEI> display snmp-agent trap feature-name mpls_rsvp all
------------------------------------------------------------------------------
Feature name: MPLS_RSVP                     
Trap number : 8
------------------------------------------------------------------------------
Trap name                       Default switch status   Current switch status 
hwRsvpTeHelloLost               off                     on                  
hwRsvpTeHelloLostRecovery       off                     on                  
hwRsvpTeAuthFail                off                     on                  
hwRsvpTeAuthSuccess             off                     on
hwRsvpTeIfNbrThresholdExceed    off                     on
hwRsvpTeIfNbrThresholdExceedClear
                                off                     on
hwRsvpTeIfNbrTotalCountExceed   off                     on
hwRsvpTeIfNbrTotalCountExceedClear
                                off                     on
Table 9-107  Description of the display snmp-agent trap feature-name mpls_rsvp all command output

Item

Description

Feature name

Name of the module to which a trap message belongs

Trap number

Number of trap messages

Trap name

Name of a trap message of the MPLS RSVP module:

  • hwRsvpTeHelloLost: The RSVP neighbor relationship was interrupted.
  • hwRsvpTeHelloLostRecovery: The device is restored from the status of interruption of RSVP neighbor relationship.
  • hwRsvpTeAuthFail: RSVP authentication failed.
  • hwRsvpTeAuthSuccess: RSVP authentication succeeded.
  • hwRsvpTeIfNbrThresholdExceed: The proportion of configured RSVP neighbors to RSVP neighbors supported by a device reaches the upper alarm threshold.

  • hwRsvpTeIfNbrThresholdExceedClear: The proportion of configured RSVP neighbors to RSVP neighbors supported by a device falls below the lower threshold.

  • hwRsvpTeIfNbrTotalCountExceed: The number of configured RSVP neighbors on a device reaches the maximum number of RSVP neighbors supported by the device.

  • hwRsvpTeIfNbrTotalCountExceedClear: The number of configured RSVP neighbors on a device falls below the maximum limit of RSVP neighbors.

Default switch status

Default status of the trap function:
  • on: indicates that the trap function is enabled by default.
  • off: indicates that the trap function is disabled by default.

Current switch status

Current status of the trap function:
  • on: indicates that the trap function is enabled.
  • off: indicates that the trap function is disabled.

enable traffic-adjustment

Function

The enable traffic-adjustment command enables the IGP shortcut function.

The enable traffic-adjustment advertise command enables the forwarding adjacency function.

The undo enable traffic-adjustment command disables the IGP shortcut function.

The undo enable traffic-adjustment advertise command disables the forwarding adjacency function.

By default, the IGP shortcut function and the forwarding adjacency function are disabled.

Format

enable traffic-adjustment [ advertise ]

undo enable traffic-adjustment [ advertise ]

Parameters

None.

Views

OSPF view

Default Level

2: Configuration level

Usage Guidelines

After the configuration of a command, all TE tunnels are involved in the SPF calculation and flooding.

Example

# Enable the forwarding adjacency function of the OSPF process.

<HUAWEI> system-view
[HUAWEI] ospf 100
[HUAWEI-ospf-100] enable traffic-adjustment advertise

explicit-path

Function

The explicit-path command configures an explicit path of a tunnel.

The undo explicit-path command deletes a configured explicit path.

By default, no explicit path of a tunnel is configured.

Format

explicit-path path-name

undo explicit-path path-name

Parameters

Parameter Description Value
path-name Indicates the name of an explicit path. The value is a string of 1 to 31 case-insensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You must enable MPLS TE before running the explicit-path command.

The addresses of the hops along the explicit path must be different, without loops. If a loop exists, CSPF detects the loop and fails to compute a path.

If the explicit path is in use, the undo explicit-path command cannot be run to delete the explicit path.

Example

# Create an explicit path named path1.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] quit
[HUAWEI] explicit-path path1
[HUAWEI-explicit-path-path1] quit

explicit-path (LSP attribute view)

Function

The explicit-path command configures an explicit path in a CR-LSP attribute template.

The undo explicit-path command deletes an explicit path from a CR-LSP attribute template.

No explicit path is configured in a CR-LSP attribute template by default.

Format

explicit-path path-name

undo explicit-path

Parameters

Parameter Description Value
path-name Specifies the name of an explicit path. The value is an existing explicit path name.

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

To specify an explicit path in a CR-LSP attribute template, you must configure the explicit path in the system view and ensure that its hop list is not null.

Example

# Configure an explicit path in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] explicit-path path-name

fast-reroute

Function

The fast-reroute command enables the Fast Reroute (FRR) function in a CR-LSP attribute template.

The undo fast-reroute command disables the FRR function in the CR-LSP attribute template.

The FRR function is disabled in the CR-LSP attribute template by default.

Format

fast-reroute [ bandwidth ]

undo fast-reroute

Parameters

Parameter Description Value
bandwidth Indicates that bandwidth protection is needed during fast rerouting. -

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

After the FRR function is enabled, the route storing function is automatically enabled. After the FRR function is disabled, the bypass tunnel configurations are automatically deleted.

Example

# Enable the FRR function in the CR-LSP attribute template.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] fast-reroute
Related Topics

hop-limit

Function

The hop-limit command sets the hop limit in a CR-LSP attribute template.

The undo hop-limit command restore the default hop limit from a CR-LSP attribute template.

By default, the hop limit in a CR-LSP attribute template is 32.

Format

hop-limit hop-limit

undo hop-limit

Parameters

Parameter Description Value
hop-limit Specifies the value of the hop limit. The value is an integer that ranges from 1 to 32. The hop limit is 32 by default.

Views

LSP attribute view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To limit the maximum number of hops supported by each CR-LSP established using the CR-LSP attribute template, run the hop-limit command in the LSP attribute view. This hop limit restricts CR-LSP path selection.

Prerequisites

A CR-LSP attribute template has been created and the LSP attribute view has been entered using the lsp-attribute command.

Example

# Set the maximum number of hops in the CR-LSP attribute template to 20.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name
[HUAWEI-lsp-attribute-lsp-attribute-name] hop-limit 20
Related Topics

hotstandby-switch

Function

The hotstandby-switch force command forcibly switches traffic from a primary CR-LSP to a hot-standby CR-LSP.

The hotstandby-switch clear command disables the forcible switchover function and switches traffic from a hot-standby CR-LSP to the primary CR-LSP.

Format

hotstandby-switch { force | clear }

Parameters

None.

Views

Tunnel interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a hot-standby CR-LSP is established and a primary CR-LSP needs to be adjusted, run the hotstandby-switch force command to switch traffic forcibly to the hot-standby CR-LSP. After the primary CR-LSP has been adjusted, run the hotstandby-switch clear command to disable the forcible switchover function and switch traffic back to the primary CR-LSP.

Precautions

A hot-standby CR-LSP must have been established before the hotstandby-switch force command is used. If this command is run but no hot-standby CR-LSP is established, traffic will be dropped.

Example

# Forcibly switch traffic from a primary CR-LSP to a hot-standby CR-LSP.

<HUAWEI> system-view
[HUAWEI] interface tunnel 1
[HUAWEI-Tunnel1] hotstandby-switch force
Related Topics

list hop

Function

The list hop command displays information about nodes along an explicit path of an MPLS TE tunnel.

Format

list hop [ ip-address ]

Parameters

Parameter Description Value
ip-address Specifies the IP address of a node. The value is in dotted decimal notation.

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

To view the information about nodes along an explicit path of an MPLS TE tunnel, run the list hop command.

Example

# Display information about nodes along an explicit path of an MPLS TE tunnel.

<HUAWEI> system-view
[HUAWEI] explicit-path path1
[HUAWEI-explicit-path-path1] list hop
 Path Name : path1     Path Status : Enabled
 1      10.1.1.1          Strict      Include                                   
 2      10.2.2.2          Strict      Exclude                                   
 3      10.3.3.3          Loose       Include             Outgoing
 4      10.4.4.4          Strict      Include             Incoming

lsp-attribute

Function

The lsp-attribute command creates a CR-LSP attribute template and displays the LSP attribute view.

The undo lsp-attribute command deletes a specified CR-LSP attribute template.

By default, no CR-LSP attribute template is created.

Format

lsp-attribute lsp-attribute-name

undo lsp-attribute lsp-attribute-name

Parameters

Parameter Description Value
lsp-attribute-name Specifies the name of the CR-LSP attribute template. The value is a string of 1 to 31 case-insensitive characters, spaces not supported.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

To simplify configurations of TE tunnel interfaces and enhance their flexibility, you can reference CR-LSP attribute templates to set up TE tunnels. The CR-LSP attribute template contains the attributes relevant to a TE tunnel, including the bandwidth, affinity property, explicit path, hop limit, route storing, setup priority, holding priority, FRR, and bypass tunnel attribute.

Prerequisites

Before configuring a CR-LSP attribute template, you must enable the MPLS TE function in the system view.

Precautions

When deleting a CR-LSP attribute template, ensure that the CR-LSP attribute template is not referenced by any tunnel interface.

Example

# Create the CR-LSP attribute template named lsp-attribute-name.

<HUAWEI> system-view
[HUAWEI] lsp-attribute lsp-attribute-name 
[HUAWEI-lsp-attribute-lsp-attribute-name]
Related Topics

modify hop

Function

The modify hop command modifies the IP address of a hop on an explicit path.

Format

modify hop ip-address1 ip-address2 [ include [ [ loose | strict ] | [ incoming | outgoing ] ] * | exclude ]

Parameters

Parameter Description Value
ip-address1 ip-address2 Changes ip-address1 to ip-address2 on an explicit path. The value is in dotted decimal notation.
include [ [ loose | strict ] | [ incoming | outgoing ] ] * Indicates that the explicit path must pass through the modified node on the explicit path.
  • strict: indicates the strict explicit path. The modified node must be directly connected to the previous node.
  • loose: indicates the loose explicit path. The modified node can be not directly connected to the previous node.
  • incoming: indicates that the ip-address2 is the IP address of an inbound interface of the modified node.
  • outgoing: indicates that the ip-address2 is the IP address of an outbound interface of the modified node.
By default, a node is added to an explicit path in include strict mode.
exclude Indicates that the LSP set up along an explicit path excludes the modified link or node. -

Views

Explicit path view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The following commands are used to adjust nodes on a created explicit path:

  • The add hop command is used to add a node to the explicit path.
  • The modify hop command is used to delete a node from the explicit path and replace the node with a specified node.
  • The delete hop command is used to delete a node from the explicit path.

Prerequisites

A next-hop IP address has been configured using the next hop command.

Follow-up Procedure

Run the display explicit-path command to view information about the explicit path.

Precautions

A node can be modified on an explicit path using the modify hop command only when the following conditions are met:
  • ip-address2 must not be a next-hop IP address of an existing node on the explicit path.
  • If an explicit path over which a TE tunnel has been established is modified, the make-before-break mechanism is triggered, and a CR-LSP is reestablished without traffic loss.

Example

# Modify IP address of a node along the explicit path from 10.1.1.9 to 10.2.2.9.

<HUAWEI> system-view
[HUAWEI] explicit-path p1
[HUAWEI-explicit-path-p1] next hop 10.1.1.9
[HUAWEI-explicit-path-p1] modify hop 10.1.1.9 10.2.2.9

mpls-te enable

Function

The mpls-te enable command enables the MPLS TE feature in the current OSPF area.

The undo mpls-te command disables the MPLS TE feature in the current OSPF area.

OSPF area does not support MPLS TE by default.

Format

mpls-te enable [ standard-complying ]

undo mpls-te

Parameters

Parameter Description Value
standard-complying Accepts only LSAs in the standard format. This means that an LSA is rejected if it has more than one Top level TLV. -

Views

OSPF area view

Default Level

2: Configuration level

Usage Guidelines

MPLS TE can only be enabled in an OSPF area after the OSPF process is enabled with the Opaque LSA function.

Example

# Enable TE in OSPF area 1.

<HUAWEI> system-view
[HUAWEI] ospf 100
[HUAWEI-ospf-100] opaque-capability enable
[HUAWEI-ospf-100] area 1
[HUAWEI-ospf-100-area-0.0.0.1] mpls-te enable

mpls autobypass-tunnel-number threshold-alarm

Function

The mpls autobypass-tunnel-number threshold-alarm command configures the conditions that trigger the threshold-reaching alarm and its clear alarm for Auto bypass tunnel interfaces.

The undo mpls autobypass-tunnel-number threshold-alarm command restores the default settings.

By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%.

Format

mpls autobypass-tunnel-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls autobypass-tunnel-number threshold-alarm

Parameters

Parameter Description Value
upper-limit upper-limit-value

Specifies the upper alarm threshold for the proportion of configured Auto bypass tunnel interfaces to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. Using a value larger than 95 is not recommended. Using the default value 80 is recommended.
lower-limit lower-limit-value

Specifies the lower alarm threshold for the proportion of configured Auto bypass tunnel interfaces to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper-limit-value. Using the default value 75 is recommended.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the number of Auto bypass tunnel interfaces reaches a specified upper limit, new Auto bypass tunnel interfaces cannot be configured due to insufficient resources. To alert the administrator in operation and maintenance, enable a device to generate an alarm when the proportion of configured Auto bypass tunnel interfaces to all supported ones reaches a specified upper alarm threshold. The following parameters can be configured in the mpls autobypass-tunnel-number threshold-alarm command:

  • upper-limit-value: upper alarm threshold. If the proportion of configured Auto bypass tunnel interfaces to all supported ones reaches the upper alarm threshold, an alarm can be generated.
  • lower-limit-value: lower alarm threshold. If the proportion of configured Auto bypass tunnel interfaces to all supported ones falls below the lower alarm threshold, a clear alarm can be generated.

Precautions

  • If the mpls autobypass-tunnel-number threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • The mpls autobypass-tunnel-number threshold-alarm command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.

Example

# Configure conditions that trigger the threshold-reaching alarm and its clear alarm for Auto bypass tunnel interfaces.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls autobypass-tunnel-number threshold-alarm upper-limit 90 lower-limit 60

mpls bfd-te-number threshold-alarm

Function

The mpls bfd-te-number threshold-alarm command configures the conditions that trigger the threshold-reaching alarm and its clear alarm for dynamic BFD sessions for TE.

The undo mpls bfd-te-number threshold-alarm command restores the default settings.

By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%.

Format

mpls bfd-te-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls bfd-te-number threshold-alarm

Parameters

Parameter Description Value
upper-limit upper-limit-value

Sets the upper alarm threshold for the proportion of established dynamic BFD sessions for TE to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. Using a value larger than 95 is not recommended. Using the default value 80 is recommended.
lower-limit lower-limit-value

Sets the lower alarm threshold for the proportion of established dynamic BFD sessions for TE to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper-limit-value. Using the default value 75 is recommended.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the number of dynamic BFD sessions for TE reaches a specified upper limit, new dynamic BFD sessions for TE cannot be configured due to insufficient resources. To alert the administrator in operation and maintenance, enable a device to generate an alarm when the proportion of established dynamic BFD sessions for TE to all supported ones reaches a specified upper alarm threshold. The following parameters can be configured in the mpls bfd-te-number threshold-alarm command:

  • upper-limit-value: upper alarm threshold. If the proportion of established dynamic BFD sessions for TE to all supported ones reaches the upper alarm threshold, an alarm can be generated.
  • lower-limit-value: lower alarm threshold. If the proportion of established dynamic BFD sessions for TE to all supported ones falls below the lower alarm threshold, a clear alarm can be generated.

Precautions

  • If the mpls bfd-te-number threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • The mpls bfd-te-number threshold-alarm command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.

Example

# Configure conditions that trigger the threshold-reaching alarm and its clear alarm for dynamic BFD sessions for TE.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls bfd-te-number threshold-alarm upper-limit 90 lower-limit 60

mpls cspf threshold-alarm

Function

The mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm command sets the upper and lower alarm thresholds for the proportion of the number of existing CSPF resources of a specified type to the maximum number of CSPF resources that a device supports. The CSPF resources can be CSPF links, nodes, network LSAs, or SRLGs.

The undo mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm command restores the default the upper and lower alarm thresholds.

By default, the upper threshold for alarms is 80 (percent), and the lower threshold for clear alarms is 75 (percent).

Format

mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm

Parameters

Parameter Description Value
cspf-link-number

Indicates the upper and lower alarm thresholds of the proportion of the existing CSPF links to the maximum number of CSPF links that a device supports.

-
cspf-node-number

Indicates the upper and lower alarm thresholds of the proportion of the existing CSPF nodes to the maximum number of CSPF nodes that a device supports.

-
cspf-nlsa-number

Indicates the upper and lower alarm thresholds of the proportion of the existing CSPF network LSAs to the maximum number of CSPF network LSAs that a device supports.

-
cspf-srlg-number

Indicates the upper and lower alarm thresholds of the proportion of the existing CSPF SRLGs to the maximum number of CSPF SRLGs that a device supports.

-
upper-limit upper-limit-value

Specifies a percent for the upper alarm threshold.

The value is a percent integer ranging from 1 to 100. Set the value less than or equal to 95. Default value 80 is recommended.

lower-limit lower-limit-value

Specifies a percent for the lower alarm threshold.

The value is a percent integer ranging from 1 to 100. lower-limit-value must be less than upper-limit-value. Default value 75 is recommended.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In the following example, the alarm thresholds for CSPF links are used. If the number of CSPF links reaches the maximum number of CSPF links that a device supports, new CSPF links fail to be established. To alert the administrator in operation and maintenance, enable a device to generate an alarm when the proportion of configured CSPF links to all supported ones reaches a specified upper alarm threshold. To enable this function, run the mpls cspf-link-number threshold-alarm command to set the upper and lower alarm thresholds with the following parameters configured:

  • upper-limit-value: An alarm is generated if the proportion of the number of existing CSPF links to the maximum number reaches upper-limit-value.
  • lower-limit-value: The alarm is cleared if the proportion of the number of existing CSPF links to the maximum number falls to lower-limit-value.

Precautions

  • If the mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • The mpls { cspf-link-number | cspf-node-number | cspf-nlsa-number | cspf-srlg-number } threshold-alarm command only configures trigger conditions for alarms and clear alarms. Although trigger conditions are met, an alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_lspm trap-name { hwmplsresourcethresholdexceed | hwmplsresourcethresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.

Example

# Set the upper and lower alarm thresholds to 90% and 60%, respectively, for the proportion of existing CSPF links to the maximum number of CSPF links that a device supports.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls cspf-link-number threshold-alarm upper-limit 90 lower-limit 60

mpls rsvp-lsp-number threshold-alarm

Function

The mpls rsvp-lsp-number threshold-alarm command configures the alarm threshold for Resource Reservation Protocol (RSVP) label switched path (LSP) usage.

The undo mpls rsvp-lsp-number threshold-alarm command restores the default settings.

The default upper limit of the alarm threshold for RSVP LSP usage is 80%. The default lower limit of the clear alarm threshold for RSVP LSP usage is 75%.

Format

mpls rsvp-lsp-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

mpls rsvp-lsp-number { ingress | transit | egress } threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls rsvp-lsp-number threshold-alarm

undo mpls rsvp-lsp-number { ingress | transit | egress } threshold-alarm

Parameters

Parameter Description Value
upper-limit upper-limit-value Specifies the upper limit of the alarm threshold for RSVP LSP usage. The value is an integer ranging from 1 to 100, represented in percentage. Using a value larger than 95 is not recommended. Using the default value 80 is recommended.
lower-limit lower-limit-value Specifies the lower limit of the clear alarm threshold for RSVP LSP usage. The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper-limit-value. Using the default value 75 is recommended.
ingress

The alarm that the number of ingress RSVP LSPs reached the upper threshold is generated.

-
transit

The alarm that the number of transit RSVP LSPs reached the upper threshold is generated.

-
egress

The alarm that the number of egress RSVP LSPs reached the upper threshold is generated.

-

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the number of RSVP LSPs in the system reaches a specific limit, establishing subsequent RSVP LSPs may fail because of insufficient resources. To facilitate user operation and maintenance, enable an alarm to be generated when the number of RSVP LSPs reaches the specific limit. To configure the alarm threshold for RSVP LSP usage, run the mpls rsvp-lsp-number threshold-alarm command. The parameters in this command are described as follows:

  • When the RSVP LSP usage increases to the value of upper-limit-value, an alarm for RSVP LSPs is generated.
  • When the RSVP LSP usage falls below the value of lower-limit-value, a clear alarm for RSVP LSPs is generated.

If you want to set the alarm threshold for ingress RSVP LSPs, transit RSVP LSPs or egress RSVP LSPs, run mpls rsvp-lsp-number { ingress | transit | egress } threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value.

Precautions

  • If the mpls rsvp-lsp-number threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • This command configures the alarm threshold for RSVP LSP usage. The alarm that the number of LSPs exceeded the upper threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceed is configured, and the actual RSVP LSP usage reaches the upper limit of the alarm threshold. The alarm that the number of LSPs fell below the lower threshold is generated only when the command snmp-agent trap enable feature-name mpls_lspm trap-name hwmplslspthresholdexceedclear is configured, and the actual RSVP LSP usage falls below the lower limit of the clear alarm threshold.

Example

# Configure the upper limit and the lower limit of the alarm threshold for RSVP LSP usage.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-lsp-number threshold-alarm upper-limit 90 lower-limit 60

mpls rsvp-peer-number threshold-alarm

Function

The mpls rsvp-peer-number threshold-alarm command configures the conditions that trigger the threshold-reaching alarm and its clear alarm for RSVP neighbors.

The undo mpls rsvp-peer-number threshold-alarm command restores the default settings.

By default, the upper alarm threshold is 80%, and the lower alarm threshold is 75%.

Format

mpls rsvp-peer-number threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value

undo mpls rsvp-peer-number threshold-alarm

Parameters

Parameter Description Value
upper-limit upper-limit-value

Specifies the upper alarm threshold for the proportion of configured RSVP neighbors to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. Using a value larger than 95 is not recommended. Using the default value 80 is recommended.
lower-limit lower-limit-value

Specifies the lower alarm threshold for the proportion of configured RSVP neighbors to all supported ones.

The value is an integer ranging from 1 to 100, represented in percentage. The value must be smaller than the value of upper-limit-value. Using the default value 75 is recommended.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If the number of RSVP neighbors reaches a specified upper limit, new RSVP neighbors cannot be configured due to insufficient resources. To alert the administrator in operation and maintenance, enable a device to generate an alarm when the proportion of configured RSVP neighbors to all supported ones reaches a specified upper alarm threshold. The following parameters can be configured in the mpls rsvp-peer-number threshold-alarm command:

  • upper-limit-value: upper alarm threshold. If the proportion of configured RSVP neighbors to all supported ones reaches the upper alarm threshold, an alarm can be generated.
  • lower-limit-value: lower alarm threshold. If the proportion of configured RSVP neighbors to all supported ones falls below the lower alarm threshold, a clear alarm can be generated.

Precautions

  • If the mpls rsvp-peer-number threshold-alarm command is run more than once, the latest configuration overrides the previous one.

  • The mpls rsvp-peer-number threshold-alarm command only configures the trigger conditions for an alarm and its clear alarm. Although trigger conditions are met, the alarm and its clear alarm can be generated only after the snmp-agent trap enable feature-name mpls_rsvp trap-name { hwrsvpteifnbrthresholdexceed | hwrsvpteifnbrthresholdexceedclear } command is run to enable the device to generate an MPLS resource insufficiency alarm and its clear alarm.

Example

# Configure conditions that trigger the threshold-reaching alarm and its clear alarm for RSVP neighbors.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-peer-number threshold-alarm upper-limit 90 lower-limit 60

mpls rsvp-te

Function

The mpls rsvp-te command enables the RSVP-TE function on an interface or globally.

The undo mpls rsvp-te command disables the RSVP-TE function.

RSVP-TE is disabled by default.

Format

mpls rsvp-te

undo mpls rsvp-te

Parameters

None

Views

MPLS view, VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

You must run the mpls (system view) and mpls te commands to enable MPLS and MPLS TE before running the mpls rsvp-te command in the MPLS view.

You must run the mpls (interface view) and mpls te commands to enable MPLS and MPLS TE before running the mpls rsvp-te command in the interface view.

Precautions

Before enabling the RSVP-TE function on an interface, you need to run this command in the MPLS view to enable the RSVP-TE function globally.

After the undo mpls rsvp-te command is run in the MPLS view, MPLS RSVP-TE services may be interrupted and all MPLS RSVP-TE configurations are deleted. To restore the MPLS RSVP-TE services, reconfigure these commands.

Example

# Enable RSVP-TE globally.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] mpls rsvp-te

# Enable RSVP-TE on interface VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
# Enable RSVP-TE on interface GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
Related Topics

mpls rsvp-te authentication

Function

The mpls rsvp-te authentication command run in the interface or neighbor view enables authentication and set an authentication key.

The undo mpls rsvp-te authentication command run in the interface or neighbor view disables authentication.

Authentication is disabled by default.

Format

mpls rsvp-te authentication { { cipher | plain } auth-key | keychain keychain-name }

undo mpls rsvp-te authentication

Parameters

Parameter Description Value
cipher Indicates that the key is displayed in cipher text. -
plain Indicates that the key is displayed in plain text.
NOTICE:

If plain is selected, the password is saved in the configuration file in plain text. In this case, users at a lower level can easily obtain the password by viewing the configuration file. This brings security risks. Therefore, it is recommended that you select cipher to save the password in cipher text.

-
auth-key Specifies the password. A string of case-sensitive characters, spaces not supported. When the key is displayed in plaintext, its length ranges from 1 to 255; when the key is displayed in MD5 cipher text, its length ranges from 20 to 392. When double quotation marks are used around the string, spaces are allowed in the string.
keychain keychain-name Specifies the keychain name, which is configured by running the keychain command. The value is the name of an existing keychain.

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view, RSVP-TE neighbor view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

RSVP authentication can be configured to improve network reliability and security and prevent attacks initiated using messages modified or forged by unauthorized users.

RSVP authentication can prevent the setup of an illegal RSVP neighbor relationship using the following methods and protect the local node against attacks (such as malicious reservation of a larger number of bandwidth resources):
  • An unauthorized node attempts to set up an RSVP neighbor relationship with the local node.
  • A remote node generates and sends forged RSVP messages to set up a neighbor relationship with the local node.

Prerequisites

The mpls rsvp-te command is run to enable RSVP-TE in the MPLS view and interface view.

Precautions

The mpls rsvp-te authentication command run in either of the following views produces a specific result:
  • If this command is run in the interface view, RSVP authentication takes effect on packets received by the interface. The interface sends RSVP-TE packets all carrying authentication information that is calculated using the key of the configured authentication mode, and authenticates all received RSVP-TE packets based on the configured key.

  • If this command is run in the MPLS RSVP-TE neighbor view, RSVP authentication takes effect on packets received by the local RSVP-TE neighbor. The RSVP-TE packets sending by neighbor node all carry authentication information that is calculated using the key of the configured authentication mode, and authenticates all RSVP-TE packets sending to the neighbor node based on the configured key.

Parameters are optional for configuring HMAC-MD5 or keychain authentication:
  • cipher: indicates HMAC-MD5 authentication with the key displayed in cipher text.

  • plain: indicates HMAC-MD5 authentication with the key displayed in plain text.

  • keychain: indicates keychain authentication with a globally configured keychain.

Note that HMAC-MD5 encryption algorithm cannot ensure security. Keychain authentication is recommended.

Example

# Configure keychain authentication for the peer. The referenced keychain name is kc1.

<HUAWEI> system-view
[HUAWEI] keychain kc1 mode absolute
[HUAWEI-keychain-kc1] quit
[HUAWEI] mpls rsvp-te peer 10.0.0.1
[HUAWEI-mpls-rsvp-te-peer-10.0.0.1] mpls rsvp-te authentication keychain kc1

# Configure keychain authentication for the peer. The referenced keychain name is kc1.

<HUAWEI> system-view
[HUAWEI] keychain kc1 mode absolute
[HUAWEI-keychain-kc1] quit
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te authentication keychain kc1
# Configure keychain authentication for the peer. The referenced keychain name is kc1.
<HUAWEI> system-view
[HUAWEI] keychain kc1 mode absolute
[HUAWEI-keychain-kc1] quit
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication keychain kc1
Related Topics

mpls rsvp-te authentication handshake

Function

The mpls rsvp-te authentication handshake command configures the RSVP-TE handshake mechanism.

The undo mpls rsvp-te authentication handshake command deletes the RSVP-TE handshake mechanism configuration.

By default, no RSVP-TE handshake mechanism is configured.

Format

mpls rsvp-te authentication handshake

undo mpls rsvp-te authentication handshake

Parameters

None

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view, RSVP-TE neighbor view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Enhanced RSVP authentication can be configured to improve the system security and the capability to authenticate users in the unfavorable environment such as network congestion. Enhanced RSVP authentication functions are as follows:
  • Sets the sliding window size for RSVP authentication messages.
  • Configures the RSVP-TE handshake mechanism.

Traditional RSVP authentication is used to prevent an unauthorized remote node from setting up a neighbor relationship with the local node. It also prevents attacks (such as maliciously reserving a large number of bandwidth resources) initiated by a remote node after the remote node constructs pseudo RSVP messages to set up an RSVP neighbor relationship with the local node. Traditional RSVP authentication, however, cannot prevent anti-replay attacks or prevent the problem of neighbor relationship termination due to RSVP message disorder.

In an unfavorable environment, the mpls rsvp-te authentication handshake command can be used to configure the RSVP-TE handshake mechanism to prevent anti-replay and improve network security.

Prerequisites

The RSVP authentication function must have been enabled by running the mpls rsvp-te authentication { { cipher | plain } auth-key | keychain keychain-name } command in the interface view or the MPLS RSVP-TE neighbor view.

Example

# Configure the RSVP-TE handshake mechanism.
<HUAWEI> system-view
[HUAWEI] mpls rsvp-te peer 172.16.1.1
[HUAWEI-mpls-rsvp-te-peer-172.16.1.1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-mpls-rsvp-te-peer-172.16.1.1] mpls rsvp-te authentication handshake
# Configure the RSVP-TE handshake mechanism.
<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te authentication cipher beijing123
[HUAWEI-Vlanif100] mpls rsvp-te authentication handshake
# Configure the RSVP-TE handshake mechanism.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication handshake

mpls rsvp-te authentication lifetime

Function

The mpls rsvp-te authentication lifetime command sets the RSVP-TE authentication lifetime.

The undo mpls rsvp-te authentication lifetime command restores the default RSVP-TE authentication lifetime.

By default, the RSVP-TE authentication lifetime is 30 minutes.

Format

mpls rsvp-te authentication lifetime lifetime

undo mpls rsvp-te authentication lifetime

Parameters

Parameter Description Value
lifetime Specifies the authentication lifetime. The value ranges from 00:00:01 to 23:59:59 in the format of HH:MM:SS. The default value is 00:30:00.

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view, RSVP-TE neighbor view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The RSVP lifetime functions are as follows:
  • When no CR-LSP exists between RSVP neighbors, the RSVP adjacency remains until the RSVP authentication lifetime expires. The configuration of the RSVP authentication time does not affect the status of existing CR-LSPs.

  • This function can avoid continuous RSVP authentication. For example, when RSVP authentication is enabled between RTA and RTB, but the key is damaged because the RSVP messages sent from RTA to RTB are incorrect, RTB receives and discards the messages. This can cause RTA to continuously send RTB the faulty RSVP messages and RTB to continuously discard these RSVP messages. The authentication relationship between the neighbors, however, cannot be torn down. In this case, the authentication lifetime needs to be configured. When a neighbor is able to receive a valid RSVP message within the lifetime, the RSVP authentication lifetime resets. Otherwise, the authentication relationship between RSVP-TE neighbors is deleted after the authentication lifetime expires.

Prerequisites

The RSVP authentication function must have been enabled by running the mpls rsvp-te authentication { { cipher | plain } auth-key | keychain keychain-name } command in the interface view or the MPLS RSVP-TE neighbor view.

Example

# Set the authentication lifetime to 40 minutes.

<HUAWEI> system-view
[HUAWEI] mpls rsvp-te peer 10.0.0.1
[HUAWEI-mpls-rsvp-te-peer-10.0.0.1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-mpls-rsvp-te-peer-10.0.0.1] mpls rsvp-te authentication lifetime 00:40:00

# Set the authentication lifetime to 20 minutes.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te authentication cipher beijing123
[HUAWEI-Vlanif100] mpls rsvp-te authentication lifetime 00:20:00
# Set the authentication lifetime to 20 minutes.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication lifetime 00:20:00

mpls rsvp-te authentication window-size

Function

The mpls rsvp-te authentication window-size command specifies the maximum number of RSVP authentication messages that can be received out of sequence.

The undo mpls rsvp-te authentication window-size command restores the default configuration.

By default, the maximum number of RSVP authentication messages that can be received out of sequence is 1.

Format

mpls rsvp-te authentication window-size window-size

undo mpls rsvp-te authentication window-size

Parameters

Parameter Description Value
window-size Specifies the size of a message window. The value is an integer that ranges from 1 to 64. The default size is 1.

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view, RSVP-TE neighbor view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Enhanced RSVP authentication can be configured to improve the system security and the capability to authenticate users in the unfavorable environment such as network congestion. Enhanced RSVP authentication functions are as follows:
  • Sets the sliding window size for RSVP authentication messages.
  • Configures the RSVP-TE handshake mechanism and sets the local password.

Traditional RSVP authentication is used to prevent an unauthorized remote node from setting up a neighbor relationship with the local node. It also prevents attacks (such as maliciously reserving a large number of bandwidth resources) initiated by a remote node after the remote node constructs pseudo RSVP messages to set up an RSVP neighbor relationship with the local node. Traditional RSVP authentication, however, cannot prevent anti-replay attacks or prevent the problem of neighbor relationship termination due to RSVP message disorder.

In an unfavorable environment, the mpls rsvp-te authentication window-size command can be used to set the maximum number of RSVP authentication messages that can be received. This setting prevents authentication termination due to RSVP message disorder.

Prerequisites

The RSVP authentication function must have been enabled by running the mpls rsvp-te authentication { { cipher | plain } auth-key | keychain keychain-name } command in the interface view or the MPLS RSVP-TE neighbor view.

Precautions

Setting the window size to a value greater than 32 is recommended. If the size of a sliding window is small, the RSVP messages may be dropped and the RSVP neighbor relationship may be terminated. If the size of a sliding window is set to 1, all the RSVP authentication messages that are received out of sequence are dropped.

Example

# Set the size of the message window to 64.

<HUAWEI> system-view
[HUAWEI] mpls rsvp-te peer 172.16.1.1
[HUAWEI-mpls-rsvp-te-peer-172.16.1.1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-mpls-rsvp-te-peer-172.16.1.1] mpls rsvp-te authentication window-size 64

# Set the size of the message window to 1.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te authentication cipher beijing123
[HUAWEI-Vlanif100] mpls rsvp-te authentication window-size 1
# Set the size of the message window to 1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication cipher beijing123
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te authentication window-size 1

mpls rsvp-te bfd

Function

The mpls rsvp-te bfd command sets parameters of a BFD session for RSVP on a specified interface.

The undo mpls rsvp-te bfd command restores the default configuration.

By default, no parameter of a BFD session for RSVP on a specified interface is set.

Format

mpls rsvp-te bfd { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *

undo mpls rsvp-te bfd { min-tx-interval | min-rx-interval | detect-multiplier } *

undo mpls rsvp-te bfd { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *

Parameters

Parameter Description Value
min-tx-interval tx-interval Specifies the interval at which BFD packets are sent.

The value ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000. By default, the value is 1000.

min-rx-interval rx-interval Specifies the interval at which BFD packets are received.

The value ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000. By default, the value is 1000.

detect-multiplier multiplier Specifies the local detection multiplier value of a BFD session. An integer ranging from 3 to 50. The value is 3 by default.

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Actual local interval at which BFD packets are sent = MAX { Local interval at which BFD packets are sent, Remote interval at which BFD packets are received }; Actual local interval at which BFD packets are received = MAX { Remote interval at which BFD packets are sent, Local interval at which BFD packets are received }; Local detection period = Actual interval at which BFD packets are received x Remote BFD detection multiplier.

For example:

  • The local sending interval is 200 ms, while the local receiving interval is 300 ms, and the detection multiplier is 4.

  • The remote sending interval is 100 ms, while the remote receiving interval is 600 ms, and the detection multiplier is 5.

Then,

  • The actual local sending interval is 600 ms (MAX { 200 ms, 600 ms }), while the local receiving interval is 300 ms (MAX { 100 ms, 300 ms }), and the detection period is 1500 ms (300 ms x 5).

  • The actual remote sending interval is 300 ms (MAX { 100 ms, 300 ms }), while the receiving interval is 600 ms (MAX { 200 ms, 600 ms }), and the detection period is 2400 ms (600 ms x 4).

Example

# Set the parameters for the BFD session on interface VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te bfd min-tx-interval 50 detect-multiplier 5
# Set the parameters for the BFD session on interface GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te bfd min-tx-interval 50 detect-multiplier 5

mpls rsvp-te bfd all-interfaces

Function

The mpls rsvp-te bfd all-interfaces command sets session parameters on all RSVP-TE interfaces.

The undo mpls rsvp-te bfd all-interfaces command restores the default configuration.

By default, no session parameters on all RSVP-TE interfaces is set.

Format

mpls rsvp-te bfd all-interfaces { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *

undo mpls rsvp-te bfd all-interfaces { min-tx-interval | min-rx-interval | detect-multiplier } *

undo mpls rsvp-te bfd all-interfaces { min-tx-interval tx-interval | min-rx-interval rx-interval | detect-multiplier multiplier } *

Parameters

Parameter Description Value
min-tx-interval tx-interval Specifies the interval at which BFD packets are sent.

The value ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000. By default, the value is 1000.

min-rx-interval rx-interval Specifies the interval at which BFD packets are received.

The value ranges from 100 to 1000, in milliseconds. After the set service-mode enhanced command is configured on the S5720HI, the value ranges from 3 to 1000. By default, the value is 1000.

detect-multiplier multiplier Specifies the local detection multiplier value of a BFD session. An integer ranging from 3 to 50. The value is 3 by default.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Actual local interval at which BFD packets are sent = MAX { Local interval at which BFD packets are sent, Remote interval at which BFD packets are received }; Actual local interval at which BFD packets are received = MAX { Remote interval at which BFD packets are sent, Local interval at which BFD packets are received }; Local detection period = Actual interval at which BFD packets are received x Remote BFD detection multiplier.

For example:

  • The local sending interval is 200 ms, while the local receiving interval is 300 ms, and the detection multiplier is 4.

  • The remote sending interval is 100 ms, while the remote receiving interval is 600 ms, and the detection multiplier is 5.

Then,

  • The actual local sending interval is 600 ms (MAX { 200 ms, 600 ms }), while the local receiving interval is 300 ms (MAX { 100 ms, 300 ms }), and the detection period is 1500 ms (300 ms x 5).

  • The actual remote sending interval is 300 ms (MAX { 100 ms, 300 ms }), while the receiving interval is 600 ms (MAX { 200 ms, 600 ms }), and the detection period is 2400 ms (600 ms x 4).

Example

# Set the session parameters of all RSVP-TE interfaces.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te bfd all-interfaces min-tx-interval 500 min-rx-interval 400

mpls rsvp-te bfd all-interfaces enable

Function

The mpls rsvp-te bfd all-interfaces enable command globally enables BFD for RSVP.

The undo mpls rsvp-te bfd all-interfaces enable command restores the default configuration.

By default, BFD for RSVP is disabled.

Format

mpls rsvp-te bfd all-interfaces enable

undo mpls rsvp-te bfd all-interfaces enable

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

The mpls rsvp-te bfd all-interfaces enable command enables the capability of creating BFD sessions on all interfaces that are not blocked from BFD for RSVP.

Example

# Enable BFD for RSVP globally.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te bfd all-interfaces enable

mpls rsvp-te bfd block

Function

The mpls rsvp-te bfd block command blocks the BFD for RSVP capability on an interface.

The undo mpls rsvp-te bfd block command restores the default configuration.

By default, the BFD for RSVP capability on an interface is not blocked.

Format

mpls rsvp-te bfd block

undo mpls rsvp-te bfd block

Parameters

None

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

The mpls rsvp-te bfd block command and the mpls rsvp-te bfd enable command are mutually exclusive.

The mpls rsvp-te bfd block command is similar to the undo mpls rsvp-te bfd enable command. Their differences are as follows:

NOTE:
  • To enable the BFD for RSVP capability on a majority of interfaces, you can run the mpls rsvp-te bfd block command on a minority of interfaces that do not need to be enabled with BFD for RSVP. Then, you can run the mpls rsvp-te bfd all-interfaces enable command in the MPLS view to enable the BFD for RSVP capability for the desired majority.

  • To enable BFD for RSVP capability on a few interfaces, you can run the mpls rsvp-te bfd enable command on these specific interfaces. In addition, you can run the undo mpls rsvp-te bfd enable command or the mpls rsvp-te bfd block command to disable BFD for RSVP on these interfaces.

Example

# Disable BFD for RSVP on interface VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te bfd block
# Disable BFD for RSVP on interface GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te bfd block

mpls rsvp-te bfd enable

Function

The mpls rsvp-te bfd enable command enables the BFD for RSVP capability on an interface.

The undo mpls rsvp-te bfd enable command restores the default configuration.

By default, the BFD for RSVP capability on an interface is disabled.

Format

mpls rsvp-te bfd enable

undo mpls rsvp-te bfd enable

Parameters

None

Views

VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

The mpls rsvp-te bfd enable command and the mpls rsvp-te bfd block command are mutually exclusive. When using these commands, note the following:

NOTE:
  • To enable the BFD for RSVP capability on a majority of interfaces, you can run the mpls rsvp-te bfd block command on a minority of interfaces that do not need to be enabled with BFD for RSVP. Then, you can run the mpls rsvp-te bfd all-interfaces enable command in the MPLS view to enable the BFD for RSVP capability for the desired majority.

  • To enable BFD for RSVP capability on a few interfaces, you can run the mpls rsvp-te bfd enable command on these specific interfaces. In addition, you can run the undo mpls rsvp-te bfd enable command or the mpls rsvp-te bfd block command to disable BFD for RSVP on these interfaces.

Example

# Enable the BFD for RSVP capability on interface VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te bfd enable
# Enable the BFD for RSVP capability on interface GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te bfd enable

mpls rsvp-te challenge-lost

Function

The mpls rsvp-te challenge-lost command sets the maximum number of times that the authenticator allows itself to retransmits Challenge messages during RSVP authentication.

The undo mpls rsvp-te challenge-lost command restores the default setting.

By default, the number of times for retransmitting Challenge messages is 3.

Format

mpls rsvp-te challenge-lost max-miss-times

undo mpls rsvp-te challenge-lost

Parameters

Parameter Description Value
max-miss-times Specifies the number of times for retransmitting Challenge messages. The value is an integer that ranges from 1 to 10. The default value is 3.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Assume node A and node B are RSVP neighbors and they need to authenticate each other. Node A authenticates node B as follows:
  • Node A sends an RSVP message carrying an Integrity object to node B.
  • When node B receives the message and detects that the key ID of node A is different from that in the Integrity object, node B sends a Challenge message to node A and starts a timer determining the time interval at which the Challenge message will be periodically retransmitted, and records the number of retries.
  • When node A receives the Challenge message from node B, it directly copies the Challenge object in a message and adds its Integrity object to the message to generate a Response message to be sent to node B.
  • When node B receives the Response message from node A, it checks whether or not the Challenge object in the Response message is consistent with the local Challenge object.
    • If the Challenge objects are consistent, node B stops and resets the timer for sending Challenge messages. Then, the authentication is successful.
    • If the Challenge message timer expires before node B receives the Response message, the authentication fails.

You can run the mpls rsvp-te challenge-lost command to change the maximum number of times for sending Challenge messages. In addition, you can use the mpls rsvp-te retrans-timer challenge command to change the interval for retransmitting Challenge messages.

Example

# Set the number of times for retransmitting Challenge messages to 5.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te challenge-lost 5

mpls rsvp-te fast-reroute-bandwidth compatible

Function

The mpls rsvp-te fast-reroute-bandwidth compatible command configures the bandwidth of FRR objects to be saved in the integer mode.

The undo mpls rsvp-te fast-reroute-bandwidth compatible command restores the default configuration.

By default, the bandwidth of FRR objects is saved in the float point mode.

Format

mpls rsvp-te fast-reroute-bandwidth compatible

undo mpls rsvp-te fast-reroute-bandwidth compatible

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

When Huawei devices communicate with devices from other vendors whose saving mode of the bandwidth of FRR objects is set to the integer mode, you need to run this command to set the saving mode of the bandwidth of FRR objects to the integer mode.

Example

# Configure the saving mode of the bandwidth of FRR objects as the integer mode.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te fast-reroute-bandwidth compatible

mpls rsvp-te hello-lost

Function

The mpls rsvp-te hello-lost command sets the maximum number of times for the consecutively lost Hello messages.

The undo mpls rsvp-te hello-lost command restores the default configuration.

By default, a maximum of three Hello messages can be lost consecutively.

Format

mpls rsvp-te hello-lost times

undo mpls rsvp-te hello-lost

Parameters

Parameter Description Value
times Specifies the maximum number of times for the consecutively lost Hello messages. The value is an integer that ranges from 3 to 10. The default value is 3.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the RSVP Hello extension function is enabled, you can run this command to set the maximum number of times for the consecutively lost Hello messages. If the number of times a node does not receive Hello messages consecutively exceeds the maximum value, it is considered that the link fails.

Prerequisites

The RSVP Hello extension function has been enabled by running the mpls rsvp-te hello command in the MPLS view.

Example

# Set the maximum number of times for the consecutively lost Hello messages to 5.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te hello
[HUAWEI-mpls] mpls rsvp-te hello-lost 5

mpls rsvp-te hello

Function

The mpls rsvp-te hello command enables the RSVP Hello extension function globally or on an interface.

The undo mpls rsvp-te hello command disables the RSVP Hello extension function globally or on an interface.

By default, the RSVP Hello extension function is disabled.

Format

mpls rsvp-te hello

undo mpls rsvp-te hello

Parameters

None

Views

MPLS view, VLANIF interface view, GE interface view, XGE interface view, 40GE interface view, Eth-trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The RSVP Hello extension mechanism provides fast detection on the reachability between RSVP nodes. The function increases network costs. Therefore, you need to determine whether to enable this function based on network requirements.

Prerequisites

RSVP-TE has been enabled by running the mpls rsvp-te command.

Precautions

The undo mpls rsvp-te hello command in the MPLS view disables the Hello function from all interfaces and disables GR on the local node.

You can run the mpls rsvp-te hello command in the MPLS view to enable the Hello function globally. After that, you can run the mpls rsvp-te hello command in the interface view to enable the Hello function on an interface.

The undo mpls rsvp-te hello command in the interface view is used to disable the Hello function on the interface. The undo mpls rsvp-te hello command in the MPLS view is used to disable the Hello function globally.

Example

# Enable the RSVP Hello extension function globally.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls te
[HUAWEI-mpls] mpls rsvp-te
[HUAWEI-mpls] mpls rsvp-te hello

# Enable the RSVP Hello extension function on interface VLANIF100.

<HUAWEI> system-view
[HUAWEI] interface vlanif 100
[HUAWEI-Vlanif100] mpls
[HUAWEI-Vlanif100] mpls te
[HUAWEI-Vlanif100] mpls rsvp-te
[HUAWEI-Vlanif100] mpls rsvp-te hello
# Enable the RSVP Hello extension function on interface GE0/0/1.
<HUAWEI> system-view
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] undo portswitch
[HUAWEI-GigabitEthernet0/0/1] mpls
[HUAWEI-GigabitEthernet0/0/1] mpls te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te
[HUAWEI-GigabitEthernet0/0/1] mpls rsvp-te hello

mpls rsvp-te hello basic-restart-time

Function

The mpls rsvp-te hello basic-restart-time command changes the basic time of RSVP GR.

The undo mpls rsvp-te hello basic-restart-time command restores the default setting.

By default, the basic time of RSVP GR is 90 seconds.

Format

mpls rsvp-te hello basic-restart-time basic-restart-time

undo mpls rsvp-te hello basic-restart-time

Parameters

Parameter Description Value
basic-restart-time Specifies the basic time of RSVP GR. The value is an integer that ranges from 30 to 1200, in seconds.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

At the beginning of the AMB/SMB switchover, an RSVP-TE GR node enters a period during which the data plane can forward data but the control plane is not restored. A Restart timer starts following this phase. The restart time is relevant to the basic time, the number of ingress LSPs and the number of non-ingress LSPs. The default basic time is 90 seconds. You can use the mpls rsvp-te hello basic-restart-time command to change the value of the basic time.

After the Restart timer expires, the node starts a Recovery timer. The recovery time is relevant to the restart time and total number of LSPs.

Prerequisites

RSVP GR has been enabled by running the mpls rsvp-te hello full-gr command in the MPLS view.

Example

# Set the basic time of RSVP GR to 39 seconds.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te hello basic-restart-time 39

mpls rsvp-te hello full-gr

Function

The mpls rsvp-te hello full-gr command enables RSVP GR and RSVP GR Helper.

The undo mpls rsvp-te hello full-gr command restores the default configurations.

By default, RSVP GR and RSVP GR Helper are disabled.

Format

mpls rsvp-te hello full-gr

undo mpls rsvp-te hello full-gr

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

The RSVP Hello extension function has been enabled by running the mpls rsvp-te hello command.

Example

# Enable RSVP GR and RSVP GR Helper.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te
[HUAWEI-mpls] mpls rsvp-te hello
[HUAWEI-mpls] mpls rsvp-te hello full-gr

mpls rsvp-te hello nodeid-session

Function

The mpls rsvp-te hello nodeid-session command establishes a Hello session between a PLR node and an MP node and specifies the ID of a single-hop or multi-hop node.

The undo mpls rsvp-te hello nodeid-session command restores the default configuration.

By default, no Hello session is established between a PLR node and an MP node.

Format

mpls rsvp-te hello nodeid-session ip-address

undo mpls rsvp-te hello nodeid-session [ ip-address ]

Parameters

Parameter Description Value
ip-address Specifies the LSR ID of a neighbor. The value is in dotted decimal notation.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

On a TE FRR network, to ensure the protection of the primary tunnel when FRR and RSVP GR simultaneously occur, run the mpls rsvp-te hello nodeid-session command to establish a Hello session between a PLR node and an MP node.

Example

# Establish a Hello session between the PLR and MP along the bypass tunnel.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te hello
[HUAWEI-mpls] mpls rsvp-te hello nodeid-session 10.0.0.1
Related Topics

mpls rsvp-te hello support-peer-gr

Function

The mpls rsvp-te hello support-peer-gr command enables RSVP GR Helper.

The undo mpls rsvp-te hello support-peer-gr command restores the default configuration.

By default, RSVP GR Helper is disabled.

Format

mpls rsvp-te hello support-peer-gr

undo mpls rsvp-te hello support-peer-gr

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

The RSVP Hello extension function has been enabled by running the mpls rsvp-te hello command.

Precautions

If the mpls rsvp-te hello full-gr command is run on an RSVP node, this node has the capability of RSVP GR Helper. If a node is a GR supporter rather than a GR node, run the mpls rsvp-te hello support-peer-gr command.

To change a node from a GR node to a GR supporter, you must run the undo mpls rsvp-te hello full-gr command, then run the mpls rsvp-te hello support-peer-gr command.

Example

# Enable RSVP GR Helper.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te
[HUAWEI-mpls] mpls rsvp-te hello
[HUAWEI-mpls] mpls rsvp-te hello support-peer-gr

mpls rsvp-te keep-multiplier

Function

The mpls rsvp-te keep-multiplier command sets the number of retry times allowed for RSVP Refresh messages.

The undo mpls rsvp-te keep-multiplier command restores the default settings.

The number of retry times allowed for RSVP Refresh messages is 3 by default.

Format

mpls rsvp-te keep-multiplier keep-multiplier-number

undo mpls rsvp-te keep-multiplier

Parameters

Parameter Description Value
keep-multiplier-number Specifies the number of retry times allowed for RSVP Refresh messages. The value is an integer that ranges from 3 to 255. The default value is 3.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If a node does not receive any Refresh message about PSB or RSB within a specified time period, the node deletes the state. You can run this command to modify the number of retry times for Refresh messages to change of the timeout period.

Prerequisites

RSVP-TE has been enabled by running the mpls rsvp-te command.

Precautions

The timeout period is calculated by using the following formula:

Timeout period = (keep-multiplier-number + 0.5) x 1.5 x refresh-interval.

In the formula, keep-multiplier-number specifies the number of retry times allowed for RSVP Refresh messages; refresh-interval specifies the interval at which RSVP Refresh messages are sent. To set these two parameters, run the mpls rsvp-te timer refresh command.

Example

# Set the number of retry times for RSVP Refresh messages to 5.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te keep-multiplier 5

mpls rsvp-te peer

Function

The mpls rsvp-te peer command sets up an RSVP neighbor node and displays the MPLS RSVP-TE neighbor view.

The undo mpls rsvp-te peer command deletes an RSVP neighbor node.

No RSVP neighbor node is set up by default.

Format

mpls rsvp-te peer ip-address

undo mpls rsvp-te peer ip-address

Parameters

Parameter Description Value
ip-address Specifies the IP address of a neighbor interface or the LSR ID. The LSR ID is specified in the mpls lsr-id command. The value is in dotted decimal notation.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Prerequisites

RSVP-TE has been enabled by running the mpls rsvp-te command in the MPLS view.

Precautions

You can run this command on two neighboring devices to configure neighbor nodes. Then you can configure these neighbors with other functions such as authentication and handshake. The command functions differ according to the values of ip-address.

  • When ip-address is the LSR-ID of a neighbor, the command takes effect on an entire device.
  • When ip-address is the IP address of a neighbor interface, the command takes effect only on the single interface.
NOTE:

If a neighbor node is identified by its LSR-ID, CSPF must be enabled on two neighboring devices where RSVP authentication is required.

Example

# Set up an RSVP neighbor node and displays the MPLS RSVP-TE neighbor view.

<HUAWEI> system-view
[HUAWEI] mpls rsvp-te peer 10.0.0.1
[HUAWEI-mpls-rsvp-te-peer-10.0.0.1]
Related Topics

mpls rsvp-te resv-rro

Function

The mpls rsvp-te resv-rro command configures record route objects (RROs) carried in Resv messages.

The undo mpls rsvp-te resv-rro command restores the default setting.

By default, the labels carried in the transit LSP RRO in turn are inbound interface address with upstream label, LSR ID with upstream label, and outbound interface address. The labels carried in the egress LSP RRO in turn are inbound interface address with upstream label, LSR ID with upstream label.

Format

mpls rsvp-te resv-rro transit { { incoming | incoming-with-label } | { routerid | routerid-with-label } | { outgoing | outgoing-with-label } } *

mpls rsvp-te resv-rro egress { { incoming | incoming-with-label } | { routerid | routerid-with-label } } *

undo mpls rsvp-te resv-rro transit

undo mpls rsvp-te resv-rro egress

Parameters

Parameter Description Value
transit Indicates a transit node. -
incoming Indicates an inbound interface address. -
incoming-with-label Indicates an inbound interface address and upstream label. -
routerid Indicates an LSR ID. -
routerid-with-label Indicates an LSR ID and an upstream label. -
outgoing Indicates an outbound interface address. -
outgoing-with-label Indicates an outbound interface address and a downstream label. -
egress Indicates an egress. -

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

Two devices of different types must have the same RRO configuration to ensure that they can communicate with each other. You can run the mpls rsvp-te resv-rro command to configures RROs carried in Resv messages.

Precautions

The modification takes effect only for new LSPs.

Example

# Configure the transit LSP RRO to carry the following labels: LSR ID with upstream label, inbound interface address, and outbound interface address with downstream label.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te resv-rro transit routerid-with-label incoming outgoing-with-label

# Configure the egress LSP RRO to carry the following labels: LSR ID with upstream label, and inbound interface address.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te resv-rro egress routerid-with-label incoming

mpls rsvp-te resvconfirm

Function

The mpls rsvp-te resvconfirm command enables the reservation confirmation mechanism on a node.

The undo mpls rsvp-te resvconfirm command disables the reservation confirmation mechanism.

The mechanism is disabled on a node by default.

Format

mpls rsvp-te resvconfirm

undo mpls rsvp-te resvconfirm

Parameters

None

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

The mpls rsvp-te resvconfirm command is configured on the egress of the TE tunnel.

Example

# Enable the reservation confirmation mechanism on the local node.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te resvconfirm

mpls rsvp-te retrans-timer challenge

Function

The mpls rsvp-te retrans-timer challenge command configures the interval at which a Challenge message is retransmitted.

The undo mpls rsvp-te retrans-timer challenge command restores the default value.

The interval at which a Challenge message is retransmitted is set to 1000 milliseconds by default.

Format

mpls rsvp-te retrans-timer challenge retransmission-interval

undo mpls rsvp-te retrans-timer challenge

Parameters

Parameter Description Value
retransmission-interval Specifies the interval at which a Challenge message is retransmitted. An integer ranging from 500 to 10000 in milliseconds. The value is 1000 milliseconds by default.

Views

MPLS view

Default Level

2: Configuration level

Usage Guidelines

Assume node A and node B are RSVP neighbors and they need to authenticate each other. Node A authenticates node B as follows:
  • Node A sends an RSVP message carrying an Integrity object to node B.
  • When node B receives the message and detects that the key ID of node A is different from that in the Integrity object, node B sends a Challenge message to node A and starts a timer determining the time interval at which the Challenge message will be periodically retransmitted, and records the number of retries.
  • When node A receives the Challenge message from node B, it directly copies the Challenge object in a message and adds its Integrity object to the message to generate a Response message to be sent to node B.
  • When node B receives the Response message from node A, it checks whether or not the Challenge object in the Response message is consistent with the local Challenge object.
    • If the Challenge objects are consistent, node B stops and resets the timer for sending Challenge messages. Then, the authentication is successful.
    • If the Challenge message timer expires before node B receives the Response message, the authentication fails.

You can run the mpls rsvp-te challenge-lost command to change the maximum number of attempts to send Challenge messages. In addition, you can use the mpls rsvp-te retrans-timer challenge command to change the interval at which a Challenge message is retransmitted.

Example

# Set the interval for retransmitting a Challenge message to 800 ms.

<HUAWEI> system-view
[HUAWEI] mpls
[HUAWEI-mpls] mpls rsvp-te retrans-timer challenge 800

mpls rsvp-te send-message

Function

The mpls rsvp-te send-message command configures the formats of objects in a sent message.

The undo mpls r