MPLS-TP commands

mpls-tp

Syntax

[no] mpls-tp

Context

config>router>mpls

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

Commands in this context configure generic MPLS-TP parameters and MPLS-TP transit paths. If a user configures no mpls, normally the entire MPLS configuration is deleted. However, in the case of mpls-tp, a check is made that there is no other mpls-tp configuration (for example, services or LSPs using MPLS TP on the node). The mpls-tp context cannot be deleted if MPLS-TP LSPs or SDPs exist on the system.

A shutdown of mpls-tp will bring down all MPLS-TP LSPs on the system.

Default

no mpls-tp

tp-tunnel-id-range

Syntax

tp-tunnel-id-range start-id end-id

no tp-tunnel-id-range

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the range of MPLS tunnel IDs reserved for MPLS-TP LSPs. The maximum difference between the start-id and end-id is 4000.

The tunnel ID is the RSVP-TE tunnel ID. This maps to the MPLS-TP tunnel number. In some cases, dynamic LSPs may cause fragmentation to the number space such that the contiguous range [end-idstart-id] is not available. In these cases, the command fails.

There are no default values for the start-idand end-id of the tunnel ID range, and they must be configured to enable MPLS-TP.

Default

no tunnel-id-range

Parameters

start-id

Specifies the start ID.

Values

1 to 61440

end-id

Specifies the end ID.

Values

1 to 61440

oam-template

Syntax

[no] oam-template name

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command enables or edits an OAM template context. Generally, applicable proactive OAM parameters are configured using templates. The top-level template is the OAM template.

Generic MPLS-TP OAM and fault management parameters are configured in the OAM template.

Proactive CC/CV uses BFD and parameters such as Tx/Rx timer intervals, multiplier, and other session or fault management parameters specific to BFD that are configured using a BFD template, which is referenced from the OAM template.

Default

no oam-template

Parameters

name

Specifies a text string name for the template of up to 32 characters in printable 7-bit ASCII, enclosed in double quotes. Named OAM templates are referenced from the MPLS-TP path MEP configuration.

hold-time-down

Syntax

hold-time-down timer

no hold-time-down

Context

config>router>mpls>mpls-tp>oam-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the hold-down dampening timer. It is equivalent to a hold-off timer.

Default

no hold-time-down

Parameters

interval

Specifies the hold-down dampening timer interval.

Values

0 to 5000 deciseconds in 10 ms increments

hold-time-up

Syntax

hold-time-up timer

no hold-time-up

Context

config>router>mpls>mpls-tp>oam-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the hold-up dampening timer. This can be used to provide additional dampening to the state of proactive CC BFD sessions.

Default

no hold-time-up

Parameters

interval

Specifies the hold-up dampening timer interval.

Values

0 to 500 deciseconds, in 100 ms increments

Default

2 seconds

bfd-template

Syntax

bfd-template name

no bfd-template

Context

config>router>mpls>mpls-tp>oam-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures a named BFD template to be referenced by an OAM template.

Default

no bfd-template

Parameters

name

Specifies the BFD template name as a text string up to 32 characters in printable 7-bit ASCII, enclosed in double quotes.

protection-template

Syntax

protection-template name

no protection-template

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command creates or edits a named protection template context. Protection templates are used to define generally applicable protection parameters for MPLS-TP tunnels. Only linear protection is supported; the application of a named template to an MPLS-TP LSP implies that linear protection is used. A protection template is applied under the MEP context of the protect-path of an MPLS-TP LSP.

Default

no protection-template

Parameters

name

Specifies the protection template name as a text string of up to 32 characters in printable 7-bit ASCII, enclosed in double quotes.

revertive

Syntax

[no] revertive

Context

config>router>mpls>mpls-tp>protection-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures revertive behavior for MPLS-TP linear protection. The protect-tp-path MEP must be in the shutdown state for the MPLS-TP LSPs referencing this protection template to change the revertive parameter.

Default

revertive

wait-to-restore

Syntax

wait-to-restore interval

no wait-to-restore

Context

config>router>mpls>mpls-tp>protection-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the WTR timer. It determines how long to wait until the active path of an MPLS-TP LSP is restored to the working path following the clearing of a defect on the working path. It is applicable only for revertive mode.

Default

no wait-to-restore

Parameters

interval

Specifies the WTR timer interval.

Values

0 to 720 seconds, in 1 second increments

rapid-psc-timer

Syntax

rapid-psc-timer interval

no rapid-psc-timer

Context

config>router>mpls>mpls-tp>protection-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the rapid timer value used for protection switching coordination (PSC) packets for MPLS-TP linear protection, in accordance with RFC 6378.

Default

no rapid-psc-timer

Parameters

interval

Specifies the rapid timer interval, in milliseconds.

Values

10, 100, 1000

Default

10

slow-psc-timer

Syntax

slow-psc-timer interval

no slow-psc-timer

Context

config>router>mpls>mpls-tp>protection-template

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the slow timer value used for PSC packets for MPLS-TP linear protection, in accordance with RFC 6378.

Default

no rapid-psc-timer

Parameters

interval

Specifies the slow timer interval, in milliseconds.

Values

10, 100, 1000

global-id

Syntax

global-id global-id

no global-id

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the MPLS-TP global ID for the node. The MPLS-TP LSPs originating at this node use this ID as the ‛from’ global ID. If the global-id value is not configured, a value of zero is used.

