07-MPLS Command Reference

HomeSupportSwitchesS12500R SeriesReference GuidesCommand ReferencesH3C S12500R Switch Router Series Command References(R51xx)-6W10107-MPLS Command Reference
05-Static CRLSP commands
Title Size Download
05-Static CRLSP commands 60.76 KB

Static CRLSP commands

display mpls static-cr-lsp

Use display mpls static-cr-lsp to display information about static CRLSPs.

Syntax

display mpls static-cr-lsp [ lsp-name lsp-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

lsp-name lsp-name: Displays information about the static CRLSP specified by its name, a case-sensitive string of 1 to 15 characters. If you do not specify a static CRLSP, this command displays information about all static CRLSPs.

verbose: Displays detailed information about static CRLSPs. If you do not specify this keyword, the command displays brief information about static CRLSPs.

Examples

# Display brief information about static CRLSPs.

<Sysname> display mpls static-cr-lsp

Name            LSR Type    In/Out Label   Out Interface        State

static-cr-lsp-1 Ingress     Null/20        GE1/0/1              Up

Table 1 Command output

Field

Description

Name

Name of the static CRLSP.

LSR Type

LSR type of the local node on the static CRLSP: Ingress, Transit, or Egress.

In/Out Label

Incoming label/outgoing label.

Out Interface

Output interface.

State

Current state of the static CRLSP:

·     Down—The static CRLSP is not available.

·     Up—The static CRLSP is available.

·     Idle—The incoming label of the static CRLSP is not available.

·     Dup—The incoming label of the static CRLSP is being used by a static LSP.

 

# Display detailed information about static CRLSPs.

<Sysname> display mpls static-cr-lsp verbose

LSP Name       : Tunnel0

LSR Type       : Ingress

In-Label       : Null

Out-Label      : 60

Out-Interface  : HGE1/0/1

Nexthop        : 20.1.1.2

Class Type     : CT0

Bandwidth      : 0 kbps

LSP State      : Up

Table 2 Command output

Field

Description

LSP Name

Name of the static CRLSP.

LSR Type

LSR type of the local node on the static CRLSP: Ingress, Transit, or Egress.

In-Label

Incoming label.

Out-Label

Outgoing label.

Out-Interface

Output interface.

Nexthop

Next hop address.

Class Type

Class type of the static CRLSP, which can be CT0.

Bandwidth

Bandwidth required by the static CRLSP, in kbps.

LSP State

Current state of the static CRLSP:

·     Down—The static CRLSP is not available.

·     Up—The static CRLSP is available.

·     Idle—The incoming label of the static CRLSP is not available.

·     Duplicate—The incoming label of the static CRLSP is being used by a static LSP.

 

Related commands

static-cr-lsp egress

static-cr-lsp ingress

static-cr-lsp transit

static-cr-lsp egress

Use static-cr-lsp egress to configure the egress node of a static CRLSP.

Use undo static-cr-lsp egress to delete the egress node configuration of a static CRLSP.

Syntax

static-cr-lsp egress lsp-name in-label in-label-value

undo static-cr-lsp egress lsp-name

Default

No static CRLSPs exist.

Views

System view

Predefined user roles

network-admin

Parameters

lsp-name: Specifies a name for the static CRLSP, a case-sensitive string of 1 to 15 characters.

in-label in-label-value: Specifies an incoming label. The value range for the incoming label is 16 to 14999.

Usage guidelines

A static CRLSP must have a different incoming label than an existing static LSP. If they are the same, the static CRLSP is not available, even if you change the incoming label of the static LSP. To make the static CRLSP available, delete the static CRLSP, and reconfigure it with an unused incoming label.

Examples

# On the egress node, configure a static CRLSP with name static-te-1 and incoming label 233.

<Sysname> system-view

[Sysname] static-cr-lsp egress static-te-1 in-label 233

Related commands

display mpls static-cr-lsp

static-cr-lsp ingress

static-cr-lsp transit

static-cr-lsp ingress

Use static-cr-lsp ingress to configure the ingress node of a static CRLSP.

Use undo static-cr-lsp ingress to delete the ingress node configuration of a static CRLSP.

Syntax

static-cr-lsp ingress lsp-name { nexthop ip-address | outgoing-interface interface-type interface-number } out-label out-label-value [ bandwidth [ ct0 ] bandwidth-value ]

undo static-cr-lsp ingress lsp-name

Default

No static CRLSPs exist.

Views

System view

Predefined user roles

network-admin

Parameters

lsp-name: Specifies a name for the static CRLSP, a case-sensitive string of 1 to 15 characters.

nexthop ip-address: Specifies the next hop IP address. The address cannot be a public IP address on the local device.

outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and number. The specified interface must be a P2P interface.

out-label out-label-value: Specifies an outgoing label. The value range for the out-label-value argument is 0, 3, and 16 to 1048575.

bandwidth: Specifies the CT and required bandwidth for the static CRLSP. If you do not specify this keyword, the bandwidth required by the static CRLSP is 0 kbps. If you specify this keyword but do not specify a CT, the static CRLSP belongs to CT 0.

ct0: Specifies CT 0 for the static CRLSP.

bandwidth-value: Specifies the bandwidth required by the static CRLSP, in the range of 1 to 4294967295 kbps. The default is 0 kbps.

Examples

# Configure a static CRLSP on the ingress node: specify its name as static-te-2, next hop IP address as 202.55.25.33, outgoing label as 237, CT as CT 0, and required bandwidth as 20 kbps.

<Sysname> system-view

[Sysname] static-cr-lsp ingress static-te-2 nexthop 202.55.25.33 out-label 237 bandwidth ct0 20

Related commands

display mpls static-cr-lsp

static-cr-lsp egress

static-cr-lsp transit

static-cr-lsp transit

Use static-cr-lsp transit to configure a transit node for a static CRLSP.

Use undo static-cr-lsp transit to delete the transit node configuration of a static CRLSP.

Syntax

static-cr-lsp transit lsp-name in-label in-label-value { nexthop ip-address | outgoing-interface interface-type interface-number } out-label out-label-value [ bandwidth [ ct0 ] bandwidth-value ]

undo static-cr-lsp transit lsp-name

Default

No static CRLSPs exist.

Views

System view

Predefined user roles

network-admin

Parameters

lsp-name: Specifies a name for the static CRLSP, a case-sensitive string of 1 to 15 characters.

in-label in-label-value: Specifies an incoming label. The value range for the incoming label is 16 to 14999.

nexthop ip-address: Specifies the next hop IP address. The address cannot be a public IP address on the local device.

outgoing-interface interface-type interface-number: Specifies an outgoing interface by its type and number. The specified interface must be a P2P interface.

out-label out-label-value: Specifies an outgoing label. The value range for the out-label-value argument is 0, 3, and 16 to 1048575.

bandwidth: Specifies the CT and required bandwidth for the static CRLSP. If you do not specify this keyword, the bandwidth required by the static CRLSP is 0 kbps. If you specify this keyword but do not specify a CT, the static CRLSP belongs to CT 0.

ct0: Specifies CT 0 for the static CRLSP.

bandwidth-value: Specifies the bandwidth required by the static CRLSP, in the range of 1 to 4294967295 kbps. The default is 0 kbps.

Usage guidelines

A static CRLSP must have a different incoming label than an existing static LSP. If they are the same, the static CRLSP is not available, even if you change the incoming label of the static LSP. To make the static CRLSP available, delete the static CRLSP, and reconfigure it with an unused incoming label.

Examples

# Configure a static CRLSP on the transit node: specify its name as static-te-3, incoming label as 123, next hop IP address as 1.1.1.1, outgoing label as 253, CT as CT 0, and required bandwidth as 20 kbps.

<Sysname> system-view

[Sysname] static-cr-lsp transit static-te-3 in-label 123 nexthop 1.1.1.1 out-label 253 bandwidth ct0 20

Related commands

display mpls static-cr-lsp

static-cr-lsp egress

static-cr-lsp ingress

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网