Guest

IP Application Services

SNMP: Frequently Asked Questions About CatOS

Document ID: 26009



Questions

Introduction
How can I use SNMP to reload a switch?
NetPro Discussion Forums - Featured Conversations
Related Information

Introduction

This document provides answers to commonly asked questions, and guides users to find helpful resources on SNMP and SNMP issues as they relate to Cisco equipment.

Q. How can I use SNMP to reload a switch?

A. Follow this procedure:

sysReset = .1.3.6.1.4.1.9.2.9.9 from the CISCO-STACK-MIB.my sysReset OBJECT-TYPE
-- FROM CISCO-STACK-MIB 
SYNTAX Integer { other(1), reset(2), resetMinDown(3) } 
MAX-ACCESS read-write 
STATUS Current 
DESCRIPTION "Writing reset(2) to this object resets the control logic of all modules in the system. Writing
resetMinDown(3) to this object resets the system with the minimal system down time. The resetMinDown(3) is
only supported in systems with redundant supervisors." 

::= { iso(1) org(3) dod(6) internet(1) private(4) enterprises(1) cisco(9) workgroup(5) ciscoStackMIB(1) systemGrp(1) 9 }

On the Cisco switch, you must set the set snmp community read-write private command in order to support the reload command.

This example reloads the router with IP address 10.16.99.55:

# ./snmpset 10.16.99.55 private .1.3.6.1.4.1.9.2.9.9.0 i 2

This is an explanation of the variables used earlier:

10.16.99.55 = ip address of your switch 
                private = R/W SNMP Community string of your switch .
  1.3.6.1.4.1.9.2.9.9.0 = the instance of sysReset Object 
                      i = Integer as defined SYNTAX in the MIB 
                      2 = reload command as defined in the MIB 

NetPro Discussion Forums - Featured Conversations

Networking Professionals Connection is a forum for networking professionals to share questions, suggestions, and information about networking solutions, products, and technologies. The featured links are some of the most recent conversations available in this technology.
NetPro Discussion Forums - Featured Conversations for Network Management
Network Infrastructure: Network Management
Virtual Private Networks: Network and Policy Management

Related Information



Updated: Oct 26, 2005Document ID: 26009