If an operator expects that inter domain LSPs will be configured, Nokia recommends that the global ID should be set to the local ASN of the node, as configured under config>system. If two-byte ASNs are used, the most significant two bytes of the global ID are padded with zeros.

To change the global-id value, the config>router>mpls>mpls-tp CLI command must be in the shutdown state. This state brings down all of the MPLS-TP LSPs on the node. New values a propagated to the system when a no shutdown is performed.

Default

no global-id

Parameters

global-id

Specifies the global ID for the node.

Values

0 to 4294967295

node-id

Syntax

node-id node-id

no node-id

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the MPLS-TP node ID. The MPLS-TP LSPs originating at this node use this ID as the ‛from’ node ID. The default value of the node ID is the system interface IPv4 address. The node ID may be entered in the 4-octet IPv4 address format, <a.b.c.d>, or as an unsigned 32-bit integer.

Note:

The node ID is not treated as a routable IP address from the perspective of IP routing, and is not advertised in any IP routing protocols.

The MPLS-TP context cannot be administratively enabled unless at least a system interface IPv4 address is configured because MPLS requires that this value is configured.

Default

no node-id

Parameters

node-id

Specifies the MPLS-TP node ID for the node.

Values

<a.b.c.d> or 1 to 4294967295

Default

System interface IPv4 address

transit-path

Syntax

transit-path path-name

no transit-path

Context

config>router>mpls>mpls-tp

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command enables the configuration or editing of an MPLS-TP transit path at an LSR.

Default

no transit-path

Parameters

path-name

Specifies the template of up to 32 characters in printable 7-bit ASCII, enclosed in double quotes.

path-id

Syntax

path-id {lsp-num lsp-num | working-path | protect-path [src-global-id src-global-id] src-node-id src-node-id src-tunnel-num src-tunnel-num [dest-global-id dest-global-id] dest-node-id dest-node-id [dest-tunnel-num dest-tunnel-num]}

no path-id

Context

config>router>mpls>mpls-tp>transit-path

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the path ID for an MPLS-TP transit path at an LSR. The path ID is equivalent to the MPLS-TP LSP ID and is used to generate the maintenance entity group intermediate point (MIP) identifier for the LSP at the LSR. A path ID must be configured for on-demand OAM to verify an LSP at the LSR.

The path ID must contain at least the following parameters: lsp-num, src-node-id, src-global-id, src-tunnel-num, and dest-node-id.

The path ID must be unique on a node. Nokia recommends that this the configured value is also globally unique.

The no form of this command removes the path ID from the configuration.

Default

no path-id

Parameters

lsp-num

Specifies the LSP number.

Values

1 to 65535, or working path, or protect-path. A working-path is equivalent to a lsp-num of 1, and a protect-path is an lsp-num of 2.

src-global-id

Specifies the source global ID.

Values

0 to 4294967295

src-node-id

Specifies the source node ID.

Values

a.b.c.d or 1 to 4294967295

src-tunnel-num

Specifies the source tunnel number.

Values

1 to 61440

dest-global-id

Specifies the destination global ID. If the destination global ID is not entered, it is set to the same value as the source global ID.

Values

0 to 4294967295

dest-node-id

Specifies the destination node ID.

Values

a.b.c.d or 1 to 4294967295

dest-tunnel-num

Specifies the destination tunnel number. If the destination tunnel number is not entered, it is set to the same value as the source tunnel number.

Values

1 to 61440

forward-path

Syntax

[no] forward-path

Context

config>router>mpls>mpls-tp>transit-path

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command enables the forward path of an MPLS-TP transit path to be created or edited.

The forward path must be created before the reverse path.

The no form of this command removes the forward path. The forward path cannot be removed if a reverse exists.

Default

no forward-path

reverse-path

Syntax

[no] reverse-path

Context

config>router>mpls>mpls-tp>transit-path

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command enables the reverse path of an MPLS-TP reverse path to be configured or edited.

The reverse path must be created after the forward path. The reverse path must be removed before the forward path.

The no form of this command removes the reverse path.

Default

no reverse-path

in-label

Syntax

in-label in-label out-label out-label out-link interface-name [next-hop next-hop]

no in-label

Context

config>router>mpls>mpls-tp>transit-path>forward-path

config>router>mpls>mpls-tp>transit-path>reverse-path

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command configures the label mapping associated with a forward path or reverse path of an MPLS-TP transit path to be configured.

The incoming label, outgoing label, and outgoing interface must be configured using the in-label, out-label, and out-link parameters. If the out-link refers to a numbered IP interface, the user may optionally configure the next-hop parameter and the system will determine the interface to use to reach the configured next hop, but will check that the user-entered value for the out-link corresponds to the link returned by the system. If they do not correspond, the path will not come up.

Default

no in-label

Parameters

in-label

Specifies the incoming label.

Values

32 to 16415

out-label

Specifies the outgoing label.

Values

32 to 16415

interface-name

Specifies the name of the outgoing interface, up to 32 characters, used for the path.

next-hop

Specifies the next hop.

Values

a.b.c.d

shutdown

Syntax

[no] shutdown

Context

config>router>mpls>mpls-tp>transit-path

Platforms

7210 SAS-T, 7210 SAS-R6, and 7210 SAS-R12

Description

This command administratively enables or disables an MPLS-TP transit path.

Default

no shutdown