Method and system for emulation of an internetwork operating system device
AssigneeCisco Technology, Inc.
InventorsRod Jackson, Tarun Raisoni
Life of this patent
Estimating the term…
Abstract
A method and apparatus for emulation of IOS in a feasible and efficient manner are provided. The method includes defining a data structure to hold a data set; opening a socket connection to the device; sending instructions to return the command data for an index value; storing the returned command data in the data structure; incrementing the index value, repeating the sending, the storing and the incrementing till the index value exceeds the depth of command data to be captured; and writing the command data captured in the data structure to a file. The depth of command data to be captured or stored can be defined by specifying an index value in the data structure.
Claims22
A method for emulation of an Internetwork Operating System (IOS) device, the method comprising
- defining a data structure to hold a data set wherein the data structure is characterized by one or more index values, the index value being less than equal to the total depth of the command data to be captured from the IOS device;
- opening a socket connection to the IOS device;
- sending instructions to return command data for an index value;
- storing the returned command data in the data structure;
- incrementing the index value;
- repeating the sending, the storing and the incrementing till the index value exceeds the depth of command data to be captured;
- and
- writing the command data captured in the data structure to a file.
A system for emulation of an Internetwork Operating System (IOS) device, the system comprising
- means for defining a data structure to hold a data set wherein the data structure is characterized by one or more index values, the index value being less than equal to the total depth of the command data to be captured from the IOS device;
- means for opening a socket connection to the IOS device;
- means for sending instructions to return the command data for an index value;
- means for storing the returned command data in the data structure;
- means for incrementing the index value;
- wherein the increment is performed till the index value exceeds the depth of the command data;
- and
- means for writing all the data captured in the data structure to a file.
A system for emulation of a Internetwork Operating System (IOS) device, the system comprising
- an operating system;
- a memory having a data structure to hold a data set wherein the data structure is characterized by one or more index values, the index value being less than equal to the total depth of the command data to be captured from the IOS device;
- a socket connection to the IOS device;
- a sending module for sending instructions to return the command data for an index value;
- a storing module for storing the returned command data in the data structure;
- an incrementing module for incrementing the index value wherein the increment is performed till the index value exceeds the depth of the command data;
- a writing module for writing all the data captured in the data structure to a file;
- and
- memory space on hard disk for storing the file.
The system of claim 18, wherein the command data is stored in an ASCII based text file.
A machine-readable medium including instructions for emulation of an Internetwork Operating System (IOS) device, the medium comprising
- one or more instructions for defining a data structure to hold a data set wherein the data structure is characterized by one or more index values, the index value being less than equal to the total depth of the command data to be captured from the IOS device;
- one or more instructions for opening a socket connection to the IOS device;
- one or more instructions for sending instructions to return the command data for an index value;
- one or more instructions for storing the returned command data in the data structure;
- one or more instructions for incrementing the index value, wherein the increment is performed till the index value exceeds the depth of the command data;
- and
- one or more instructions for writing all the data captured in the data structure to a file.
An apparatus for emulation of an Internetwork Operating System (IOS) device, the apparatus comprising
- a processing system including a processor coupled to a display and user input device;
- a machine-readable medium including instructions for emulation of an Internetwork Operating System (IOS) device executable by the processor, the medium comprising
- one or more instructions for defining a data structure to hold a data set wherein the data structure is characterized by one or more index values, the index value being less than equal to the total depth of the command data to be captured from the IOS device;
- one or more instructions for opening a socket connection to the device;
- one or more instructions for sending instructions to return the command data for an index value;
- one or more instructions for storing the returned command data in the data structure;
- one or more instructions for incrementing the index value, wherein the increment is performed till the index value exceeds the depth of the command data;
- and
- one or more instructions for writing all the data captured in the data structure to a file.
Dependencies are inferred from the claim text.