Show MPLS commands

bypass-tunnel

Syntax

bypass-tunnel [to ip-address] [protected-lsp [lsp-name]] [dynamic | manual] [detail]

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

If fast reroute is enabled on an LSP and the facility method is selected, instead of creating a separate LSP for every LSP that is to be backed up, a single LSP is created that serves as a backup for a set of LSPs. Such an LSP tunnel is called a bypass tunnel.

Parameters

ip-address

Specifies the IP address of the egress router.

lsp-name

Specifies the name of the LSP protected by the bypass tunnel.

dynamic

Displays dynamically assigned labels for bypass protection.

manual

Displays manually assigned labels for bypass protection.

detail

Displays detailed information.

Output

The following output is an example of MPLS bypass tunnel information, and Table: Output fields: MPLS bypass tunnel describes the output fields.

Sample output
*A:Dut-A>show>router>mpls# bypass-tunnel
===============================================================================
MPLS Bypass Tunnels
===============================================================================
Legend :  m - Manual      d - Dynamic 
===============================================================================
To              State  Out I/F        Out Label     Reserved   Protected  Type
                                                    BW (Kbps)  LSP Count
-------------------------------------------------------------------------------
10.10.36.3      Up     lag-1:10       131066        0          2          d

10.10.23.2      Up     lag-1:10       130454        0          4          d

10.10.46.4      Up     lag-2          130592        0          4          d

10.10.36.6      Up     lag-2          130591        0          2          d
-------------------------------------------------------------------------------
Bypass Tunnels : 4
===============================================================================
*A:Dut-A>show>router>mpls#
Table: Output fields: MPLS bypass tunnel

Label

Description

To

The system IP address of the egress router

State

The LSP administrative state

Out I/F

Specifies the name of the network IP interface

Out Label

Specifies the incoming MPLS label on which to match

Reserved BW (Kbps)

Specifies the amount of bandwidth in kilobytes per second (Kb/s) reserved for the LSP

interface

Syntax

interface [ip-int-name | ip-address] [label-map label]

interface [ip-int-name | ip-address]

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS interface information.

Parameters

ip-int-name

Specifies the name of the network IP interface. An interface name cannot be in the form of an IP address. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

ip-address

Specifies the system or network interface IP address.

label

Specifies the MPLS label on which to match.

Values

32 to 1048575

Output

The following output is an example of MPLS interface information, and Table: Output fields: MPLS interface describes the output fields.

Sample output
A:7210SAS# show router mpls interface 

===============================================================================
MPLS Interfaces
===============================================================================
Interface                           Port-id           Adm    Opr    TE-metric
-------------------------------------------------------------------------------
system                              system            Up     Up     None
  Admin Groups                      None
  Srlg Groups                       None
ip-10.10.2.3                        1/1/15            Up     Up     None
  Admin Groups                      None
  Srlg Groups                       None
ip-10.10.5.3                        1/1/1             Up     Up     None
  Admin Groups                      None
  Srlg Groups                       None
ip-10.10.11.3                       1/1/3             Up     Up     None
  Admin Groups                      None
  Srlg Groups                       None
ip-10.10.12.3                       lag-1             Up     Up     None
  Admin Groups                      None
  Srlg Groups                       None
-------------------------------------------------------------------------------
Interfaces : 5                        
===============================================================================
*A:7210SAS# 

Table: Output fields: MPLS interface

Label

Description

Interface

The interface name

Port-id

The port ID displayed in slot/mda/port format

Adm

Specifies the administrative state of the interface

Opr

Specifies the operational state of the interface

Srlg Groups

Specifies the shared risk link group (SRLG) names

Te-metric

Specifies the traffic engineering metric used on the interface

Interfaces

The total number of interfaces

Transmitted

Displays the number of packets and octets transmitted from the interface

Received

Displays the number of packets and octets received

In Label

Specifies the ingress label

In I/F

Specifies the ingress interface

Out Label

Specifies the egress label

Out I/F

Specifies the egress interface

Next Hop

Specifies the next hop IP address for the static LSP

