Method and system for automatically determining commands for a network element
First Claim
1. A method comprising the machine-implemented steps of:
- receiving a syntax definition for a command help syntax of a network device;
sending a seed command to the network device;
receiving and storing a response from the network device;
creating and storing information identifying commands that the network device supports, based on the response, in a database of command knowledge;
determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands;
creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of automatically determining a set of commands that a network device supports comprises the machine-implemented steps of receiving a syntax definition for a command help syntax of a network device; sending a seed command to the network device; receiving and storing a response from the network device; creating and storing information identifying commands that the network device supports, based on the response, in a database of command knowledge; determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands; creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database; and repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports.
48 Citations
21 Claims
-
1. A method comprising the machine-implemented steps of:
-
receiving a syntax definition for a command help syntax of a network device;
sending a seed command to the network device;
receiving and storing a response from the network device;
creating and storing information identifying commands that the network device supports, based on the response, in a database of command knowledge;
determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands;
creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A computer system comprising:
-
a computer-readable medium having recorded thereon a syntax definition for a command help syntax of a network device, a seed command, and special case handling logic;
an auto-learning framework that is communicatively coupled to the computer-readable medium and comprising a request generator and a response handler; and
a command knowledge database;
wherein the auto-learning framework comprises one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of;
sending the seed command to a network device that is communicatively coupled to the auto-learning framework;
receiving and storing a response from the network device;
creating and storing information identifying commands that the network device supports, based on the response, in the command knowledge database;
determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands;
creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports.
-
-
11. A computer-readable medium comprising one or more sequences of instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:
-
sending a seed command to a network device;
receiving and storing a response from the network device;
creating and storing information identifying commands that the network device supports, based on the response, in a command knowledge database;
determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands;
creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports. - View Dependent Claims (12, 13, 14, 15)
-
-
16. A computer system comprising:
-
means for sending a seed command to a network device;
means for receiving and storing a response from the network device;
means for creating and storing information identifying commands that the network device supports, based on the response, in a command knowledge database;
means for determining and sending to the network device one or more command requests that cause the network device to respond with further information defining supported commands;
means for creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
means for repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports. - View Dependent Claims (17, 18, 19, 20)
-
-
21. A method of automatically determining a set of commands that a network device supports, the method comprising the machine-implemented steps of:
-
receiving a syntax definition for a command help syntax of a network device;
sending a seed command to the network device, wherein the seed command causes the network device to respond with a list of supported commands;
receiving and storing information identifying commands that the network device supports, based on a response from the network device, in a database of command knowledge;
selecting one of the commands;
determining and sending to the network device one or more command requests that cause the network device to respond with further information defining one or more supported parameters or sub-commands associated with the selected command;
creating and storing further information identifying additional commands or parameters supported by the network device, based on responses from the network device to the command requests, in the database;
repeating the determining, sending, creating and storing steps until the information in the database represents all commands and parameters that the network device supports;
discontinuing the repeating upon determining that a previously issued command can include an unlimited number of parameters or sub-commands.
-
Specification