Date created: 11/26/21 13:53:58. Last modified: 11/26/21 14:01:34

SR2-s MPLS L2VPN Troubleshooting

Counters

Clearing counters:

tools dump service base-stats clear
clear port 1/x1/1/c17/1 statistics
clear service statistics id "123456" counters

 

Resource Usage

Check system resources:

# tools dump resource-usage system

===============================================================================
Resource Usage Information for System
===============================================================================
                                                  Total   Allocated        Free
-------------------------------------------------------------------------------
                 SAP Ingress QoS Policies |       10239           4       10235
                  SAP Egress QoS Policies |       10239           3       10236
            Ingress Queue-Group Templates |        2047           4        2043
             Egress Queue-Group Templates |        2047           5        2042
        Egress Port Queue-Group Instances |      163839          35      163804
         Ingress FP Queue-Group Instances |       16383           0       16383
              Fast Depth Monitored Queues |       50000           0       50000
                        Egress Port VPort |       40959        7612       33347
        Dynamic Services Next-Hop Entries +      511999           0      511999
                   IPSec Next-Hop Entries -      262143           0      262143
              Subscriber Next-Hop Entries -      500000           0      500000
                              SAP Entries +      524287        3862      520425
                     (in use by:   Cpipe) -                       0
                     (in use by:   Epipe) -                       0
                     (in use by:   Fpipe) -                       0
                     (in use by:   Ipipe) -                       0
                     (in use by:     Ies) -                    2824
                     (in use by:  Mirror) -                       2
                     (in use by:    Vpls) -                    1036
                     (in use by:    Vprn) -                       0
===============================================================================

 

Check line card resources:

# Example from xcm-2s with 2x ms18-100gb-qsfp28:

# tools dump resource-usage card 1 all =============================================================================== Resource Usage Information for Card Slot #1 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- QoS User Schedulers | 131071 0 131071 QoS User Scheduler Overrides | 262143 0 262143 Subscriber SLA Profile Instances | 131071 0 131071 Subscriber SlaProfile Inst. QoS Overrides | 262144 0 262144 Egress Port (Access/Network) QGroup Inst. + 16383 19 16364 Egress Access Port Queue-Group Instances - 8191 19 8172 Egress Network Port Queue-Group Instances - 16383 0 16383 Ingress FP Queue-Group Instances | 4095 0 4095 Egress Port VPort | 5119 3620 1499 Subscriber categories | 393213 0 393213 Qos Intermediate Arbiters | 524287 0 524287 Qos Intermed. Arbiter Overrides | 524287 0 524287 Encap Group Members | 131071 0 131071 SAP Instances + 196607 1866 194741 Epipe SAP Instances - 196607 0 196607 Non-Epipe SAP Instances - 131071 1866 129205 (in use by: Cpipe) - 0 (in use by: Fpipe) - 0 (in use by: Ipipe) - 0 (in use by: Ies) - 1326 (in use by: Mirror) - 2 (in use by: Vpls) - 538 (in use by: Vprn) - 0 =============================================================================== =============================================================================== Resource Usage Information for Card Slot #1 FP #1 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- SAP Ingress QoS Policies | 1791 2 1789 Dynamic Egress Classification + 2047 1 2046 Dynamic Egress (in use by SAP Egress) - 1 Dynamic Egress (in use by Network Egress) - 0 Fast Depth Monitored Queues | 10000 0 10000 Ingress Queues | 16384 9269 7115 Egress Queues | 245760 1018 244742 Ingress Policers | 393215 24395 368820 Ingress Policer Stats | 524255 24394 499861 Egress Policers | 393215 1 393214 Egress Policer Stats | 524255 0 524255 Qos Ingress Root Arbiters | 98303 1 98302 Qos Egress Root Arbiters | 98303 1 98302 Egress Qos Bypass | 131071 0 131071 Dynamic Queues + 0 0 0 Dynamic Queues (in use by Ingress) - 0 Dynamic Queues (in use by Egress) - 0 Dynamic Policers + 0 0 0 Dynamic Policers (in use by Ingress) - 0 Dynamic Policers (in use by Egress) - 0 Dynamic Policer Stats + 0 0 0 Dynamic Policer Stats (in use by Ingress) - 0 Dynamic Policer Stats (in use by Egress) - 0 Egress User Queues | 253952 886 253066 Egress User Policers | 393215 0 393215 Ingress ACL/QoS Entries | 0 0 0 Ingress ACL Entries (IPv4/v6) | 98304 2 98302 Ingress QoS Entries | 16384 2 16382 Ingress IPv6 QoS Entries | 8192 2 8190 Egress ACL/QoS Entries | 0 0 0 Egress ACL Entries (IPv4/v6) | 49152 2 49150 Egress QoS Entries | 16384 2 16382 Egress IPv6 QoS Entries | 8192 2 8190 Ingress ACL Filters | 4095 0 4095 Egress ACL Filters | 2047 0 2047 Ingress IPv6 ACL Filters | 4095 0 4095 Egress IPv6 ACL Filters | 2047 0 2047 Sap IngQGrp RedirLst Entries | 31999 0 31999 Dynamic Service Entries + 262143 0 262143 Subscriber Hosts - 262143 0 262143 Encap Group Members - 65535 0 65535 Egress Network Queue Group Mappings - 131071 0 131071 SapInst EgrQGrp RedirLst Entries - 31999 0 31999 Subscriber SLA Profile Instances | 131071 0 131071 MAC Forwarding Database (FDB) Entries | 511999 0 511999 Dynamic Wred Pools | 7500 0 7500 SAP Instances | 98303 862 97441 =============================================================================== =============================================================================== Resource Usage Information for Card Slot #1 FP #2 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- SAP Ingress QoS Policies | 1791 1 1790 Dynamic Egress Classification + 2047 1 2046 Dynamic Egress (in use by SAP Egress) - 1 Dynamic Egress (in use by Network Egress) - 0 Fast Depth Monitored Queues | 10000 0 10000 Ingress Queues | 16384 11617 4767 Egress Queues | 245760 1088 244672 Ingress Policers | 393215 24503 368712 Ingress Policer Stats | 524255 24502 499753 Egress Policers | 393215 1 393214 Egress Policer Stats | 524255 0 524255 Qos Ingress Root Arbiters | 98303 1 98302 Qos Egress Root Arbiters | 98303 1 98302 Egress Qos Bypass | 131071 0 131071 Dynamic Queues + 0 0 0 Dynamic Queues (in use by Ingress) - 0 Dynamic Queues (in use by Egress) - 0 Dynamic Policers + 0 0 0 Dynamic Policers (in use by Ingress) - 0 Dynamic Policers (in use by Egress) - 0 Dynamic Policer Stats + 0 0 0 Dynamic Policer Stats (in use by Ingress) - 0 Dynamic Policer Stats (in use by Egress) - 0 Egress User Queues | 253952 956 252996 Egress User Policers | 393215 0 393215 Ingress ACL/QoS Entries | 0 0 0 Ingress ACL Entries (IPv4/v6) | 98304 2 98302 Ingress QoS Entries | 16384 2 16382 Ingress IPv6 QoS Entries | 8192 2 8190 Egress ACL/QoS Entries | 0 0 0 Egress ACL Entries (IPv4/v6) | 49152 2 49150 Egress QoS Entries | 16384 2 16382 Egress IPv6 QoS Entries | 8192 2 8190 Ingress ACL Filters | 4095 0 4095 Egress ACL Filters | 2047 0 2047 Ingress IPv6 ACL Filters | 4095 0 4095 Egress IPv6 ACL Filters | 2047 0 2047 Sap IngQGrp RedirLst Entries | 31999 0 31999 Dynamic Service Entries + 262143 0 262143 Subscriber Hosts - 262143 0 262143 Encap Group Members - 65535 0 65535 Egress Network Queue Group Mappings - 131071 0 131071 SapInst EgrQGrp RedirLst Entries - 31999 0 31999 Subscriber SLA Profile Instances | 131071 0 131071 MAC Forwarding Database (FDB) Entries | 511999 0 511999 Dynamic Wred Pools | 7500 0 7500 SAP Instances | 98303 1004 97299 =============================================================================== =============================================================================== Resource Usage Information for Card Slot #1 MDA #1 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- SAP Instances | 0 0 0 =============================================================================== =============================================================================== Resource Usage Information for Card Slot #1 MDA #x1/1 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- SAP Instances | 196607 862 195745 =============================================================================== =============================================================================== Resource Usage Information for Card Slot #1 MDA #x1/2 =============================================================================== Total Allocated Free ------------------------------------------------------------------------------- SAP Instances | 196607 1004 195603 ===============================================================================

Check MPLS resource usage:

# tools dump mpls-resources
Global MPLS Resource Usage
-------------------------+------------+-------------+-------------+
                         |   Total    | Allocated   |    Free     |
-------------------------+------------+-------------+-------------+
 mpls  NHLFE             |    262126  |       202   |    261924   |
    RSVP                 |            |        15   |             |
    LDP                  |            |       122   |             |
    BGP                  |            |        17   |             |
    MPLS-TP              |            |         0   |             |
    SR                   |            |        40   |             |
    BIER                 |            |         0   |             |
    TREE-SID             |            |         0   |             |
 mpls labels             |    524256  |    205358   |    318898   |
    RSVP                 |            |         0   |             |
    LDP                  |            |      1584   |             |
    BGP                  |            |         2   |             |
    MPLS-TP              |            |         0   |             |
    STATIC-SVC           |            |         2   |             |
    SR                   |            |    200002   |             |
    BIER                 |            |         0   |             |
    RESERVED-BLK         |            |         0   |             |
 mpls  LTN (FTN)         |    131072  |       140   |    130932   |
    RSVP                 |            |         5   |             |
    LDP                  |            |        86   |             |
    BGP                  |            |        11   |             |
    MPLS-TP              |            |         0   |             |
    SR                   |            |        30   |             |
    BIER                 |            |         0   |             |
    TREE-SID             |            |         0   |             |