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

# Monitoring IP Reassembly

This section describes how to set a statistics baseline for tunnel reassembly statistics and how to display reassembly statistics.

## Setting Statistics Baselines

You can use the baseline ip tunnel-reassembly command to set a statistics baseline for tunnel reassembly statistics on the current virtual router. The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline whenever you retrieve baseline-relative statistics.

baseline ip tunnel-reassembly

- Use to set a statistics baseline for tunnel reassembly statistics on the current virtual router.
- To display reassembly statistics relative to the baseline, use the show ip tunnel reassembly statistics command with the delta keyword. For information about displaying baselined statistics, see show ip tunnel reassembly statistics .
- Example
  `
  host1:vr2#baseline ip tunnel-reassembly
  `
- There is no no version.
- See baseline ip tunnel-reassembly.

## Displaying Statistics

The router keeps several statistics that are useful for diagnostic purposes. These statistics are organized by virtual router, and some are broken out by protocol as well. You can display statistics for a single virtual router or for all virtual routers. You can also display statistics relative to a baseline.

show ip tunnel reassembly statistics

- Use to display tunnel reassembly statistics.
- To display statistics in brief form for the current virtual router, use the command with no keywords.
- To display statistics for all virtual routers, include the all keyword.
- To display detailed statistics, include the detail keyword.
- To display statistics relative to a baseline set with the baseline ip tunnel-reassembly command, include the delta keyword.
- Field descriptions
  - Tunnel IP Reassembly—Status of the IP reassembly feature: enabled, disabled
  - Total Fragments Received—Number of total fragments received for all tunneling protocols
  - Total Packets Reassembled—Number of packets reassembled; detailed display includes number of packets reassembled for each protocol; Control/Other increments for packets that are reassembled on a Tunnel Service module but are not forwarded, and instead sent to the SRP module
  - Reassembly Errors or Total Reassembly Errors—Number of errors in completing reassembly; detailed display includes types of reassembly errors
  - Reassembly Discards—Number of packets discarded because they were not reassembled
  - Reassembly Disabled Discards—Number of fragmented packets received when IP tunnel reassembly is disabled on the virtual router
- Example 1—Shows reassembly statistics for the default virtual router

      host1#show ip tunnel reassembly statistics

      Tunnel IP Reassembly Statistics for Virtual Router: default

              Tunnel IP Reassembly enabled
              Total Fragments Received:                15
              Total Packets Reassembled:               5
              Reassembly Errors:                       0
              Reassembly Discards:                     0

- Example 2—Shows detailed reassembly statistics for the default virtual router

      host1#show ip tunnel reassembly statistics detail

      Tunnel IP Reassembly Statistics for Virtual Router: default

              Tunnel IP Reassembly enabled
              Total Fragments Received:               15
              Total Packets Reassembled:               5
                      L2TP:                            5
                      GRE:                             0
                      IPSec:                           0
                      Control/Other:                   0
              Total Reassembly Errors:                 0
                      Fragmentation Errors:            0
                      Too Many Fragments:              0
                      Out of Resources:                0
                      Packet Too Big:                  0
                      Reassembly Timeout:              0

              Reassembly Disabled Discards:            0

- Example 3—Shows reassembly statistics for virtual router vr2 before and after setting a statistics baseline

  The following command shows reassembly statistics for vr2 before setting the baseline.

      host1:vr2#show ip tunnel reassembly statistics

      Tunnel IP Reassembly Statistics for Virtual Router: vr2

              Tunnel IP Reassembly enabled
              Total Fragments Received:                45
              Total Packets Reassembled:               15
              Reassembly Errors:                       0
              Reassembly Discards:                     0

  The following command sets a baseline for reassembly statistics on vr2.

      host1:vr2#baseline ip tunnel-reassembly

  The following command shows reassembly statistics relative to the baseline before new packets arrive at the router for reassembly.

      host1:vr2#show ip tunnel reassembly statistics delta

      Tunnel IP Reassembly Statistics for Virtual Router: vr2

              Tunnel IP Reassembly enabled
              Total Fragments Received:                0
              Total Packets Reassembled:               0
              Reassembly Errors:                       0
              Reassembly Discards:                     0

  The following command shows reassembly statistics relative to the baseline as new packets start arriving at the router for reassembly.

      host1:vr2#show ip tunnel reassembly statistics delta

      Tunnel IP Reassembly Statistics for Virtual Router: vr2

              Tunnel IP Reassembly enabled
              Total Fragments Received:                15
              Total Packets Reassembled:               5
              Reassembly Errors:                       0
              Reassembly Discards:                     0

- See show ip tunnel reassembly statistics.

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