We have migrated to a new ISP who provide us several services (Internet+VoIP+VoD) and have divided each service in one vlan 100,101,102 respectively. Now I'm looking for a solution to monitor each service and measure the bandwidth on each vlan. I know we don't have counters on L3 SVI interface. I though the port-channel sub-interface have counters operational but don't.
We receive on 4500-X the 3 vlans/services and trunk them to vlan 604 to CMTS. The vlan 260 is for IPTV Multicast.
In summary, I use cacti to monitor bandwidth on interface and I need a similar way to do it on vlans.
Maybe Netflow can solve the problem but before invest on it I would like yours considerations to found a simpler solution as Cacti.
Here the topology
============4500-X==================
!----------ingress - From ISP-----------------
sw-4500-X#sh run int te1/1/15
Building configuration...
Current configuration : 171 bytes
!
interface TenGigabitEthernet1/1/15
description Po from ISP
switchport trunk allowed vlan 100-102
switchport mode trunk
channel-group 5 mode active
end
sw-4500-X#sh run int te2/1/15
Building configuration...
Current configuration : 171 bytes
!
interface TenGigabitEthernet2/1/15
description Po from ISP
switchport trunk allowed vlan 100-102
switchport mode trunk
channel-group 5 mode active
end
!----------egress port to CMTS------------------
sw-4500-X#sh run int te1/1/1
Building configuration...
Current configuration : 192 bytes
!
interface TenGigabitEthernet1/1/1
description link Po1 -> CMTS (te2/0/0)
switchport trunk allowed vlan 260,706
switchport mode trunk
load-interval 30
channel-group 1 mode on
end
sw-4500-X#sh run int te2/1/1
Building configuration...
Current configuration : 192 bytes
!
interface TenGigabitEthernet2/1/1
description link Po1 -> CMTS (te1/0/0)
switchport trunk allowed vlan 260,706
switchport mode trunk
load-interval 30
channel-group 1 mode on
end
EDIT :
Here the output of snmpwalk
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB::ifName
....
IF-MIB::ifName.168 = STRING: VLAN-100
IF-MIB::ifName.169 = STRING: VLAN-101
IF-MIB::ifName.170 = STRING: Vl100
IF-MIB::ifName.171 = STRING: VLAN-102
IF-MIB::ifName.172 = STRING: Vl101
IF-MIB::ifName.173 = STRING: Vl102
...
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB::ifName.168
IF-MIB:: IFName.168 = STRING: VLAN-100
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:: IFHCInUcastPkts.168
IF-MIB:: IFHCInUcastPkts.168 = No Such Instance currently exists at this OID
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:: IFHCOutUcastPkts.168
IF-MIB:: IFHCOutUcastPkts.168 = No Such Instance currently exists at this OID
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:: IFHCInOctets.168
IF-MIB:: IFHCInOctets.168 = No Such Instance currently exists at this OID
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:: IFHCOutOctets.168
IF-MIB:: IFHCOutOctets.168 = No Such Instance currently exists at this OID
But if I try with .170 I get
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:ifHCInUcastPkts.170
IF-MIB::ifHCInUcastPkts.170 = Counter64: 0
[root@unix ~]# snmpwalk -v 2c -c rw_community <IP-4500-x> IF-MIB:ifHCOutOctets.170
IF-MIB::ifHCOutOctets.170 = Counter64: 325414481
This get me another question : Why this difference in the same interface (VLAN-100 and Vl100) ??
My main question is still unanswered because the OID I get are for the packets and bytes counters on interface.
What I want to get is the Bandwidth measurement on some vlan. So far I only see Netflow as a probable solution.
EDIT2:
I'm trying to add on Cacti and I'm having some issue.
Graph showed when I add interface vlan100:
How to add such interface and made calculation to show right traffic graph ?? as suggested by Mike Pennington
ifName
and post that as well? FYI, you don't have to use pastebin for config snips