Cisco Catalyst 4500 Series Configuration Manual page 182

Ios software configuration guide isco ios xe 3.9.0e and ios 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

counter
counter
To assign counters to a Layer 3 interface, use the counter interface command. To remove a counter
assignment, use the no form of this command.
Supervisor Engine 6-E and Supervisor Engine 6L-E do not support Layer 3 interface counters.
Note
Syntax Description
ipv4
ipv6
ipv4 ipv6 separate
Command Default
Not enabled
Command Modes
Interface configuration
Command History
Release
12.2(40)SG
12.2(54)SG
Usage Guidelines
Entering the counter command without keywords displays the statistics as a sum.
The total number of switch ports that can possess transmit and receive counters is 4092.
When you change a Layer 3 port assigned with a counter to a Layer 2 port, the hardware counters are
cleared. This action is similar to entering the no counter command.
Examples
The following example shows how to enable counters on interface VLAN 1:
Switch# configure terminal
Enter configuration commands, one per line.
Switch(config)# interface vlan 1
Switch(config-if)# counter ipv4
Switch(config-if)# end
Switch#
00:17:15: %SYS-5-CONFIG_I: Configured from console by console
Switch# show run interface vlan 1
Building configuration...
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release XE 3.9.xE and 15.2(5)Ex
2-144
counter {ipv4 | ipv6 | ipv4 ipv6 separate}
no counter
Enables collection of IPv4 statistics only.
Enables collection of IPv6 statistics only.
Enables collection of IPv4 and IPv6 statistics and displays them individually.
Modification
This command was introduced on the Catalyst 4500 series switch.
Support added for IPv4 and IPv6 counters.
Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches
End with CNTL/Z.
OL-30934-01

Advertisement

Table of Contents
loading

Table of Contents