You can obtain information about the packets filtered on a C-series controller by accessing statistics for the iptables Linux tool. You can also reset the counters for this tool.
To view information about packet filtering on a C-series controller:
user@host> show iptables <nat | filter | mangle> <reset-counters>
where
For example:
user@host> show iptables
Chain INPUT (policy ACCEPT 25M packets, 9401M bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 24M packets, 4506M bytes)
pkts bytes target prot opt in out source destinationreset-counters
To reset the values in the output for the show iptables command:
- user@host> show iptables reset counters