+ All Categories
Home > Documents > 09 MPLS Command Reference Book[1]

09 MPLS Command Reference Book[1]

Date post: 14-Apr-2018
Category:
Upload: alexandre-oliveira
View: 226 times
Download: 0 times
Share this document with a friend

of 353

Transcript
  • 7/29/2019 09 MPLS Command Reference Book[1]

    1/352

    H3C MSR Series Routers

    MPLS Command Reference(V5)

    Hangzhou H3C Technologies Co., Ltd.http://www.h3c.com

    Software version: MSR-CMW520-R2311Document version: 20130320-C-1.10

  • 7/29/2019 09 MPLS Command Reference Book[1]

    2/352

    Copyright 2006-2013, Hangzhou H3C Technologies Co., Ltd. and its licensors

    All rights reserved

    No part of this manual may be reproduced or transmitted in any form or by any means without prior

    written consent of Hangzhou H3C Technologies Co., Ltd.Trademarks

    H3C, , H3CS, H3CIE, H3CNE, Aolynk, , H3Care, , IRF, NetPilot, Netflow,SecEngine, SecPath, SecCenter, SecBlade, Comware, ITCMM and HUASAN are trademarks ofHangzhou H3C Technologies Co., Ltd.

    All other trademarks that may be mentioned in this manual are the property of their respective owners

    Notice

    The information in this document is subject to change without notice. Every effort has been made in the

    preparation of this document to ensure accuracy of the contents, but all statements, information, andrecommendations in this document do not constitute the warranty of any kind, express or implied.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    3/352

    Preface

    The H3C MSR documentation set includes 17 command references, which describe the commands andcommand syntax options available for the H3C MSR Series Routers.

    The MPLS Command Reference(V5) describes the MPLS configuration commands.

    This preface includes:

    Audience Conventions About the H3C MSR documentation set Obtaining documentation Technical support Documentation feedbackThese configuration guides apply to the following models of the H3C MSR series routers:

    Model

    MSR 900 MSR 900 MSR 920

    MSR 930

    MSR 930 MSR 930-GU MSR 930-GT MSR 930-DG MSR 930-SA

    MSR 20-1X

    MSR 20-10 MSR 20-10E MSR 20-11 MSR 20-12 MSR 20-15

    MSR 20

    MSR 20-20 MSR 20-21 MSR 20-40

    MSR 30

    MSR 30-10 MSR 30-11 MSR 30-11E MSR 30-11F MSR 30-16 MSR 30-20 MSR 30-40 MSR 30-60

    MSR 50 MSR 50-40 MSR 50-60

  • 7/29/2019 09 MPLS Command Reference Book[1]

    4/352

    AudienceThis documentation is intended for:

    Network planners Field technical support and servicing engineers Network administrators working with the routers

    ConventionsThis section describes the conventions used in this documentation set.

    Command conventions

    Convention Description

    Boldface Bold text represents commands and keywords that you enter literally as shown.Italic Italictext represents arguments that you replace with actual values.

    [ ] Square brackets enclose syntax choices (keywords or arguments) that are optional.

    { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from whichyou select one.

    [ x | y | ... ] Square brackets enclose a set of optional syntax choices separated by vertical bars, fromwhich you select one or none.

    { x | y | ... } * Asterisk marked braces enclose a set of required syntax choices separated by verticalbars, from which you select at least one.

    [ x | y | ... ] * Asterisk marked square brackets enclose optional syntax choices separated by verticalbars, from which you select one choice, multiple choices, or none.

    &The argument or keyword and argument combination before the ampersand (&) sign canbe entered 1 to n times.

    # A line that starts with a pound (#) sign is comments.

    GUI conventions

    Convention Description

    BoldfaceWindow names, button names, field names, and menu items are in Boldface. Forexample, the New Userwindow appears; click OK.

    > Multi-level menus are separated by angle brackets. For example, File > Create > Folder.

    Symbols

    Convention Description

    WARNINGAn alert that calls attention to important information that if not understood or followed canresult in personal injury.

    CAUTIONAn alert that calls attention to important information that if not understood or followed canresult in data loss, data corruption, or damage to hardware or software.

    IMPORTANT An alert that calls attention to essential information.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    5/352

    Convention Description

    NOTE An alert that contains additional or supplementary information.

    TIPAn alert that provides helpful information.

    Network topology icons

    Represents a generic network device, such as a router, switch, or firewall.

    Represents a routing-capable device, such as a router or Layer 3 switch.

    Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supportsLayer 2 forwarding and other Layer 2 features.

    Port numbering in examples

    The port numbers in this document are for illustration only and might be unavailable on your device.

    About the H3C MSR documentation setThe H3C MSR documentation set includes:

    Category Documents Purposes

    Product description andspecifications

    Marketing brochures Describe product specifications and benefits.

    Technology white papersProvide an in-depth description of software featuresand technologies.

    Card datasheets Describe card specifications, features, andstandards.

    Hardwarespecifications andinstallation

    Compliance and safetymanual

    Provides regulatory information and the safetyinstructions that must be followed during installation.

    Installation guideProvides a complete guide to hardware installationand hardware specifications.

    MSR Series Routers InterfaceModule Manual

    Provide the hardware specifications of cards.

    Software configuration

    MSR Series RoutersConfiguration guides

    Describe software features and configurationprocedures.

    MSR Series RoutersCommand references

    Provide a quick reference to all availablecommands.

    MSR Series Routers WebConfiguration guides

    Describe Web software features and configurationprocedures.

    Operations andmaintenance

    H3C MSR Basic RoutersProvide information about the product release,including the version history, hardware and softwarecompatibility matrix, version upgrade information,technical support information, and softwareupgrading.

    H3C MSR Standard Routers

    http://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/Routers/H3C_MSR_50_Series_Routers/#Configurationhttp://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/Routers/H3C_MSR_50_Series_Routers/#Configurationhttp://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/Routers/H3C_MSR_50_Series_Routers/#Configurationhttp://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/Routers/H3C_MSR_50_Series_Routers/#Configuration
  • 7/29/2019 09 MPLS Command Reference Book[1]

    6/352

    Obtaining documentationYou can access the most up-to-date H3C product documentation on the World Wide Webat http://www.h3c.com.

    Click the links on the top navigation bar to obtain different categories of product documentation:

    [Technical Support & Documents > Technical Documents] Provides hardware installation, softwareupgrading, and software feature configuration and maintenance documentation.

    [Products & Solutions] Provides information about products and technologies, as well as solutions.[Technical Support & Documents > Software Download] Provides the documentation released with thesoftware version.

    Technical [email protected]

    http://www.h3c.com

    Documentation feedbackYou can e-mail your comments about product documentation to [email protected].

    We appreciate your comments.

    http://www.h3c.com/http://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/http://www.h3c.com/portal/Products___Solutions/http://www.h3c.com/portal/Technical_Support___Documents/Software_Download/http://www.h3c.com/portal/Technical_Support___Documents/Software_Download/http://www.h3c.com/portal/Products___Solutions/http://www.h3c.com/portal/Technical_Support___Documents/Technical_Documents/http://www.h3c.com/
  • 7/29/2019 09 MPLS Command Reference Book[1]

    7/352

    i

    Contents

    Basic MPLS commands 1accept-label 1advertise-label 2display mpls fast-forwarding cache 3display mpls ilm 4display mpls interface 6display mpls label 8display mpls ldp 8display mpls ldp cr-lsp 10display mpls ldp fec 11display mpls ldp interface 14display mpls ldp lsp 16display mpls ldp peer 17display mpls ldp remote-peer 19display mpls ldp session 20display mpls ldp session all statistics 23display mpls lsp 24display mpls lsp statistics 27display mpls nhlfe 28display mpls nhlfe reflist 30display mpls route-state 31display mpls static-lsp 32display mpls statistics interface 34display mpls statistics lsp 36dscp 38du-readvertise 38du-readvertise timer 39graceful-restart (MPLS LDP view) 40graceful-restart mpls ldp 40graceful-restart timer neighbor-liveness 41graceful-restart timer reconnect 41graceful-restart timer recovery 42hops-count 43label advertise 43label-distribution 44loop-detect 45lsp-trigger 46lsr-id 47md5-password 47mpls 48mpls ldp (system view) 49mpls ldp (interface view) 50mpls ldp remote-peer 50mpls ldp timer hello-hold 51mpls ldp timer keepalive-hold 52mpls ldp transport-address 53mpls lsr-id 54mpls mtu 54path-vectors 55

  • 7/29/2019 09 MPLS Command Reference Book[1]

    8/352

    ii

    ping lsp ipv4 56prefix-label advertise 57remote-ip 58remote-ip bfd 58reset mpls fast-forwarding cache 59reset mpls ldp 59reset mpls statistics interface 60

    reset mpls statistics lsp 60static-lsp egress 61static-lsp ingress 61static-lsp transit 62statistics interval 63tracert lsp ipv4 64ttl expiration enable 65ttl expiration pop 65ttl propagate 66

    MPLS L2VPN configuration commands 68ccc interface in-label out-label 68ccc interface out-interface 69ce 70connection 71default-nexthop 71display bgp l2vpn 72display ccc 78display l2vpn ccc-interface vc-type 79display mpls l2vc 81display mpls l2vpn 84display mpls l2vpn connection 87display mpls l2vpn fib ac vpws 90display mpls l2vpn fib pw vpws 91display mpls static-l2vc 94l2vpn 96l2vpn-family 96mpls l2vc 97mpls l2vc switchover 98mpls l2vpn 99mpls l2vpn vpn-name 99mpls static-l2vc (for primary-backup SVCs) 100mpls static-l2vc (for ordinary SVC) 102mpls static-l2vc switchover 103mtu (MPLS L2VPN view) 104ping lsp pw (for MPLS L2VPN) 104ppp ipcp ignore local-ip 105ppp ipcp proxy 106reset bgp l2vpn 107route-distinguisher (MPLS L2VPN view) 107vpn-target (MPLS L2VPN view) 108

    MPLS L3VPN configuration commands 110default local-preference (BGP-VPNv4 subaddress family view) 110default med (BGP-VPNv4 subaddress family view) 110description (VPN instance view) 111display bgp vpnv4 all routing-table 111display bgp vpnv4 group 115

  • 7/29/2019 09 MPLS Command Reference Book[1]

    9/352

    iii

    display bgp vpnv4 network 117display bgp vpnv4 paths 118display bgp vpnv4 peer 119display bgp vpnv4 peer received ip-prefix 126display bgp vpnv4 route-distinguisher routing-table 127display bgp vpnv4 routing-table label 131display bgp vpnv4 vpn-instance routing-table 132

    display fib vpn-instance 134display fib vpn-instance ip-address 137display ip vpn-instance 138display mpls ldp vpn-instance 139display ospf sham-link 141display tunnel-policy 142display vpn label operation 144domain-id 145export route-policy (VPN instance view/IPv4 VPN view) 146ext-community-type 146filter-policy export (BGP-VPNv4 subaddress family view) 147filter-policy import (BGP-VPNv4 subaddress family view) 148import route-policy (VPN instance view/IPv4 VPN view) 149ip binding vpn-instance 150ip vpn-instance 150ipv4-family vpnv4 151ipv4-family (VPN instance view) 151mpls ldp vpn-instance 152nesting-vpn 152peer advertise-community (BGP-VPNv4 subaddress family view) 153peer allow-as-loop 154peer as-path-acl (BGP-VPNv4 subaddress family view) 154peer capability-advertise orf ip-prefix (BGP-VPNv4 subaddress family view) 155peer default-route-advertise vpn-instance 156peer enable (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 157peer filter-policy (BGP-VPNv4 subaddress family view) 158peer group (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 159peer ip-prefix (BGP-VPNv4 subaddress family view) 159peer label-route-capability (BGP view/BGP VPN instance view) 160peer next-hop-invariable (BGP-VPNv4 subaddress family view) 161peer next-hop-local 161peer preferred-value (BGP-VPNv4 subaddress family view) 162peer public-as-only (BGP-VPNv4 subaddress family view) 163peer reflect-client (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 164peer route-policy (BGP-VPNv4 subaddress family view) 164peer upe 165peer upe route-policy 166peer vpn-instance enable 167peer vpn-instance group 167peer vpn-instance route-policy import 168policy vpn-target (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 169preferred-path 170reflect between-clients (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 171reflector cluster-id (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 172refresh bgp vpn-instance 172refresh bgp vpnv4 173reset bgp vpn-instance 174

  • 7/29/2019 09 MPLS Command Reference Book[1]

    10/352

    iv

    reset bgp vpn-instance dampening 174reset bgp vpn-instance flap-info 175reset bgp vpnv4 175route-distinguisher (VPN instance view) 176route-tag 177routing-table limit (VPN instance view/IPv4 VPN view) 178rr-filter (BGP-VPNv4 subaddress family view/BGP-L2VPN address family view) 179

    sham-link 180tnl-policy (VPN instance view/IPv4 VPN view) 181tunnel-policy 182tunnel select-seq 183vpn popgo 184vpn-instance-capability simple 185vpn-target (VPN instance view/IPv4 VPN view) 185

    IPv6 MPLS L3VPN commands 187default local-preference (BGP-VPNv6 subaddress family view) 187default med (BGP-VPNv6 subaddress family view) 187display bgp vpnv6 all peer 188display bgp vpnv6 all routing-table 191display bgp vpnv6 route-distinguisher routing-table 193display bgp vpnv6 vpn-instance peer 195display bgp vpnv6 vpn-instance routing-table 197display ipv6 fib vpn-instance 199display ipv6 fib vpn-instance ipv6-address 200export route-policy (VPN instance view/IPv6 VPN view) 201filter-policy export (BGP-VPNv6 subaddress family view) 202filter-policy import (BGP-VPNv6 subaddress family view) 203import route-policy (VPN instance view/IPv6 VPN view) 204ipv6-family vpnv6 (BGP view) 205ipv6-family (VPN instance view) 205peer enable (BGP-VPNv6 subaddress family view) 206peer filter-policy (BGP-VPNv6 subaddress family view) 206peer ipv6-prefix (BGP-VPNv6 subaddress family view) 207peer preferred-value (BGP-VPNv6 subaddress family view) 208peer public-as-only (BGP-VPNv6 subaddress family view) 208peer reflect-client (BGP-VPNv6 subaddress family view) 209peer route-policy (BGP-VPNv6 subaddress family view) 210policy vpn-target (BGP-VPNv6 subaddress family view) 211reflect between-clients (BGP-VPNv6 subaddress family view) 211reflector cluster-id (BGP-VPNv6 subaddress family view) 212refresh bgp ipv6 vpn-instance 212refresh bgp vpnv6 213reset bgp ipv6 vpn-instance 214reset bgp vpnv6 214routing-table limit (VPN instance view/IPv6 VPN view) 215rr-filter (BGP-VPNv6 subaddress family view) 216tnl-policy (VPN instance view/IPv6 VPN view) 217vpn-target (VPN instance view/IPv6 VPN view) 218

    MPLS TE configuration commands 220add hop 220delete hop 220display explicit-path 221display isis traffic-eng advertisements 222

  • 7/29/2019 09 MPLS Command Reference Book[1]

    11/352

    v

    display isis traffic-eng link 225display isis traffic-eng network 226display isis traffic-eng statistics 228display isis traffic-eng sub-tlvs 229display mpls rsvp-te 230display mpls rsvp-te established 232display mpls rsvp-te peer 233

    display mpls rsvp-te psb-content 234display mpls rsvp-te request 237display mpls rsvp-te reservation 238display mpls rsvp-te rsb-content 239display mpls rsvp-te sender 241display mpls rsvp-te statistics 242display mpls static-cr-lsp 245display mpls te cspf tedb 247display mpls te ds-te 252display mpls te link-administration admission-control 253display mpls te link-administration bandwidth-allocation 254display mpls te tunnel 255display mpls te tunnel path 258display mpls te tunnel statistics 259display mpls te tunnel-interface 260display ospf mpls-te 263display ospf traffic-adjustment 265display tunnel-info 266enable traffic-adjustment 267enable traffic-adjustment advertise 268explicit-path 268list hop 269modify hop 269mpls rsvp-te 270mpls rsvp-te authentication 271mpls rsvp-te bfd enable 271mpls rsvp-te blockade-multiplier 272mpls rsvp-te dscp 273mpls rsvp-te graceful-restart 273mpls rsvp-te hello 274mpls rsvp-te hello-lost 275mpls rsvp-te keep-multiplier 275mpls rsvp-te reliability 276mpls rsvp-te resvconfirm 277mpls rsvp-te srefresh 277mpls rsvp-te timer graceful-restart recovery 278mpls rsvp-te timer graceful-restart restart 278mpls rsvp-te timer hello 279mpls rsvp-te timer refresh 280mpls rsvp-te timer retransmission 280mpls te 281mpls te affinity property 282mpls te auto-bandwidth 283mpls te backup 284mpls te backup bandwidth 284mpls te bandwidth 285mpls te bandwidth change thresholds 286

  • 7/29/2019 09 MPLS Command Reference Book[1]

    12/352

    vi

    mpls te commit 287mpls te cspf 287mpls te cspf timer failed-link 288mpls te ds-te ietf bc-mode 289mpls te ds-te ietf te-class 289mpls te ds-te mode 290mpls te fast-reroute 291

    mpls te fast-reroute bypass-tunnel 292mpls te igp advertise 293mpls te igp metric 293mpls te igp shortcut 294mpls te link administrative group 295mpls te loop-detection 295mpls te max-link-bandwidth 296mpls te max-reservable-bandwidth 296mpls te max-reservable-bandwidth mam 297mpls te max-reservable-bandwidth rdm 298mpls te metric 299mpls te path 299mpls te path metric-type 300mpls te priority 301mpls te protection switch-mode 302mpls te protection tunnel 303mpls te protect-switch 304mpls te record-route 305mpls te reoptimization (tunnel interface view) 305mpls te reoptimization (user view) 306mpls te resv-style 306mpls te retry 307mpls te route-pinning 308mpls te signal-protocol 308mpls te tie-breaking 309mpls te timer auto-bandwidth 310mpls te timer fast-reroute 310mpls te timer link-management periodic-flooding 311mpls te timer retry 312mpls te tunnel-id 312mpls te vpn-binding 313mpls-te 314next hop 315opaque-capability 315ping lsp te 316reset mpls rsvp-te statistics 317reset mpls te auto-bandwidth adjustment timers 317static-cr-lsp egress 318static-cr-lsp ingress 319static-cr-lsp transit 320te-set-subtlv 321tracert lsp te 322traffic-eng 323

    L2VPN access to L3VPN or IP backbone configuration commands 324default 324description 324display interface 325

  • 7/29/2019 09 MPLS Command Reference Book[1]

    13/352

    vii

    display ve-group 330interface ve-l2vpn-terminate 331interface ve-l3vpn-access 331mtu 332reset counters interface 333shutdown 334ve-group 334

    Index 336

  • 7/29/2019 09 MPLS Command Reference Book[1]

    14/352

    1

    Basic MPLS commands

    Commands configured in MPLS LDP view apply to the public network and those configured in MPLS LDPVPN instance view apply to the MPLS VPN instance.

    accept-labelUse accept-label to configure a label acceptance policy.

    Use undo accept-label to restore the default.

    Syntax

    accept-label peerpeer-idip-prefix ip-prefix-name

    undo accept-label peerpeer-id

    Default

    An LSR accepts all label bindings received from its LDP peers.

    Views

    MPLS LDP view, MPLS LDP VPN instance view

    Default command level

    2: System level

    Parameters

    peerpeer-id: Specifies an LDP peer. The peer-idargument is the LSR ID of the LDP peer.

    ip-prefix ip-prefix-name: Specifies the IP prefix list to be used for filtering received FEC-label bindings. Theip-prefix-nameargument is the name of the IP prefix list, a string of 1 to 19 characters.

    Usage guidelines

    A label acceptance policy is for filtering the FEC-label bindings received. With such a policy configured,an upstream LSR filters the label bindings received from the specified downstream LSR by the specified IPprefix list, and accepts and saves only bindings with the FEC destinations permitted by the specified IPprefix list.

    When the label acceptance control configuration on an LSR is changed (for example, the labelacceptance policy is deleted by using the undo accept-label command), you must execute the reset mplsldp command to reset LDP sessions so that the downstream LSR re-advertises its label bindings and theupstream LSR can obtain the label bindings not accepted before.

    Examples

    # Configure the device to accept only the label bindings of FECs with destination addresses on subnet10.1.1.0/24 and 10.2.1.0/24 from LDP peer 1.1.1.9.

    syst em- vi ew

    [ Sysname] i p i p- pr ef i x pr ef i x- f r om- RTA i ndex 1 permi t 10. 1. 1. 0 24

    [ Sysname] i p i p- pr ef i x pr ef i x- f r om- RTA i ndex 2 permi t 10. 2. 1. 0 24

    [ Sysname] mpl s l dp

    [ Sysname- mpl s- l dp] accept - l abel peer 1. 1. 1. 9 i p- pr ef i x pr ef i x- f r om- RTA

  • 7/29/2019 09 MPLS Command Reference Book[1]

    15/352

    2

    Related commands

    ip ip-prefix (Layer 3IP Routing Command Reference)

    advertise-labelUse advertise-label to configure a label advertisement policy.

    Use undo advertise-label to restore the default.

    Syntax

    advertise-label ip-prefix ip-prefix-name[ peerpeer-ip-prefix-name]

    undo advertise-label ip-prefix ip-prefix-name

    Default

    An LSR does not filter label bindings to be advertised.

    Views

    MPLS LDP view, MPLS LDP VPN instance viewDefault command level

    2: System level

    Parameters

    ip-prefix ip-prefix-name: Specifies an IP prefix list to be used for filtering the label bindings to beadvertised. The ip-prefix-nameargument is the name of the IP prefix list, a string of 1 to 19 characters.

    peerpeer-ip-prefix-name: Specifies a list of LDP peers. The peer-ip-prefix-nameargument is the IP prefixlist name, a string of 1 to 19 characters. If you do not specify the LDP peer list, the label advertisementpolicy is for all LDP peers.

    Usage guidelinesWhen advertising label bindings to peers, an LSR follows these rules:

    If the IP prefix of a label binding to be advertised fails the IP prefix checking, the LSR does notadvertise the label binding to any peer.

    If the IP prefix of a label binding to be advertised passes the IP prefix checking and the peer list isnot specified, the LSR will advertise the label binding to all peers.

    If the IP prefix of a label binding to be advertised passes the IP prefix checking and a peer list isspecified, the LSR will advertise the label binding to the peers that pass the peer list checking.

    If the IP prefix of a label binding to be advertised passes the checking of more than one IP prefix lists(which are specified by executing the advertise-label command for multiple times), the LSR will

    advertise the label binding based on the configuration by the first advertise-label command.

    Examples

    # Configure label advertisement control policies so that the device:

    Advertises label bindings for FEC 10.1.1.0/24 to the LDP peer with the LSR ID 3.3.3.9 Advertises label bindings for FEC 10.2.1.0/24 to the LDP peer with the LSR ID 4.4.4.9. Does not advertise label bindings of other subnets to any peers. syst em- vi ew

    [ Sysname] i p i p- pr ef i x pr ef i x- t o- C per mi t 10. 1. 1. 0 24

    [ Sysname] i p i p- pr ef i x pr ef i x- t o- D per mi t 10. 2. 1. 0 24

  • 7/29/2019 09 MPLS Command Reference Book[1]

    16/352

    3

    [ Sysname] i p i p- pr ef i x peer- C permi t 3. 3. 3. 9 32

    [ Sysname] i p i p- pr ef i x peer- D permi t 4. 4. 4. 9 32

    [ Sysname] mpl s l dp

    [ Sysname- mpl s- l dp] adver t i se- l abel i p- pr ef i x pr ef i x- t o- C peer peer - C

    [ Sysname- mpl s- l dp] adver t i se- l abel i p- pr ef i x pr ef i x- t o- D peer peer - D

    Related commandsip ip-prefix (Layer 3IP Routing Command Reference)

    display mpls fast-forwarding cacheUse display mpls fast-forwarding cache to display information about MPLS fast forwarding entries.

    Syntax

    display mpls fast-forwarding cache [verbose ] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    verbose: Displays detailed information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display information about MPLS fast forwarding entries.

    di spl ay mpl s f ast - f orwardi ng cache

    Fast - For wardi ng Cache: t otal 2 i t ems

    Label I nput _I f Out put _I f Len Fl g Used

    1044 GE0/ 0 Et h1/ 1 4 I P 83

    1049 Et h1/ 1 GE0/ 0 8 MPLS 81

    # Display detailed information about MPLS fast forwarding entries.

    di spl ay mpl s f ast - f orwardi ng cache ver bose

    Fast - For wardi ng Cache: t otal 2 i t ems

    Label I nput _I f Out put _I f Len Fl g Used

    1044 GE0/ 0 Et h1/ 1 4 I P 15

    Fast - Forwardi ng Cache Pr eI pHead:

    FF 03 00 21

    1049 Et h1/ 1 GE0/ 0 8 MPLS 13

    Fast - Forwardi ng Cache Pr eMpl sHead:

    FF 03 02 81 00 46 40 FE

  • 7/29/2019 09 MPLS Command Reference Book[1]

    17/352

    4

    Table 1Command outputField Description

    Label Label used as the index of the fast forwarding entry.

    Input_If Incoming interface.

    Output_If Outgoing interface.

    Len Length of the pre-header, in bytes.

    FlgFlag for indicating the packet type. It can be IP, MPLS,or L2VPN.

    Used Number of times the entry has been used.

    Fast-Forwarding Cache PreIIpHead Content of the pre-header when the Flg field is IP.

    Fast-Forwarding Cache PreMPLSHead Content of the pre-header when the Flg field is MPLS..

    NOTE:

    A pre-header is the content prefixed to a packet according to the matched entry in the fast forwarding cache. It

    varies depending on the type of the outgoing packet:

    For an IP packet, the pre-header is a link layer header. For an MPLS packet, the pre-header consists of a link layer header and a label stack. An L2VPN packet is directly forwarded out of the outgoing interface. No pre-header is prefixed to the packet.

    display mpls ilmUse displaympls ilm to display information about ILM entries.

    Syntax

    display mpls ilm [label] [verbose ] [ | { begin | exclude | include } regular-expression ]Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    label: Specifies an incoming label in the range of 16 to 4294967295.

    verbose: Displays the detailed information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    With no incoming label specified, the command displays information about all ILM entries.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    18/352

    5

    Examples

    # Display the ILM entry with a specific incoming label.

    di spl ay mpl s i l m 60

    I nl abel I n- I nter f ace Token VRF- I ndex Oper LSP- Type Swap- Label

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

    60 Et h1/ 1 1 0 NULL STATI C LSP -

    # Display all ILM entries.

    di spl ay mpl s i l m

    Tot al I LM Entr y: 2

    I nl abel I n- I nter f ace Token VRF- I ndex Oper LSP- Type Swap- Label

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

    60 Et h1/ 1 1 0 NULL STATI C LSP -

    80 Et h1/ 2 2 0 NULL STATI C LSP -

    Table 2Command outputField Description

    Total ILM Entry Total number of ILM entries.

    Inlabel Incoming label.

    In-Interface Incoming interface.

    Token NHLFE entry index.

    Oper Operation type: POP, POPGO, SWAPGO, or NULL.

    LSP-TypeLSP type: LDP LSP, CR-LDP, RSVP LSP, BGP LSP, L3VPNLSP, STATIC LSP, STATIC CR-LSP, L2VPN LSP, or BGPIPv6 LSP.

    Swap-Label Label for swapping.

    # Display the detailed information of all ILM entries.

    di spl ay mpl s i l m verbose

    Tot al I LM Entr y: 2

    **I n Label : 60

    LSP Type : STATI C LSP

    I n I nt erf ace : Et h1/ 1

    VRF I ndex : 0

    Oper at i on : NULL

    Swap Label : -

    Out I nt erf ace : -

    St at us : MAI N

    Cr eat e Ti me : 07: 55: 06: 921

    Last Change Ti me : 07: 55: 06: 921

    Tunnel I D : 0xc0001( Done)

    Gr Count : 0

    **I n Label : 80

    LSP Type : STATI C LSP

  • 7/29/2019 09 MPLS Command Reference Book[1]

    19/352

    6

    I n I nt erf ace : Et h1/ 2

    VRF I ndex : 0

    Oper at i on : NULL

    Swap Label : -

    Out I nt erf ace : -

    St at us : MAI N

    Cr eat e Ti me : 07: 57: 26: 927

    Last Change Ti me : 07: 57: 26: 927

    Tunnel I D : 0xc0002( Done)

    Gr Count : 0

    Ser vi ce : St at i st i cs( Succeeded)

    Table 3Command outputField Description

    In Label Incoming label.

    LSP Type

    LSP type: LDP LSP, CR-LDP, RSVP LSP, BGP LSP, L3VPN LSP, STATIC

    LSP, STATIC CR-LSP, L2VPN LSP, or BGP IPv6 LSP.

    In Interface Incoming interface.

    Operation Operation type: POP, POPGO, SWAPGO, or NULL.

    Swap Label Label for swapping.

    Out Interface Outgoing interface.

    Service Instance ID L2VPN service instance ID.

    Status

    Tunnel status:

    MAINMain tunnel. BACKUPBackup tunnel. The BACKUP status is displayed only

    when the tunnel is the backup tunnel in a 1+1 tunnel protectiongroup.

    Create Time Time when the entry was created.

    Last Change Time Time of the last update of the entry.

    Tunnel IDPublic tunnel ID and entry status (Done or Waiting).

    GrCountNumber of times that GR occurs.

    ServiceService type and status. The service type is Statistics and the servicestatus can be Succeeded (service has been enabled successfully) orFailed (service failed to be enabled).

    display mpls interfaceUse display mpls interface to display information about one or all MPLS-enabled interfaces.

    Syntax

    display mpls interface [ interface-typeinterface-number ] [verbose ] [ | { begin | exclude | include }regular-expression ]

    Views

    Any view

  • 7/29/2019 09 MPLS Command Reference Book[1]

    20/352

    7

    Default command level

    1: Monitor level

    Parameters

    interface-type interface-number: Specifies an interface by its type and number. Without this argument,the command displays information about all MPLS-enabled interfaces.

    verbose: Displays detailed information. Without this keyword, the command displays brief information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display brief information about all MPLS-enabled interfaces.

    di spl ay mpl s i nter f ace

    I nter f ace Status TE At t r LSP Count CRLSP Count

    Eth1/ 1 Up Di s 2 0

    Eth1/ 2 Up Di s 2 0

    # Display detailed information about the MPLS-enabled interface Ethernet 1/1.

    di spl ay mpl s i nter f ace ether net 1/ 1 verbose

    No : 1

    I nt erf ace : Et h1/ 1

    St atus : Up

    TE Att r i bute : Di sabl e

    LSPCount : 2

    CR- LSPCount : 0

    FRR : Di sabl ed

    Table 4Command outputField Description

    TE Attr/TE Attribute Indicates whether TE is enabled on the interface.

    LSP Count/LSPCount Number of LSPs on the interface.

    CR-LSP Count/CR-LSPCount Number of CR-LSPs on the interface.

    FRR

    Indicates whether FRR is enabled on the interface. If FRR is enabled, theoutput will also include the bound tunnels.

    For information about FRR, see MPLS Configuration Guide.

    Related commands

    display mpls statistics interface mpls

  • 7/29/2019 09 MPLS Command Reference Book[1]

    21/352

    8

    display mpls labelUse display mpls label to display usage information about specified labels or all labels.

    Syntax

    display mpls label { label-value1 [ to label-value2 ] | all } [ | { begin | exclude | include }

    regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    label-value1: Specifies a label, or, when used with the label-value2argument, the start label of a rangeof labels. The label value is in the range of 16 to 16204799.

    to label-value2: Specifies the end label of a range of labels, in the range of 16 to 204799.all: Specifies all labels.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples# Display information about labels 900 to 1500.

    di spl ay mpl s l abel 900 t o 1500

    Label al l oc st ate: ' . ' means not used, ' $' means used

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - St at i c Label - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    900: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    964: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Dynami c Label - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    1024: . . . $. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1088: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1152: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1216: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1280: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1344: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1408: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    1472: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

    display mpls ldpUse display mpls ldp to display information about LDP.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    22/352

    9

    Syntax

    display mpls ldp [ all[verbose ] ] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level1: Monitor level

    Parameters

    all: Displays all information about LDP.

    verbose: Displays detailed information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    If you do not specify any parameter, the command will display all information about LDP in detail.

    Examples

    # Display all information about LDP in detail.

    di spl ay mpl s l dp al l verbose

    LDP Gl obal I nf ormat i on

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -Prot ocol Vers i on : V1 Nei ghbor Li veness : 60 Sec

    Gr acef ul Rest art : Of f FT Reconnect Ti mer : 60 Sec

    MTU Si gnal i ng : Of f Recovery Ti mer : 60 Sec

    Nonst op Rout i ng : On

    LDP I nst ance I nf or mati on

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

    I nst ance I D : 0 VPN- I nst ance :

    I nst ance St at us : Act i ve LSR I D : 1. 1. 1. 1

    Hop Count Li mi t : 32 Pat h Vector Li mi t : 32

    Loop Detect i on : Of f

    DU Re- advert i se Ti mer : 30 Sec DU Re- advert i se Fl ag : On

    DU Expl i ci t Request : Of f Request Retr y Fl ag : On

    Label Di st r i but i on Mode: Or der ed Label Retent i on Mode : Li beral

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

    Table 5Command outputField Description

    Protocol Version Version of the LDP protocol.

    Neighbor Liveness Setting of the GR neighbor liveness timer.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    23/352

    10

    Field Description

    Graceful Restart Indicates whether GR is enabled.

    FT Reconnect Timer Setting of the GR's FT reconnect timer.

    MTU SignalingIndicates whether MTU signaling is supported. The devicedoes not support MTU signaling.

    Recovery Timer Setting of the GR's recovery timer.

    Nonstop Routing

    State of LDP NSR:

    OnLDP NSR is enabled but the data backup is notfinished yet.

    OffLDP NSR is disabled. ReadyLDP NSR is enabled and data backup is finished.

    Instance ID Sequence number of the LDP instance.

    VPN-InstanceInstance name of the LDP-enabled VPN. For the default VPN,nothing is displayed.

    Hop Count Limit Maximum hop count for loop detection.

    Path Vector Limit Maximum path vector length.

    Loop Detection Indicates whether loop detection is enabled.

    DU Re-advertise Timer Label re-advertisement interval for DU mode.

    DU Re-advertise FlagIndicates whether label re-advertisement is enabled for DUmode.

    DU Explicit RequestIndicates whether explicit request transmission is enabled forDU mode.

    Request Retry Flag Indicates whether request retransmission is enabled.

    Label Distribution ModeLabel distribution control mode of the instance: Ordered orIndependent.

    Label Retention ModeLabel retention mode used by the instance. The device onlysupports the Liberal mode.

    Related commands

    mpls ldp (interface view) mpls ldp (system view)

    display mpls ldp cr-lspUse display mpls ldp cr-lsp to display information about CR-LSPs established by CR-LDP.

    Syntax

    display mpls ldp cr-lsp [ lspidlsr-id lsp-id] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

  • 7/29/2019 09 MPLS Command Reference Book[1]

    24/352

    11

    Parameters

    lspidlsr-id lsp-id: Displays information about the specified CR-LSP. The lsr-idargument is the LSR ID of theingress, in the form of IP address. The lsp-idargument is the local LSP ID of the ingress, in the range of0 to 65535.

    |: Filters command output by specifying a regular expression. For more information about regular

    expressions, see Fundamentals Configuration Guide.begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display information about CR-LSPs established by CR-LDP.

    di spl ay mpl s l dp cr - l sp

    Di spl ayi ng Al l LDP CR- LSP(s ) f or publ i c network

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

    CR- LSP I D DestAddr ess/ Mask I n/ Out Label I n/ Out - I nt erf ace

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

    1. 1. 1. 9: 0 2. 2. 2. 9/ 32 NULL/ 1027 - - - - - - - / S2/ 0

    2. 2. 2. 9: 0 1. 1. 1. 9/ 32 1027/ NULL S2/ 0/ - - - - - - -

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

    The Tot al LDP CR- LSP( s) : 2

    Related commands

    display mpls lsp

    display mpls ldp fecUse display mpls ldp fec to display the label advertisement information of a specific FEC.

    Syntax

    display mpls ldp fec [vpn-instancevpn-instance-name] dest-addr mask-length [ | { begin | exclude |include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    vpn-instance vpn-instance-name: Displays the label advertisement information of the specified VPN. Thevpn-instance-nameargument specifiesthe instance name of an MPLS L3VPN, a case-sensitive string of 1to 31 characters.

    dest-addr mask-length: Displays the label advertisement information of a FEC. dest-addrspecifies theFEC destination address. mask-length is the mask length of the destination address, in the range of 0 to32.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    25/352

    12

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display the label advertisement information of FEC 3.3.3.9/32.

    di spl ay mpl s l dp f ec 3. 3. 3. 9 32

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

    LDP FEC I nf ormat i on

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

    Label Adver t i sement Pol i cy:

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

    FEC I P- pref i x : pref i x- f rom- rt 1Peer I P- pref i x : peer- t o- rt 2

    Upst r eam I nf o:

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

    No. : 1

    Upst r eam peer : 3. 3. 3. 9

    St al e : No

    Label Request I D : NULL

    Label Space I D : 0

    FEC Type : Gener i c

    I ncomi ng Label : 1066

    St ate : Rel ease_Awai t ed ( Agi ng)

    Hop Count : 1

    Pat h Vector Count : 0

    Pat h Vect or : NULL

    Downst r eam I nf o:

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

    No. : 1

    Downst r eam Peer : 2. 2. 2. 9

    St al e : No

    Label Request I D : NULL

    Label Type : Generi c

    Outgoi ng Label : 1036

    St at e : Est abl i shed

    Hop Count : 2

    Pat h Vector Count : 1

    Pat h Vect or : 2. 2. 2. 9

    Recei ved MTU : 1500

    Out I f Count : 2

    Out Goi ng I nf o : I nt er f ace Next hop

    Vl an200 21. 21. 21. 2

  • 7/29/2019 09 MPLS Command Reference Book[1]

    26/352

    13

    Vl an100 12. 12. 12. 2

    No. : 2

    Downst r eam Peer : 4. 4. 4. 4

    St al e : No

    Label Request I D : NULL

    Label Type : Generi c

    Outgoi ng Label : 1025

    St at e : Est abl i shed

    Backup State : Not i n use

    Hop Count : 2

    Pat h Vector Count : 1

    Pat h Vect or : 4. 4. 4. 4

    Recei ved MTU : 65535

    Out I f Count : 1

    Out Goi ng I nf o : I nt er f ace Next hop

    Vl an300 24. 1. 1. 2

    Table 6Command outputField Description

    Label Advertisement Policy Information about the label advertisement policy.

    FEC IP-prefix IP prefix list for checking FEC destination addresses.

    Peer IP-prefix IP prefix list for checking LSR IDs of LDP peers.

    Stale Indicates whether the device is in GR process.

    Label Space ID 0 indicates that the entire LSR uses one label space.

    Label Type Label type, including Generic,ATM, and FR. The device supports Genericonly.

    State

    Current state:

    EstablishedActive state. IDLEInactive state. Release_AwaitedWaiting to a Release message. Established (Sending Mapping)Sending the mapping message. Established (Delay to withdraw)Delay to withdraw the incoming label. IDLE (Sending Release)Sending the release message. Release_Awaited (Sending Withdraw)Sending the withdraw message. Release_Awaited (Aging)Aging the label.

    Path Vector Count Number of LSRs included in the path vector.

    OutIfCount Number of outbound interfaces.

    Interface Outbound interface.

    Backup State

    State of the backup LSP:

    Not in use. In use.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    27/352

    14

    display mpls ldp interfaceUse display mpls ldp interface to display the LDP related information of one or more LDP-enabledinterfaces.

    Syntax

    display mpls ldp interface [ all [ verbose ] | [ vpn-instance vpn-instance-name ] [ interface-typeinterface-number|verbose ] ] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    all: Displays all information.

    verbose: Displays detailed information.vpn-instance vpn-instance-name: Displays the LDP related information of the specified VPN. Thevpn-instance-nameargument specifies the instance name of an MPLS L3VPN, a case-sensitive string of 1to 31 characters.

    interface-type interface-number: Display the LDP information of an interface.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    If you do not specify any parameter, the command will display the brief LDP information of allLDP-enabled interfaces.

    Examples

    # Display the brief LDP information of all LDP-enabled interfaces.

    di spl ay mpl s l dp i nter f ace

    LDP I nt erf ace I nf or mati on i n Publ i c Net work

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

    I F- Name St at us LAM Tr anspor t - Addr ess Hel l o- Sent / Rcv

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

    Ether net 1/ 1 Act i ve DU 172. 17. 1. 1 583/ 1017

    Ether net 1/ 2 Act i ve DU 172. 17. 1. 1 578/ 1015

    Seri al 2/ 0 Act i ve DU 172. 17. 1. 1 531/ 444

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

    LAM: Label Adver t i sement Mode I F- Name: I nter f ace name

    # Display the detailed LDP information of all LDP-enabled interfaces.

    di spl ay mpl s l dp i nter f ace verbose

  • 7/29/2019 09 MPLS Command Reference Book[1]

    28/352

    15

    LDP I nt erf ace I nf or mati on i n Publ i c Net work

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

    I nterf ace Name : Ethernet 1/ 1

    LDP I D : 172. 17. 1. 1: 0 Transport Addr ess : 172. 17. 1. 1

    Ent i t y St at us : Act i ve I nt erf ace MTU : 1500

    Conf i gur ed Hel l o Ti mer : 15 Sec

    Negot i ated Hel l o Ti mer : 15 Sec

    Conf i gur ed Keepal i ve Ti mer : 45 Sec

    Label Advert i sement Mode : Downst r eam Unsol i ci t ed

    Hel l o Message Sent / Rcvd : 591/ 1033 ( Message Count )

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

    I nterf ace Name : Ethernet 1/ 2

    LDP I D : 172. 17. 1. 1: 0 Transport Addr ess : 172. 17. 1. 1

    Ent i t y St at us : Act i ve I nt erf ace MTU : 1500

    Conf i gur ed Hel l o Ti mer : 15 Sec

    Negot i ated Hel l o Ti mer : 15 SecConf i gur ed Keepal i ve Ti mer : 45 Sec

    Label Advert i sement Mode : Downst r eam Unsol i ci t ed

    Hel l o Message Sent / Rcvd : 586/ 1031 ( Message Count )

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

    I nt er f ace Name : Ser i al 2/ 0

    LDP I D : 172. 17. 1. 1: 0 Transport Addr ess : 172. 17. 1. 1

    Ent i t y St at us : Act i ve I nt erf ace MTU : 1500

    Conf i gur ed Hel l o Ti mer : 15 Sec

    Negot i ated Hel l o Ti mer : 15 Sec

    Conf i gur ed Keepal i ve Ti mer : 45 Sec

    Label Advert i sement Mode : Downst r eam Unsol i ci t ed

    Hel l o Message Sent / Rcvd : 539/ 452 ( Message Count )

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

    Table 7Command outputField Description

    LDP ID

    LDP identifier. It identifies the label space of an LSR.

    An LDP ID consists of the LSR ID and label space ID. Now, thelabel space ID can only be 0, which indicates that the entire LSRuses one label space.

    Transport Address LDP transport address. The device uses this address to establisha TCP connection with an LDP peer.

    Entity Status Entity status, Active or Inactive.

    Hello Message Sent/Rcvd Counts of hello messages sent/received on the interface.

    Related commands

    mpls ldp (interface view) mpls ldp (system view)

  • 7/29/2019 09 MPLS Command Reference Book[1]

    29/352

    16

    display mpls ldp lspUse display mpls ldp lsp to display information about LSPs established by LDP.

    Syntax

    display mpls ldp lsp [ all | [vpn-instancevpn-instance-name] [ destination-addressmask-length ] ] [ |

    { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    all: Specifies all LSPs established by LDP.

    vpn-instance vpn-instance-name: Displays the LSP information of the specified VPN. The

    vpn-instance-nameargument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31characters.

    dest-addr mask-length: Displays the LSP information of a FEC. The dest-addrargument is the FECdestination address. mask-length is the mask length of the destination address, in the range of 0 to 32.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    If you do not specify any parameter, the command will display information about all LSPs established byLDP.

    Examples

    # Display information about all LSPs established by LDP.

    di spl ay mpl s l dp l sp

    LDP LSP I nf ormat i on

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

    SN Dest Address/ Mask I n/ OutLabel Next - Hop I n/ Out - I nter f ace

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

    1 3. 3. 3. 3/ 32 3/ NULL 127. 0. 0. 1 - - - - - - - / I nLoop0

    2 10. 1. 1. 0/ 24 3/ NULL 10. 1. 1. 1 - - - - - - - / Et h1/ 1

    *3 100. 1. 1. 1/ 32 Li beral ( 1025)

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

    A ' *' bef ore an LSP means the LSP i s not est abl i shed

    A ' *' bef ore a Label means t he USCB or DSCB i s st al e

    A ' *' bef ore a Dest Addr ess means backup LSPs f or t he FEC exi st

  • 7/29/2019 09 MPLS Command Reference Book[1]

    30/352

    17

    Table 8Command outputField Description

    In/OutLabelIncoming/outgoing label. An asterisk (*) before a label means that the LSP is inprocess of GR. Liberal(number) means that the LSP is unavailable and the labelvalue is number.

    Related commands

    display mpls ldp

    display mpls ldp peerUse display mpls ldp peerto display information about specified peers or all peers.

    Syntax

    display mpls ldp peer[ all [verbose ] | [vpn-instancevpn-instance-name] [ peer-id|verbose ] ] [ |{ begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    all: Display information about all peers.

    verbose: Displays detailed information.

    vpn-instance vpn-instance-name: Displays information about all peers on the specified VPN. Thevpn-instance-nameargument specifies the instance name of an MPLS L3VPN, a case-sensitive string of 1to 31 characters.

    peer-id: Displays information about a peer. peer-idis the LSR ID of the peer.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.Examples

    # Display brief information about all peers.

    di spl ay mpl s l dp peer

    LDP Peer I nf ormat i on i n Publ i c network

    Tot al number of peers: 3

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

    Peer- I D Tr anspor t - Addr ess Di scover y- Sour ce

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

    172. 17. 1. 2: 0 172. 17. 1. 2 Et hernet 1/ 1

  • 7/29/2019 09 MPLS Command Reference Book[1]

    31/352

    18

    168. 1. 1. 1: 0 168. 1. 1. 1 Et her net 1/ 1

    100. 10. 1. 1: 0 100. 10. 1. 1 Ser i al 2/ 0

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

    Table 9Command outputField Description

    Peer-IDLDP identifier of the peer. For a description of the LDP identifier,see the LDP ID field in Table 7.

    Discovery-Source Interface that discovers the peer.

    # Display detailed information about all peers.

    di spl ay mpl s l dp peer ver bose

    LDP Peer I nf ormat i on i n Publ i c network

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

    Peer LDP I D : 172. 17. 1. 2: 0

    Peer Max PDU Length : 4096 Peer Transport Addr ess : 172. 17. 1. 2

    Peer Loop Detect i on : Of f Peer Pat h Vect or Li mi t : 0

    Peer FT Fl ag : Of f Peer Keepal i ve Ti mer : 45 Sec

    Recover y Ti mer : - - - - Reconnect Ti mer : - - - -

    Peer Label Adver t i sement Mode : Downst r eam Unsol i ci t ed

    Peer Di scover y Sour ce : Et her net 1/ 1

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

    Peer LDP I D : 168. 1. 1. 1: 0

    Peer Max PDU Length : 4096 Peer Transport Addr ess : 168. 1. 1. 1

    Peer Loop Detect i on : Of f Peer Pat h Vect or Li mi t : 0

    Peer FT Fl ag : Of f Peer Keepal i ve Ti mer : 45 SecRecover y Ti mer : - - - - Reconnect Ti mer : - - - -

    Peer Label Adver t i sement Mode : Downst r eam Unsol i ci t ed

    Peer Di scover y Sour ce : Et her net 1/ 2

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

    Peer LDP I D : 100. 10. 1. 1: 0

    Peer Max PDU Length : 4096 Peer Transport Addr ess : 100. 10. 1. 1

    Peer Loop Detect i on : Of f Peer Pat h Vect or Li mi t : 0

    Peer FT Fl ag : Of f Peer Keepal i ve Ti mer : 45 Sec

    Recover y Ti mer : - - - - Reconnect Ti mer : - - - -

    Peer Label Adver t i sement Mode : Downst r eam Unsol i ci t ed

    Peer Di scover y Sour ce : Seri al 2/ 0

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

    Table 10Command outputField Description

    Peer LDP IDLDP identifier of the peer. For a description of the LDP identifier,see the LDP ID field in Table 7.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    32/352

    19

    Field Description

    Peer FT FlagIndicates whether the peer has enabled the GR function for thesession. If the L bit in the FT Session TLV is set to 1, it indicatesthat the GR function is enabled for the session.

    Peer Discovery Source Interface that discovers the peer.

    Related commands

    mpls ldp(interface view) mpls ldp(system view)

    display mpls ldp remote-peerUse display mpls ldp remote-peerto display information about remote LDP peers.

    Syntax

    display mpls ldp remote-peer [ remote-nameremote-peer-name ] [ | { begin | exclude | include }regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    remote-name remote-peer-name: Displays information about a remote peer. remote-peer-nameindicatesthe name of the remote peer, a case-insensitive string of 1 to 32 characters.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display information about remote peer BJI.

    di spl ay mpl s l dp r emot e- peer r emot e- name BJ I

    LDP Remote Ent i t y I nf ormat i on

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

    Remot e Peer Name : BJ I

    Remot e Peer I P : 3. 3. 3. 3 LDP I D : 1. 1. 1. 1: 0

    Transpor t Address : 1. 1. 1. 1

    Conf i gur ed Keepal i ve Ti mer : 45 Sec

    Conf i gur ed Hel l o Ti mer : 45 Sec

    Negot i ated Hel l o Ti mer : 45 Sec

  • 7/29/2019 09 MPLS Command Reference Book[1]

    33/352

    20

    Hel l o Message Sent / Rcvd : 3/ 2 ( Message Count)

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

    Table 11Command outputField Description

    LDP ID Local LDP identifier. For a description of the LDP identifier, see the LDPID field in Table 7.

    Transport AddressLocal LDP transport address used to establish a TCP connection withthis remote peer.

    Hello Message Sent/Rcvd Counts of hello messages sent to/received from this remote peer.

    Related commands

    mpls ldp (interface view) mpls ldp (system view) remote-ip

    display mpls ldp sessionUse display mpls ldp session to display information about LDP sessions.

    Syntax

    display mpls ldp session [ all [verbose ] | [vpn-instancevpn-instance-name] [ peer-id|verbose ] ] [ |{ begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level1: Monitor level

    Parameters

    all: Displays all information.

    verbose: Displays detailed information.

    vpn-instance vpn-instance-name: Displays information about all LDP sessions of the specified VPN. Thevpn-instance-nameargument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31characters.

    peer-id: Displays the LDP session information of a peer. The peer-idargument indicates the LSR ID of thepeer.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    34/352

    21

    Usage guidelines

    If you do not specify any parameter, the command displays information about all public network LDPsessions.

    Examples

    # Display information about all public network LDP sessions.

    di spl ay mpl s l dp sess i on

    LDP Sessi on( s) i n Publ i c Networ k

    Tot al number of sessi ons: 1

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

    Peer- I D Status LAM SsnRol e FT MD5 KA- Sent / Rcv

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

    1. 1. 1. 1: 0 Oper at i onal DU Act i ve Of f Of f 4582/ 4582

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

    LAM : Label Advert i sement Mode FT : Faul t Tol erance

    Table 12Command outputField Description

    Peer-IDLDP identifier of the peer. For a description of the LDP identifier, see the LDPID field in Table 7.

    Status

    Session status:

    Non ExistentThe TCP connection is not established yet. InitializedThe TCP connection is established. Open-ReceivedReceived an acceptable initialization message. Open-SentSent an initialization message. OperationalThe LDP session is established.

    SsnRole Role of the current LSR in the session, Active or Passive.

    FTIndicates whether the peer has enabled the GR function for the session. Ifthe L bit in the FT Session TLV is set to 1, it indicates that the GR function isenabled for the session.

    KA-Sent/Rcv Counts of Keepalive messages sent by/received on the local LSR.

    # Display detailed information about all public network LDP sessions.

    di spl ay mpl s l dp sess i on verbose

    LDP Sessi on( s) i n Publ i c Net wor k

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

    Peer LDP I D : 1. 1. 1. 1: 0 Local LDP I D : 3. 3. 3. 3: 0TCP Connect i on : 3. 3. 3. 3 - > 1. 1. 1. 1

    Sessi on St at e : Oper at i onal Sessi on Rol e : Act i ve

    Sessi on FT Fl ag : Of f MD5 Fl ag : Of f

    Reconnect Ti mer : - - - Recovery Ti mer : - - -

    Negot i ated Keepal i ve Ti mer : 45 Sec

    Keepal i ve Message Sent / Rcvd : 6/ 6 ( Message Count)

    Label Advert i sement Mode : Downst r eam Unsol i ci t ed

    Label Resour ce St at us( Peer / Local ) : Avai l abl e/ Avai l abl e

    Peer Di scovery Mechani sm : Extended

  • 7/29/2019 09 MPLS Command Reference Book[1]

    35/352

    22

    Sessi on exi st ed t i me : 000: 00: 01 ( DDD: HH: MM)

    LDP Extended Di scover y Source : Remot e peer : 1

    Addr esses r ecei ved f r om peer : ( Count : 2)

    10. 1. 1. 1 1. 1. 1. 1

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

    Peer LDP I D : 2. 2. 2. 2: 0 Local LDP I D : 3. 3. 3. 3: 0

    TCP Connect i on : 3. 3. 3. 3 - > 2. 2. 2. 2

    Sessi on St at e : Oper at i onal Sessi on Rol e : Act i ve

    Sessi on FT Fl ag : Of f MD5 Fl ag : Of f

    Reconnect Ti mer : - - - Recovery Ti mer : - - -

    Negot i ated Keepal i ve Ti mer : 45 Sec

    Keepal i ve Message Sent / Rcvd : 25/ 25 ( Message Count )

    Label Advert i sement Mode : Downst r eam Unsol i ci t ed

    Label Resour ce St at us( Peer / Local ) : Avai l abl e/ Avai l abl ePeer Di scover y Mechani sm : Basi c

    Sessi on exi st ed t i me : 000: 00: 06 ( DDD: HH: MM)

    LDP Basi c Di scovery Source : Ethernet1/ 1

    Label Accept ance Pol i cy : pr ef i x- f r om- r t 1

    Addr esses r ecei ved f r om peer : ( Count : 3)

    10. 1. 1. 2 20. 1. 1. 1 2. 2. 2. 2

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

    Table 13Command outputField Description

    Peer LDP IDLDP identifier of the peer. For a description of the LDP identifier, seethe LDP ID field in Table 7.

    Local LDP IDLocal LDP identifier. For a description of the LDP identifier, see the LDPID field in Table 7.

    Session State For the description of session states, see the Status field in Table 7.

    Session Role Role of the current LSR in the session, Active or Passive.

    Session FT FlagIndicates whether the peer has enabled the GR function for thesession. If the L bit in the FT Session TLV is set to 1, it indicates that theGR function is enabled for the session.

    MD5 Flag Indicates whether MD5 authentication is enabled on the peer.

    Reconnect Timer FT reconnect timer.

    Recovery Timer LDP recovery timer.

    Label Resource Status(Peer/Local) Indicates whether the local and peer devices have free labels.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    36/352

    23

    Field Description

    Peer Discovery Mechanism

    Peer discovery mechanism:

    BasicUses the basic discovery mechanism to discover peers. ExtendedUses the extended discovery mechanism to discover

    peers.

    Basic and extendedUses both the basic and extendeddiscovery mechanisms to discover peers.Session existed time Length of time that elapsed after the session was established.

    LDP Basic Discovery Source Interface where the session is established. The value is the name ofthe interface for basic discovery and name of the remote peer forextended discovery..LDP Extended Discovery Source

    Related commands

    mpls ldp(interface view) mpls ldp(system view)

    display mpls ldp session all statisticsUse display mpls ldp session allstatistics to display statistics about all LDP sessions.

    Syntax

    display mpls ldp sessionallstatistics [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display statistics about all LDP sessions.

    di spl ay mpl s l dp sessi on al l st ati st i cs

    Tot al number of sessi ons : 1024

    Sessi on( s) i n Non- Exi st ent st at e : 100

    Sessi on( s) i n I ni t i al i zed state : 200

    Sessi on( s) i n Open- Recei ved st at e : 400

    Sessi on( s) i n Open- Sent st ate : 300

    Sessi on( s) i n Oper at i onal st at e : 24

  • 7/29/2019 09 MPLS Command Reference Book[1]

    37/352

    24

    display mpls lspUse display mpls lsp to display information about LSPs.

    Syntax

    display mpls lsp [ incoming-interface interface-type interface-number ] [ outgoing-interface

    interface-type interface-number ] [ in-label in-label-value ] [ out-label out-label-value ] [ asbr |[ vpn-instancevpn-instance-name] [ protocol { bgp | bgp-ipv6 | crldp | ldp | rsvp-te | static |static-cr } ] ] [ egress | ingress | transit ] [ { exclude | include } { ipv4-dest-addr mask-length |ipv6-dest-addr prefix-length }] [verbose ] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    incoming-interface interface-type interface-number: Displays information about the LSPs using thespecified interface as the incoming interface.

    outgoing-interface interface-type interface-number: Displays information about the LSPs using thespecified interface as the outgoing interface.

    in-labelin-label-value: Displays information about the LSPs using the specified label as the incominglabel. The value of the incoming label ranges from 0 to 1048575.

    out-labelout-label-value: Displays information about the LSPs using the specified label as the outgoinglabel. The value of the outgoing label ranges from 0 to 1048575.

    asbr: Displays information about the LSPs established by ASBRs.

    vpn-instance vpn-instance-name: Displays information about the LSPs on the specified VPN. Thevpn-instance-nameargument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31characters.

    protocol: Displays information about the LSPs established by a specific protocol.

    bgp: Displays information about BGP LSPs.

    bgp-ipv6: Displays information about IPv6 BGP LSPs (BGP4+ LSPs).

    crldp: Displays information about CR-LSPs established by CR-LDP.

    ldp: Displays information about LDP LSPs.

    rsvp-te: Displays information about CR-LSPs established by RSVP-TE.static: Displays information about static LSPs.

    static-cr: Displays information about static CR-LSPs.

    egress: Displays information about the LSPs taking the current LSR as the egress.

    ingress: Displays information about the LSPs taking the current LSR as the ingress.

    transit: Displays information about the LSPs taking the current LSR as a transit LSR.

    exclude: Displays information about the LSPs other than the one for the specified FEC.

    include: Displays information about the LSP for the specified FEC.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    38/352

    25

    ipv4-dest-addr mask-length: Specifies a FEC by an IPv4 destination address and the mask length of thedestination address. The mask length ranges from 0 to 32.

    Ipv6-dest-addr mask-length: Specifies a FEC by its IPv6 destination address and the length of the mask.The mask length ranges from 0 to 128.

    verbose: Displays detailed information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    With no parameters specified, the command displays information about all LSPs.

    Examples

    # Display information about all LSPs.

    di spl ay mpl s l sp

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

    LSP I nf ormat i on: L3VPN LSP

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

    FEC I n/ Out Label I n/ Out I F Rout e- Di st i ngui sher Vr f Name

    100. 1. 1. 1 1025/ 1024 - / - 100: 1 N/ A ( ASBR)

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

    LSP I nf ormat i on: LDP LSP

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

    FEC I n/ Out Label I n/ Out I F Vr f Name

    100. 10. 1. 0/ 24 3/ NULL - / -

    100. 10. 1. 0/ 24 3/ NULL - / -

    168. 1. 0. 0/ 16 3/ NULL - / -

    172. 17. 0. 0/ 16 3/ NULL - / -

    Table 14Command outputField Description

    FEC

    Forwarding equivalence class in either of these two forms:

    IP address/maskClassifies packets to FECs based on destinationaddresses.

    IP addressClassifies packets to FECs based on the addresses of the nexthops.

    Vrf NameMPLS L3VPN name.

    This field displays nothing for a public network or N/A (ASBR) for an ASBR LSP.

    # Display detailed information about all LSPs.

    di spl ay mpl s l sp ver bose

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

    LSP I nf ormat i on: BGP LSP

  • 7/29/2019 09 MPLS Command Reference Book[1]

    39/352

    26

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

    No. : 4

    Vrf Name : vpn1

    Fec : 56. 10. 10. 2

    Next hop : - - - - - - -

    I n- Label : 1024

    Out- Label : NULL

    I n- I nt er f ace : - - - - - - - - - -

    Out - I nter f ace : - - - - - - - - - -

    LspI ndex : 5121

    Tunnel I D : 0x0

    Lsr Type : Egr ess

    Outgoi ng Tunnel I D : 0x0

    Label Oper at i on : POP

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

    LSP I nf ormat i on: LDP LSP- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    No. : 1

    Vr f Name :

    Fec : 1. 1. 1. 9/ 32

    Next hop : 127. 0. 0. 1

    I n- Label : 3

    Out - Label : NULL

    I n- I nt er f ace : - - - - - - - - - -

    Out - I nter f ace : - - - - - - - - - -

    LspI ndex : 10241

    Tunnel I D : 0x0

    Lsr Type : Egr ess

    Outgoi ng Tunnel I D : 0x0

    Label Oper at i on : POP

    Backup LSP I ndex : 6154

    Table 15Command outputField Description

    VrfName

    MPLS L3VPN name.

    This field displays nothing for a public network or N/A (ASBR) for an ASBR

    LSP.

    Fec

    Forwarding equivalence class in either of these two forms:

    IP address/maskClassifies packets to FECs based on destinationaddresses.

    IP addressClassifies packets to FECs based on the addresses of the nexthops.

    Tunnel ID Tunnel ID (the public network).

    LsrType Role of the LSR for the LSP: Ingress, Transit, or Egress.

    Outgoing Tunnel ID Tunnel ID (inter-AS VPN).

    Label Operation Label operation performed: POP, PUSH, or SWAP.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    40/352

    27

    Field Description

    Backup LSP Index Index of the backup LSP.

    Related commands

    display mpls lsp display mpls static-lsp display mpls statistics lsp

    display mpls lsp statisticsUse display mpls lsp statistics to display LSP statistics.

    Syntax

    display mpls lsp statistics [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display LSP statistics.

    di spl ay mpl s l sp st at i st i cs

    Lsp Type Tot al I ngr ess Transi t Egr ess

    STATI C LSP 0 0 0 0

    STATI C CRLSP 0 0 0 0

    LDP LSP 8 2 2 4

    CRLDP CRLSP 0 0 0 0

    RSVP CRLSP 0 0 0 0

    BGP LSP 0 0 0 0

    ASBR LSP 0 0 0 0

    BGP I PV6 LSP 0 0 0 0

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

    LSP 8 2 2 4

    CRLSP 0 0 0 0

  • 7/29/2019 09 MPLS Command Reference Book[1]

    41/352

    28

    Table 16Command outputField Description

    Ingress Number of LSPs taking the current LSR as ingress.

    Transit Number of LSPs taking the current LSR as transit LSR.

    Egress Number of LSPs taking the current LSR as egress.

    display mpls nhlfeUse displaympls nhlfe to display information about NHLFE entries.

    Syntax

    display mpls nhlfe [token ] [verbose ] [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    token: Specifies an NHLFE entry index, in the range of 0 to 32767.

    verbose: Displays the detailed information.

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    With the token argument not specified, the command displays information about all NHLFE entries.

    Examples

    # Display information about a specific NHLFE entry.

    di spl ay mpl s nhl f e 2

    Out - I nt er f ace Token Oper Next hop Deep Stack- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    S2/ 0 2 PUSH 88. 1. 1. 2 1 1024

    # Display information about all NHLFE entries.

    di spl ay mpl s nhl f e

    Tot al NHLFE Entr y: 1

    Out - I nt er f ace Token Oper Next hop Deep Stack

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

    S2/ 0 2 PUSH 88. 1. 1. 2 1 1024

  • 7/29/2019 09 MPLS Command Reference Book[1]

    42/352

    29

    Table 17Command outputField Description

    Total NHLFE Entry Total number of NHLFE entries.

    Out-Interface Outgoing interface.

    Token NHLFE entry index.

    Oper Label operation type: PUSH, SWAP, or GO.

    Deep Depth of the MPLS label stack.

    Stack MPLS label.

    # Display the detailed information of all NHLFE entries.

    di spl ay mpl s nhl f e verbose

    Tot al NHLFE Entr y: 1

    **Token : 1 Tunnel I D: 0x7600001

    VRF I ndex : 0

    Next Hop : 1. 1. 1. 1

    Out I nt er f ace : Vl an10

    AT I ndex : 1

    Label Stack : 1024

    Oper at i on : PUSH

    LSP Type : LDP LSP

    Tunnel St at e : Done

    FRR Tunnel I D : 0x0

    FRR Fl ag : Fal se

    FRR I nner Label : -FRR Tunnel St ate : Wai t i ng

    Next Tunnel I D : 0x0

    Gr Count : 1

    Cr eat e Ti me : 00: 02: 11: 222

    Last Change Ti me : 00: 03: 11: 333

    Ser vi ce : St at i st i cs( Succeeded)

    Table 18Command outputField Description

    Total NHLFE Entry Total number of NHLFE entries.

    Token Index of the NHLFE entry.

    Tunnel ID Index of the NHLFE tunnel.

    Out Interface Outgoing interface.

    AT Index Adjacency table index.

    Operation Label operation type: PUSH, SWAP, or GO.

    LSP TypeLSP type: LDP LSP, CR-LDP/RSVP LSP, BGP LSP, L3VPN LSP, STATIC LSP, STATICCR-LSP, L2VPN LSP, BGP IPv6 LSP, or INVALID.

    Tunnel State Tunneling state: Done orWaiting.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    43/352

    30

    Field Description

    FRR Flag Fast reroute flag: True or False.

    FRR Tunnel State FRR tunnel state: Done orWaiting.

    Next Tunnel ID ID of the nested tunnel.

    Gr Count Number of times that GR occurs.

    Create Time Time when the entry was created.

    Last Change Time Time of the last update of the entry.

    Service

    Service type and status.

    The service type is Statistics. The service status can be Succeeded (service hasbeen enabled successfully) or Failed (service failed to be enabled).

    display mpls nhlfe reflist

    Use displaympls nhlfe reflist to display the usage information of the NHLFE entries.Syntax

    display mpls nhlfe reflist token [ | { begin | exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    token: Specifies an NHLFE entry index, in the range of 0 to 32767.|: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Examples

    # Display the usage information of the specified NHLFE entry. di spl ay mpl s nhl f e ref l i st 11

    Tot al r ef erence node: 7

    No. Type Key- I nfo

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

    1 I LM 1023( I nl abel ) GE1/ 1( I n- I f )

    2 FTN 1( VPN I D) 2. 2. 2. 2/ 32

    3 LPW - - - - ( SRV I D) GE1/ 2( Pri vat e- I f )

    4 FRR 11(Token) - - - -

    5 I NN 11( Token) - - - -

    6 OAM 1( I ndex) - - - -

  • 7/29/2019 09 MPLS Command Reference Book[1]

    44/352

    31

    7 BFD 1( BFD Di scr ) - - - -

    Table 19Command outputField Description

    Total reference node Total number of associated nodes.

    Type Type of the associated node.

    Key-Info Key parameters of the entry.

    NOTE:

    An asterisk (*) before the number of a node entry means that the node is invalid and is to be deleted.

    Table 20Types of associated nodes and their key parametersNode type Description Key parameter

    FTN FEC to NHLFE mapping. VPN IDVPN instance ID Address prefix/mask

    ILM Incoming label mapping. In-LabelIncoming label In-IfIncoming interface

    LPW Sending entries of VPWS PW. SRV IDService instance ID Private-IfPrivate network interface

    FRR Primary NHLFE of FRR. Token: Token of the primary NHLFE

    INN Inner-layer NHLFE of layered LSP. Token: Token of the inner NHLFE

    OAMCheck the connectivity of the CR-LSPcorresponding to the NHLFE throughOAM.

    Index: OAM instance index

    BFD Check the connectivity of the NHLFEthrough BFD. BFD Discr: Local discriminator value of the BFDsession

    display mpls route-stateUse display mpls route-state to display the LSP information of routes.

    Syntax

    display mpls route-state [ vpn-instancevpn-instance-name] [ dest-addr mask-length ] [ | { begin |exclude | include } regular-expression ]

    Views

    Any view

    Default command level

    1: Monitor level

    Parameters

    vpn-instance vpn-instance-name: Displays the LSP information of the routes on the specified VPN. Thevpn-instance-nameargument is the instance name of an MPLS L3VPN, a case-sensitive string of 1 to 31characters.

    dest-addr mask-length: Displays the LSP information of routes to a destination address. The dest-addr

    argument is the destination IP address. The mask length ranges from 0 to 32.

  • 7/29/2019 09 MPLS Command Reference Book[1]

    45/352

    32

    |: Filters command output by specifying a regular expression. For more information about regularexpressions, see Fundamentals Configuration Guide.

    begin: Displays the first line that matches the specified regular expression and all lines that follow.

    exclude: Displays all lines that do not match the specified regular expression.

    include: Displays all lines that match the specified regular expression.

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

    Usage guidelines

    With no VPN instance specified, the command displays the LSP information of the public routes. With nodestination address and mask specified, the command displays the LSP information of all routes.

    Examples

    # Display LSP-related information about all routes.

    di spl ay mpl s r out e- st at e

    Fl ags:

    M: Mast er B: Backup I : I dl e R: Ready S: Set t i ng up N: No r out e U: Unknown


Recommended