The switch discovery code switches to cisco's vtp/vlan membership mibs as 
needed to handle various vlans when connected to a cisco

From: Christian Caruthers <ccaruth...@lenovo.com>
Sent: Tuesday, April 12, 2022 12:49 PM
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: Re: [xcat-user] [External] xCAT getmacs from Cisco via SNMP?

xCAT should be able to pull SNMP invo from a Cisco switch just like it would 
any other switch. You'll want to make sure you have SNMP configured properly in 
the switches table. It also might be necessary to get the switchport name 
correct. Sometimes, you can just use, for example "1," but I've seen cases 
where you need to spell out the port as the switch knows it. Like: 
"Ethernet1/1." You should be able to use the following snmpwalk command (with 
the right SNMP version settings) to see how the switch names the ports. The 
following works with snmpv1.

snmpwalk -v 1 -c {COMMUNITY} {SWITCH_NAME} .1.3.6.1.2.1.31.1.1.1.1

Regards,
Christian Caruthers
Lenovo Professional Services
Mobile: 757-289-9872

From: Hannum, Keith <keith.han...@lmco.com<mailto:keith.han...@lmco.com>>
Sent: Tuesday, April 12, 2022 11:39
To: xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>
Subject: [External] [xcat-user] xCAT getmacs from Cisco via SNMP?

Does xcat getmacs have a built-in way to get macs for a node from a cisco 
switch via snmp? Or via any other method from a cisco switch?
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to