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-reassemblyThere is no no version. 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 ReassemblyStatus of the IP reassembly feature: enabled, disabled
- Total Fragments ReceivedNumber of total fragments received for all tunneling protocols
- Total Packets ReassembledNumber 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 ErrorsNumber of errors in completing reassembly; detailed display includes types of reassembly errors
- Reassembly DiscardsNumber of packets discarded because they were not reassembled
- Reassembly Disabled DiscardsNumber of fragmented packets received when IP tunnel reassembly is disabled on the virtual router
host1#show ip tunnel reassembly statisticsTunnel IP Reassembly Statistics for Virtual Router: defaultTunnel IP Reassembly enabledTotal Fragments Received: 15Total Packets Reassembled: 5Reassembly Errors: 0Reassembly Discards: 0Example 2Shows detailed reassembly statistics for the default virtual router host1#show ip tunnel reassembly statistics detailTunnel IP Reassembly Statistics for Virtual Router: defaultTunnel IP Reassembly enabledTotal Fragments Received: 15Total Packets Reassembled: 5L2TP: 5GRE: 0IPSec: 0Control/Other: 0Total Reassembly Errors: 0Fragmentation Errors: 0Too Many Fragments: 0Out of Resources: 0Packet Too Big: 0Reassembly Timeout: 0Reassembly Disabled Discards: 0Example 3Shows 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 statisticsTunnel IP Reassembly Statistics for Virtual Router: vr2Tunnel IP Reassembly enabledTotal Fragments Received: 45Total Packets Reassembled: 15Reassembly Errors: 0Reassembly Discards: 0The following command sets a baseline for reassembly statistics on vr2.
host1:vr2#baseline ip tunnel-reassemblyThe 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 deltaTunnel IP Reassembly Statistics for Virtual Router: vr2Tunnel IP Reassembly enabledTotal Fragments Received: 0Total Packets Reassembled: 0Reassembly Errors: 0Reassembly Discards: 0The 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 deltaTunnel IP Reassembly Statistics for Virtual Router: vr2Tunnel IP Reassembly enabledTotal Fragments Received: 15Total Packets Reassembled: 5Reassembly Errors: 0Reassembly Discards: 0