[c-nsp] ip mroute OIF count through snmp
Tassos Chatzithomaoglou
achatz at forthnet.gr
Thu Mar 13 15:08:20 EDT 2008
I'm trying to find a way to get the OIF count per (*,G) and (S,G) entry.
router>sh ip mroute sum
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry, E - Extranet,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, x.x.x.x), 12:43:57/stopped, RP z.z.z.z, OIF count: 2, flags: SJC
(a.a.a.a, x.x.x.x), 09:46:57/00:03:53, OIF count: 1, flags: T
(*, y.y.y.y), 2w1d/00:02:12, RP z.z.z.z, OIF count: 2, flags: SJCL
So i should get:
(*, x.x.x.x) : 2
(a.a.a.a, x.x.x.x) : 1
(*, y.y.y.y) : 2
I've found "ciscoIpMRouteNumberOfEntries" in the CISCO-IPMROUTE-MIB, but (i guess) it returns the total number of (*,G) and (S,G)
entries:
snmpwalk -v 2c -c XXX router .1.3.6.1.4.1.9.10.2.1.1.1
enterprises.9.10.2.1.1.1.0 = Gauge: 3
Is there a way (besides parsing the cli outpout) i can get the OIF entries per (*,G) and (S,G)?
--
Tassos
More information about the cisco-nsp
mailing list