This section describes how to set a statistics baseline for tunnel reassembly statistics and how to display reassembly statistics.
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
- host1:vr2#baseline ip tunnel-reassembly
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
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
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
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