Type

Specifies whether the label value is statically or dynamically assigned

label

Syntax

label start-label [end-label | in-use | label-owner]

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS labels exchanged.

Parameters

start-label

Specifies the label value assigned at the ingress router.

end-label

Specifies the label value assigned for the egress router.

in-use

Specifies the number of in-use labels displayed.

label-owner

Specifies the owner of the label.

Output

The following output is an example of MPLS label information, and Table: Output fields: MPLS label describes the output fields.

Sample output
*A:SRU4>config>router>mpls#    show router mpls label 202
=================================================================
MPLS Label 202
=================================================================
Label               Label Type          Label Owner
-----------------------------------------------------------------
202                 static-lsp          STATIC
-----------------------------------------------------------------
In-use labels in entire range                   : 5057
=================================================================
*A:SRU4>config>router>mpls#
Table: Output fields: MPLS label

Label

Description

Label

Displays the value of the label

Label Type

Specifies whether the label value is statically or dynamically assigned

Label Owner

The label owner

In-use labels in entire range

The total number of labels being used by RSVP

label-range

Syntax

label-range

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays the MPLS label range.

Output

The following output is an example of MPLS label range information, and Table: Output fields: MPLS label describes the output fields.

Sample output
*A:Dut-A# show router mpls-labels label-range 

============================================================================
Label Ranges
============================================================================
Label Type      Start Label End Label   Aging       Available   Total
----------------------------------------------------------------------------
Static          32          18431       -           18399       18400
Dynamic         18432       131071      0           112635      112640
    Seg-Route   0           0           -           0           112640
============================================================================
*A:Dut-A#

Table: Output fields: MPLS label

Label

Description

Label Type

Displays the information about static-lsp, static-svc, and dynamic label types

Start Label

The label value assigned at the ingress router

End Label

The label value assigned for the egress router

Aging

The number of labels released from a service that are transitioning back to the label pool. Labels are aged 15 seconds.

Total Available

The number of label values available

lsp

Syntax

lsp lsp-name [status {up | down}] [from ip-address | to ip-address] [detail]

lsp {transit | terminate} [status {up | down}] [from ip-address | to ip-address | lsp-name name] [detail]

lsp count

lsp lsp-name activepath

lsp lsp-name path [path-name] [status {up | down}] [detail]

lsp [lsp-name] path [path-name] mbb

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays LSP details.

Parameters

lsp lsp-name

Specifies the name of the LSP used in the path.

status up

Displays an LSP that is operationally up.

status down

Displays an LSP that is operationally down.

from ip-address

Displays the IP address of the ingress router for the LSP.

to ip-address

Displays the IP address of the egress router for the LSP.

transit

Displays the number of static LSPs that transit through the router.

terminate

Displays the number of static LSPs that terminate at the router.

name

Specifies the IP address of the named LSP.

lsp count

Displays the total number of LSPs.

activepath

Displays the present path being used to forward traffic.

path-name

Specifies the name of the path carrying the LSP.

mbb

Displays make-before-break (MBB) information.

detail

Displays detailed information.

Output

The following output is an example of MPLS LSP information, and Table: Output fields: MPLS LSP describes the output fields.

Sample output
*A:SRU4>config>router>mpls#   show router mpls lsp "to_10_20_1_1_cspf"
===============================================================================
MPLS LSPs (Originating)
===============================================================================
LSP Name                           To                  Fastfail     Adm   Opr
                                                       Config
-------------------------------------------------------------------------------
to_10_20_1_1_cspf                  10.20.1.1           No           Up    Up
-------------------------------------------------------------------------------
LSPs : 1
===============================================================================
*A:SRU4>config>router>mpls#


===============================================================================
*A:7210-SAS>show>router>mpls# lsp A detail

