- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- Aruba & ProVision-based
- >
- snmpset command oid 1.3.6.1.2.1.2.2.1.7.xx enable/...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP