4948e vlan counters

Unanswered Question
Aug 28th, 2010

Hi all!

I have 4948e and as I googled - this device does not have vlan counters. When I execute:

show interfaces vlan 100 counters

The result:

Counters information is not available for Vlan100

Is there a way to use vlan counters or not?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
rahurao Tue, 08/31/2010 - 16:26

Hi Martos,

show vlan counters

To display software-cached counter values, use the show vlan counters command.

show vlan [id vlanid] counters
Syntax Description

id vlanid

(Optional) VLAN ID; valid values are from 1 to 4094.


This command has no default settings.
Command Modes

Privileged EXEC

So i can we use the show vlan 100 counters and check the same?



martos1981 Tue, 08/31/2010 - 23:34

show vlan id 100 ?
  ifindex       SNMP ifIndex
  internal      Internal VLAN usage
  private-vlan  Private VLAN information
  uni-vlan      UNI VLAN information
  |             Output modifiers

These ara my options

martos1981 Tue, 09/14/2010 - 01:42

I found the command "counter" in interface config but I am not sure why it exists.

show running-config interface vlan 3501
Building configuration...

Current configuration : 105 bytes
interface Vlan3501
ip address
counter ipv4

And again:

show interfaces vlan 3501 counters
Counters information is not available for Vlan3501

glen.grant Tue, 09/14/2010 - 04:39

  "show int vlan X stats"   will give you counts.

          Switching path    Pkts In   Chars In   Pkts Out  Chars Out
               Processor          0          0          0          0
             Route cache          0          0          0          0
                Hardware   14690607 2222090681    8382032 1726621599
                   Total   14690607 2222090681    8382032 1726621599

martos1981 Tue, 09/14/2010 - 05:59

Actually, after adding counter in the interface configuration the counters become working through SNMP


This Discussion