===============================================================================
MPLS LSPs (Originating) (Detail)
===============================================================================
-------------------------------------------------------------------------------
Type : Originating
-------------------------------------------------------------------------------
LSP Name    : A                                LSP Tunnel ID  : 1
From        : 2.2.2.2                          To             : 10.100.100.100
Adm State   : Up                               Oper State     : Down
LSP Up Time : 0d 00:00:00                      LSP Down Time  : 0d 00:05:42
Transitions : 2                                Path Changes   : 2
Retry Limit : 0                                Retry Timer    : 30 sec
Signaling   : RSVP                             Resv. Style    : SE
Hop Limit   : 255                              Negotiated MTU : 0
Adaptive    : Enabled                          ClassType      : 0
FastReroute : Disabled                         Oper FR        : Disabled
CSPF        : Disabled                         ADSPEC         : Disabled
Metric      : 0
Include Grps:                                  Exclude Grps   :
None                                           None
Type        : RegularLsp                       Least Fill     : Disabled
LdpOverRsvp : Enabled                          VprnAutoBind   : Enabled
Oper Metric : 65535

Primary     : A                                Down Time      : 0d 00:05:42
Bandwidth   : 0 Mbps
===============================================================================
*A:7210-SAS>show>router>mpls# lsp 2 detail

Table: Output fields: MPLS LSP

Label

Description

LSP Name

The name of the LSP used in the path

To

The system IP address of the egress router for the LS.

Adm State

Down — The path is administratively disabled

Up — The path is administratively enabled

Oper State

Down — The path is operationally down

Up — The path is operationally up

Oper State

Down — The path is operationally down

Up — The path is operationally up

LSPs

The total number of LSPs configured

From

The IP address of the ingress router for the LSP

LSP Up Time

The length of time the LSP has been operational

Transitions

The number of transitions that have occurred for the LSP

Retry Limit

The number of attempts that the software should make to re-establish the LSP after it has failed

Signaling

Specifies the signaling style

Hop Limit

The maximum number of hops that an LSP can traverse, including the ingress and egress routers

Fast Reroute/FastFail Config

enabled — Fast reroute is enabled. In the event of a failure, traffic is immediately rerouted on the precomputed detour LSP, which minimizes packet loss.

disabled — There is no detour LSP from each node on the primary path

ADSPEC

enabled — The LSP includes advertising data (ADSPEC) objects in RSVP messages

disabled — The LSP does not include advertising data (ADSPEC) objects in RSVP messages

Primary

The preferred path for the LSP

Secondary

The alternate path that the LSP uses if the primary path is not available.

Bandwidth

The amount of bandwidth in megabits per second (Mbps) reserved for the LSP path.

LSP Up Time

The total time in increments that the LSP path has been operational

LSP Tunnel ID

The value that identifies the label switched path that is signaled for this entry

To

The IP address of the egress router for the LSP

LSP Down Time

The total time, in increments, that the LSP path has not been operational

Path Changes

The number of path changes this LSP has had. For every path change (path down, path up, path change), a corresponding syslog/trap (if enabled) is generated.

Retry Timer

The time, in seconds, for LSP re-establishment attempts after an LSP failure

Resv Style

se — Specifies a shared reservation environment with a limited reservation scope. This reservation style creates a single reservation over a link that is shared by an explicit list of senders.

ff — Specifies a shared reservation environment with an explicit reservation scope. Specifies an explicit list of senders and a distinct reservation for each of them.

Negotiated MTU

The size of the maximum transmission unit (MTU) that is negotiated during establishment of the LSP

FR Hop Limit

The total number of hops a detour LSP can take before merging back onto the main LSP path

LastResignalAttempt

Displays the system up time when the last attempt to resignal this LSP was made

VprnAutoBind

Displays the status on the VPRN auto-bind feature as enabled or disabled

srlg-database

Syntax

srlg-database [router-id ip-address] [interface ip-address]

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS SRLG database information.

Parameters

router-id ip-address

Specifies a 32-bit integer that uniquely identifies the router in the AS. To ensure uniqueness, this may default to the value of one of the router's IPv4 host addresses, represented as a 32-bit unsigned integer, if IPv4 is configured on the router. The router ID can be either the local one or a remote router.

interface ip-address

Specifies the IP address of the interface.

path

Syntax

