Hi, Mahesh,
The following information is cut&paste from Cisco white paper "Cisco
network monitoring and event correlation guidelines".
which gives you the mib variables corresponding to "sh mac" on IOS.
The document can be obtained from http://www.cisco.com.
(do a search)...
============================================================================================
Port Utilization, Broadcast, Multicast, and Unicast Ratios
A concern for network managers is the rate of broadcast traffic on switched
ports. Because broadcast traffic is forwarded to every port on a VLAN, you
can set up a "dummy" port as part of a VLAN and capture the only broadcast
traffic. Then you can compare the broadcast rate to the theoretical max
rate of the line.
SNMP MIBs
The following information is available at
http://www.cisco.com/public/mibs/v1/BRIDGE-MIB.my
· dot1dTpPortInFrames?The number of frames that have been received by
this port from its segment; note that a frame received on the interface
corresponding to this port is counted by this object if and only if it is
for a protocol being processed by the local function, including bridge
management frames
· dot1dTpPortOutFrames?The number of frames that have been transmitted
by this port to its segment; note that a frame transmitted on the interface
corresponding to this port is counted by this object if and only if it is
for a protocol being processed by the local bridging function, including
bridge management frames
The following information is available at
http://www.cisco.com/public/mibs/v1/IF-MIB-V1SMI.my
· ifInMulticastPkts?The number of packets delivered by this sublayer to
a higher (sub)layer that were addressed to a multicast address at this
sublayer; for a MAC-layer protocol, this number includes both group and
functional addresses.
· ifInBroadcastPkts ?The number of packets delivered by this sublayer
to a higher (sub)layer that were addressed to a broadcast address at this
sublayer
· ifOutMulticastPkts?The total number of packets that higher-level
protocols requested to be transmitted, and that were addressed to a
multicast address at this sublayer, including those that were discarded or
not sent; for a MAC-layer protocol, this number includes both group and
functional addresses
· ifOutBroadcastPkts?The total number of packets that higher-level
protocols requested to be transmitted, and that were addressed to a
broadcast address at this sublayer, including those that were discarded or
not sent
The following information is available at
http://www.cisco.com/public/mibs/v1/RMON-MIB.my
· etherStatsBroadcastPkts?The total number of good packets received
that were directed to the broadcast address; note that this number does not
include multicast packets
· etherStatsMulticastPkts?The total number of good packets received
that were directed to a multicast address; note that this number does not
include packets directed to the broadcast address
CLI
· show mac?Displays MAC-level statistics such as received/transmitted
frames, received/ transmitted multicast packets, and received/transmitted
broadcast packets.
switch 5000 (enable) show mac
MAC Rcv-Frms Xmit-Frms Rcv-Multi Xmit-Multi Rcv-Broad Xmit-Broad
-------- ---------- ---------- ---------- ---------- ---------- ----------
1/1 0 0 0 0 0 0
1/2 0 0 0 0 0 0
2/1 7564831 3159859 93795 2982015 7375010 47356
2/2 839319 11317193 97413 2991019 1560 7417591
2/3 40744 10516768 5631 3096045 6 7419192
2/4 40989 10523185 6222 3102759 0 7419195
2/5 87858 10577397 6179 3114275 920 7418557
2/6 0 0 0 0 0 0
2/7 53448 10557561 5632 3124050 0 7419181
2/8 1646786 31124783 1645159 31124783 0 0
2/9 45666 10610469 4980 3150899 543 7418652
2/10 44872 10582388 5723 3158925 118 7417517
2/11 24269744 8525203 24269742 1104787 0 7420184
Best Regards,
Geoffrey Cheng
Certified I/T Specialist, CCNP
Certified Tivoli Enterprise Consultant & Instructor
ITS, IBM Global Services
Prime Line: (416)-410-8874 Fax: (905)-316-4525
Email: gcheng@ca.ibm.com
"Mahesh Tailor" <MTailor@carilion.com> on 03/14/2002 10:00:35 AM
Please respond to "Mahesh Tailor" <MTailor@carilion.com>
To: <donald.davis@firstcitizens.com>, <nv-l@lists.tivoli.com>
cc:
Subject: RE: [nv-l] Slightly off the subject
Thanks, Don, but this is not the correct MIB variable. It does not give
the same information. What I am looking for is the table that gives the
MAC addresses of the devices that are connected to the individual Ethernet
ports [as given by the show mac command].
Just to further clarify, the switch is a Cisco 3548.
Mahesh
>>> "Davis, Donald" <donald.davis@firstcitizens.com> 03/14/02 08:55AM >>>
You probably want the MIB-2 variable that returns the ARP cache.
snmpwalk [target] .1.3.6.1.2.1.4.22.1.2
Don Davis
-----Original Message-----
From: Mahesh Tailor [mailto:MTailor@carilion.com]
Sent: Thursday, March 14, 2002 8:43 AM
To: nv-l@lists.tivoli.com
Subject: [nv-l] Slightly off the subject
Does anyone what the MIB variable is to obtain the information provided by
the show mac command on a Cisco 3500 switch?
Thanks.
Mahesh
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
------------------------------------------------------------------------------
This electronic mail and any files transmitted with it are confidential and
are intended solely for the use of individual or entity to whom they are
addressed. If you are not the intended recipient or the person responsible
for delivering the electronic mail to the intended recipient, be advised
that you have received this electronic mail in error and that any use,
dissemination, forwarding, printing, or copying of this electronic mail is
strictly prohibited. If you have received this electronic mail in error,
please immediately notify the sender by return mail.
==============================================================================
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|