Enabling ip tunnel or manual ipv6 statistics, Enabling tunnel statistics, Clearing gre tunnel and manual ipv6 tunnel – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 754: Statistics, Behavior after an lp failure, Feature scalability
![background image](/manuals/361635/754/background.png)
724
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Tunnel statistics for a GRE tunnel or IPv6 manual tunnel
19
Behavior after an LP failure
If LP module goes down, the counters for that LP are preserved. After the LP comes back up, the
preserved counters for that LP can be displayed.
Feature scalability
A Brocade NetIron XMR device supports 256 tunnels by default and 8000 tunnels for its maximum
number of tunnels. The system supports statistics for all tunnels because the source ingress CAM
partition has 16000 entries that can support the statistics for all tunnels.
Enabling IP tunnel or manual IPv6 statistics
This section describes how to enable and clear statistics for GRE or manual IPv6 tunnels. The
enable for this feature is global in scope. The enabling command is one of three enable commands
that you run in the IP tunnel policy context of the CLI. (These commands are
gre-session-enforce-check, ipv6-session-enforce-check, and accounting-enable. The
ip-tunnel-policy command puts the CLI in the mode for executing them.) To see examples of tunnel
statistics, refer to
“Displaying GRE and manual IPv6 tunnel statistics”
Enabling tunnel statistics
NOTE
The Brocade NetIron CES and Brocade NetIron CER devices currently do not support the
ip-tunnel-policy and the accounting-enable commands.
To enable the GRE tunnel or manual IPv6 tunnel statistics, go to the IP tunnel policy mode of the
CLI and issue the accounting-enable command, as the following example illustrates.
Brocade(config)#ip-tunnel-policy
Brocade(config-ip-tunnel-policy)#accounting-enable
Syntax: [no] accounting-enable
To turn off tunnel statistics gathering, use the keyword no to the accounting-enable command.
The system might prompt you to write the configuration to memory and reload the system. If the
system has not yet allocated a source-ingress CAM partition, it prompts you to write the results of
the current configuration to memory and reload the system.
The first-time execution of certain commands can prompt the allocation of a source-ingress CAM
partition that is required by certain features. These commands are gre-session-enforce-check,
ipv6-session-enforce-check, and accounting-enable. After this CAM partition is allocated, you do
not need to do the memory write and reload after the first-time execution of the other two
commands.
Clearing GRE tunnel and manual IPv6 tunnel statistics
You can clear all of the statistics for either one or all tunnels by using the clear statistics tunnel
command, as the following example illustrates.
Brocade#clear statistics tunnel 1
Syntax: clear statistics tunnel [tunnel ID]