path [path-name] [lsp-binding]

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS paths.

Parameters

path-name

Specifies the unique name label for the LSP path.

lsp-binding

Displays binding information.

Output

The following output is an example of MPLS path information, and Table: Output fields: MPLS path describes the output fields.

Sample output
*A:SRU4>config>router>mpls# show router mpls path
===============================================================================
MPLS Path:
===============================================================================
Path Name                        Adm  Hop Index   IP Address       Strict/Loose
-------------------------------------------------------------------------------
to_110_20_1_1                    Up   no hops     n/a              n/a

to_110_20_1_2                    Up   no hops     n/a              n/a

to_110_20_1_3                    Up   no hops     n/a              n/a

to_110_20_1_4                    Up   no hops     n/a              n/a

to_110_20_1_5                    Up   no hops     n/a              n/a

to_110_20_1_6                    Up   no hops     n/a              n/a

to_110_20_1_110                  Up   no hops     n/a              n/a

to_10_8_100_15                   Up   no hops     n/a              n/a

to_10_20_1_20                    Up   no hops     n/a              n/a

to_10_20_1_22                    Up   no hops     n/a              n/a

to_10_100_1_1                    Up   no hops     n/a              n/a
------------------------------------------------------------------------------
Paths : 11
===============================================================================
*A:SRU4>config>router>mpls#

Table: Output fields: MPLS path

Label

Description

Path Name

The unique name label for the LSP path

Adm

Down — the path is administratively disabled

Up — the path is administratively enabled

Hop Index

The value used to order the hops in a path

IP Address

The IP address of the hop that the LSP should traverse on the way to the egress router

Strict/Loose

Strict — the LSP must take a direct path from the previous hop router to the next router

Loose — the route taken by the LSP from the previous hop to the next hop can traverse through other routers

LSP Name

The name of the LSP used in the path

Binding

Primary — the preferred path for the LSP

Secondary — the standby path for the LSP

Paths

Total number of paths configured

static-lsp

Syntax

static-lsp [lsp-name]

static-lsp [lsp-type {transit | terminate}]

static-lsp count

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS static LSP information.

Parameters

lsp-name

Specifies a name that identifies the LSP.

lsp-type

Specifies the type that identifies the LSP.

transit — Displays the number of static LSPs that transit the router.

terminate — Displays the number of static LSPs that terminate at the router.

Values

transit, terminate

count

Displays the number of static LSPs that originate and terminate at the router.

Output

The following output is an example of MPLS static LSP information, and Table: Output fields: MPLS static LSP describes the output fields.

Sample output
A:ALA-12# show router mpls static-lsp 
===============================================================================
MPLS Static LSPs (Originating)
===============================================================================
Lsp Name          To              Next Hop        Out Label Out I/F   Adm  Opr  
-------------------------------------------------------------------------------
NYC_SJC_customer2 10.20.1.10      10.10.1.4       1020      1/1/1     Up   Up  
-------------------------------------------------------------------------------
LSPs : 1
===============================================================================
A:ALA-12# 


*A:SRU4>config>router>mpls# show router mpls static-lsp transit
===============================================================================
MPLS Static LSPs (Transit)
===============================================================================
In Label    In Port     Out Label   Out Port    Next Hop            Adm   Opr
-------------------------------------------------------------------------------
240         aps-1       440         1/1/10      10.22.11.3          Up    Up
241         aps-1       441         1/1/10      10.22.11.3          Up    Up
242         aps-1       442         1/1/10      10.22.11.3          Up    Up
243         aps-1       443         1/1/10      10.22.11.3          Up    Up
244         aps-1       444         1/1/10      10.22.11.3          Up    Up
245         aps-1       445         1/1/10      10.22.11.3          Up    Up
246         aps-1       446         1/1/10      10.22.11.3          Up    Up
247         aps-1       447         1/1/10      10.22.11.3          Up    Up
248         aps-1       448         1/1/10      10.22.11.3          Up    Up
249         aps-1       449         1/1/10      10.22.11.3          Up    Up
250         aps-1       450         1/1/10      10.22.11.3          Up    Up
251         aps-1       451         1/1/10      10.22.11.3          Up    Up
252         aps-1       452         1/1/10      10.22.11.3          Up    Up
253         aps-1       453         1/1/10      10.22.11.3          Up    Up
...
207         3/2/8       407         1/1/9       10.22.10.3          Up    Up
208         3/2/8       408         1/1/9       10.22.10.3          Up    Up
209         3/2/8       409         1/1/9       10.22.10.3          Up    Up
-------------------------------------------------------------------------------
LSPs : 256
===============================================================================
*A:SRU4>config>router>mpls#

