- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- snmpset command oid 1.3.6.1.2.1.2.2.1.7.xx enable/...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2016 04:55 AM
05-25-2016 04:55 AM
snmpset command oid 1.3.6.1.2.1.2.2.1.7.xx enable/disable a specific port
Description of the switch:
HP J9775A 2530-48G Switch, revision YA.15.10.0003, ROM YA.15.09
Last one year this command worked well until recently
Enabling of portnumber 44:
snmpset -r:ipaddress -o:1.3.6.1.2.1.2.2.1.7.44 -tp:int -val:1
Disabling of portnumber: 44
snmpset -r:ipaddress -o:1.3.6.1.2.1.2.2.1.7.44 -tp:int -val:2
Where oid last charater 44 stands for portnumber.
The failed command was following:
snmpset -r:x.x.x.x -o:1.3.6.1.2.1.2.2.1.7.44 -tp:int -val:1
SnmpSet v1.01 - Copyright (C) 2009 SnmpSoft Company
[ More useful network tools on http://www.snmpsoft.com ]
%Failed to set value to SNMP variable. Variable does not exist (noSuchName(2))
Could anybody explain why this command doens't work?
Thank you in advance.
JOJO.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2016 02:11 AM
05-30-2016 02:11 AM
Re: snmpset command oid 1.3.6.1.2.1.2.2.1.7.xx enable/disable a specific port
Have you recently upgraded the switch?
Maybe the oid has been changed with a firmware upgrade.