[Contents] [Prev] [Next] [Index] [Report an Error]

# Statistics for IP Packets Moving On or Off MPLS LSPs

In the earlier architecture, the statistics for IP packets moving onto or off an LSP applied to the IP interface that was stacked on top of the LSP. Because IP interfaces are no longer stacked on LSPs in the current architecture, these statistics apply to one of the dynamic IP interfaces that is established on the same major interface the the LSP is stacked on.

However, even though the IP traffic leaving the LSP as MPLS packets is associated with a dynamic IP interface, it does not use the queue associated with that dynamic IP interface. Instead, the IP traffic uses the queues at the layer 2 interface; the MPLS major interface on which the dynamic IP interface is created does not have its own queue. As a result, queue-related statistics do not increase with the IP traffic flow on the dynamic IP interfaces. This behavior can create some confusion when you examine the output from commands such as show egress-queue rate interface ip.

In the following sample output, the statistics of interest are those for the layer 2 interface, atm-vc ATM9/0.10. Traffic is present as indicated by the forwarded rate value for the layer 2 interface. If no IP traffic is present, the forwarded rate for the layer 2 interface has a value of 0.

    host1:pe1# show egress-queue rates interface atm9/0.10
                                  traffic   forwarded aggregate minimum  maximum
             interface             class      rate    drop rate  rate     rate
    --------------------------- ----------- --------- --------- ------- ---------
    atm-vc ATM9/0.10            best-effort    116032         0 4680000 149760000
    ip ATM9/0.10                best-effort         0         0 4680000 149760000
    ip ip19000001.mpls.ip       best-effort         0         0 4680000 149760000
    ipv6 ipv619000001.mpls.ipv6 best-effort         0         0 4680000 149760000
      Queues reported:                    4
      Queues filtered (under threshold):  0
    * Queues disabled (no rate period):   0
    **Queues disabled (no resources):     0
      Total queues:                       4

You can use the show mpls interface brief command to display the MPLS major interfaces. You can then view the statistics for the major interface displayed by the show ip interface command, as show in the following display excerpt:

    host1:pe1# show ip interface
    null0 line protocol is up, ip is up
      ...
    loopback0 line protocol is up, ip is up
      ...
    ATM9/0.10 line protocol Atm1483 is up, ip is up
      ...
      In Received Packets 78, Bytes 5991
        Unicast Packets 29, Bytes 2469
        Multicast Packets 49, Bytes 3522
      In Policed Packets 0, Bytes 0
      In Error Packets 0
      In Invalid Source Address Packets 0
      In Discarded Packets 0
      Out Forwarded Packets 78, Bytes 5786
        Unicast Packets 78, Bytes 5786
        Multicast Routed Packets 0, Bytes 0
      Out Scheduler Dropped Packets 0, Bytes 0
      Out Policed Packets 0, Bytes 0
      Out Discarded Packets 0
      queue 0: traffic class best-effort, bound to ip ATM9/0.10
        Queue length 0 bytes
        Forwarded packets 1, bytes 52
        Dropped committed packets 0, bytes 0
        Dropped conformed packets 0, bytes 0
        Dropped exceeded packets 0, bytes 0
    ip19000001.mpls.ip line protocol MplsMajor is up, ip is up
    ...

The show mpls interface command displays the queue associated with the MPLS major interface, but indicates it is bound to the layer 2 interface.

    host1:pe1# show mpls interface
    MPLS major interface ATM9/0.10
      ATM circuit type is 1483 LLC encapsulation
      Administrative state is enabled
      Operational state is up
      Operational MTU is 9180
      Received:
        1 packet
        136 bytes
        0 errors
        0 discards
        0 failed label lookups
      Sent:
        1 packet
        136 bytes
        0 errors
        0 discards
    LDP information:
        10.10.10.1/24
        enabled with profile 'default'
         133 hello recv, 136 hello sent, 0 hello rej
         2 adj setup, 1 adj deleted,
            Session to 10.10.10.2 is operational (passive)
            Session statistics:
              4 label alloc, 4 label learned,
              4 accum label alloc, 4 accum label learned,
              last restart time = 00:01:49
              Rcvd: 0 notf, 8 msg, 4 mapping, 0 request
                    0 abort, 0 release, 0 withdraw, 1 addr
                    0 addr withdraw, 8 msgId
                    0 bad mapping, 0 bad request, 0 bad abort, 0 bad release
                    0 bad withdraw, 0 bad addr, 0 bad addr withdraw
                    0 unknown msg type err
                    last info err code = 0x00000000, 0 loop detected
              Sent: 0 notf, 8 msg, 4 mapping, 0 request
                    0 abort, 0 release, 0 withdraw, 1 addr
                    0 addr withdraw, 8 msgId
            Adjacency statistics:
              30 hello recv, 29 hello sent, 0 bad hello recv
              adj setup time = 00:02:19
              last hello recv time = 00:00:00, last hello sent time = 00:00:00
      queue 0: traffic class best-effort, bound to atm-vc ATM9/0.10
        Queue length 0 bytes
        Forwarded packets 1, bytes 148
        Dropped committed packets 0, bytes 0
        Dropped conformed packets 0, bytes 0
        Dropped exceeded packets 0, bytes 0

#### Related Topics

- Mapping IP Data Packets onto MPLS LSPs

[Contents] [Prev] [Next] [Index] [Report an Error]