cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
594
Views
0
Helpful
2
Replies

snmpset on SG, SF series switches

horn.asia
Level 1
Level 1

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 2

AFROJ AHMAD
Cisco Employee
Cisco Employee

 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 ****

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.

Review Cisco Networking for a $25 gift card