Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

snmpset on SG, SF series switches

I need to set up some parameters on SG, SF series switches with snmset command from NET-Snmp tools. It is possible for me to set up some simple parameters like ifAdminStatus of the port. The command to do this looks like:

snmpset -m ALL -v 3 -u secName -l authPriv -a sha -A secret -x des -X secret switchIP ifAdminStatus.49 i 1

But I'd like to get static addresses table. I can snmwalk it with command:

snmpwalk -v 3 -u secName -l authPriv -a sha -A secret -x des -X secret switchIP iso.3.6.1.2.1.17.7.1.3.1.1.4

and it returns me the key->value list:

iso.3.6.1.2.1.17.7.1.3.1.1.4.101.60.151.14.68.239.217.64 = INTEGER: 3
iso.3.6.1.2.1.17.7.1.3.1.1.4.101.120.132.60.0.230.199.52 = INTEGER: 3 etc...

where iso.3.6.1.2.1.17.7.1.3.1.1.4 - dot1qStaticUnicastStatus, 101 - VLAN id, 60.151.14.68.239.217 - mac in decimal form, 64 - port number and 3 - status (permanent). These are the only occurence of this information in MIB list.

Is it possible to set up static addresses table with snmset?

2 REPLIES
Cisco Employee

 Are you facing issue with 

 Are you facing issue with  ONLY this OID  iso.3.6.1.2.1.17.7.1.3.1.1.4   from this MIB Q-BRIDGE ?

 

Thanks-

Afroz

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****
New Member

I haven't tried any other OID

I haven't tried any other OID, but I want to understand the scheme how can I set up complex OIDs with multiple parameters that located in key (like iso.3.6.1.2.1.17.7.1.3.1.1.4.101.60.151.14.68.239.217.64 and this is the only occurence of VLAN# in whole MIB) only not in the value.
61
Views
0
Helpful
2
Replies