A:ALA-12# show router mpls static-lsp terminate 
===============================================================================
MPLS Static LSPs (Terminate)
===============================================================================
In Label    In I/F      Out Label   Out I/F     Next Hop            Adm   Opr   
-------------------------------------------------------------------------------
1021        1/1/1       n/a         n/a         n/a                 Up    Up   
-------------------------------------------------------------------------------
LSPs : 1
===============================================================================
A:ALA-12# 
Table: Output fields: MPLS static LSP

Label

Description

Lsp Name

The name of the LSP used in the path

To

The system IP address of the egress router for the LSP

Next Hop

The system IP address of the next hop in the LSP path

In I/F

The ingress interface

Out Label

The egress label

Out I/F

The egress interface

Adm

Down — the path is administratively disabled

Up — the path is administratively enabled

Opr

Down — the path is operationally down

Up — the path is operationally up

LSPs

The total number of static LSPs

status

Syntax

status

Context

show>router>mpls

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command displays MPLS operation information.

Output

The following output is an example of MPLS status information, and Table: Output fields: MPLS status describes the output fields.

Sample output
*A:7210SAS# show router mpls status 

===============================================================================
MPLS Status
===============================================================================
Admin Status       : Up                 Oper Status        : Up
Oper Down Reason   : n/a                
FR Object          : Enabled            Resignal Timer     : Disabled
Hold Timer         : 1 seconds          Next Resignal      : N/A
Srlg Frr           : Disabled           Srlg Frr Strict    : Disabled
Dynamic Bypass     : Enabled            User Srlg Database : Disabled
Least Fill Min Thd.: 5 percent          LeastFill ReoptiThd: 10 percent
Short. TTL Prop Lo*: Enabled            Short. TTL Prop Tr*: Enabled
AB Sample Multipli*: 1                  AB Adjust Multipli*: 288
Exp Backoff Retry  : Disabled           CSPF On Loose Hop  : Disabled
Lsp Init RetryTime*: 30 seconds         
Logger Event Bundl*: Disabled           
 
Sec FastRetryTimer : Disabled           Static LSP FR Timer: 30 seconds
P2P Max Bypass Ass*: 1000               
P2PActPathFastRetry: Disabled           
In Maintenance Mode: No                 
 
LSP Counts          Originate           Transit             Terminate
-------------------------------------------------------------------------------
Static LSPs         0                   0                   0
Dynamic LSPs        0                   0                   1
Detour LSPs         0                   0                   0
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:7210SAS# 
Table: Output fields: MPLS status

Label

Description

Admin Status

Down — MPLS is administratively disabled

Up — MPLS is administratively enabled

Oper Status

Down — MPLS is operationally down

Up — MPLS is operationally up

LSP Counts

Static LSPs — Displays the count of static LSPs that originate, transit, and terminate on or through the router.

Dynamic LSPs — Displays the count of dynamic LSPs that originate, transit, and terminate on or through the router

Detour LSPs — Displays the count of detour LSPs that originate, transit, and terminate on or through the router

FR Object

Enabled — Specifies that Fast reroute object is signaled for the LSP

Disabled — Specifies that Fast reroute object is not signaled for the LSP

Resignal Timer

Enabled — Specifies that the resignal timer is enabled for the LSP

Disabled — Specifies that the resignal timer is disabled for the LSP

Hold Timer

Displays the amount of time that the ingress node holds before programming its data plane and declaring the LSP up to the service module