<html><head><base href="x-msg://76/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>On 10/07/2012, at 10:43 PM, Jared Hirst wrote:</div><br><blockquote type="cite"><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 15px; ">I have a supervisor 6 card and I am wondering how I can do SNMP on a certain line card, we have 5 Gbe switches in the one chassis and I want to be able to just export SNMP for one of the switches in the ‘stack’ does anyone know of any way to do this?</span></blockquote><br></div><div>You mentioned a Sup6 which implies a 4500. These don't work like a stack of 3750s or similar - its just one big switch. SNMP against the IP address of the supervisor, then use code/text utils/whatever to grab the card you're after matching on ifDescr. For example for slot 3:</div><div><br></div><div>snmpwalk -c commstringgoeshere -v2c switch1 ifDescr | grep GigabitEthernet3</div><div><br></div><div>This isn't the most efficient method, you'd usually want to do that once, store the ifIndex to ifDescr map somewhere, and just query ifIndex directly depending on what you're trying to achieve.</div><div><br></div><div>Rgds,</div><div><br></div><div><br></div><div><br></div><div>- I.</div></body></html>