Method and system of receiving and translating CLI command data within a routing system
DC CAFCFirst Claim
Patent Images
1. A method comprising:
- receiving, with a command line interface (CLI) parser, an input command configured to request an operation be performed by a routing system, wherein the input command is configured in an extensible markup language (XML) format having a CLI syntax with CLI keywords sequenced according to configuration rules for CLI commands;
translating, with the CLI parser, the input command from the XML format having the CLI syntax into a CLI command that, when executed, is configured to prompt the routing system to perform the operation, wherein the translating of the input command into the CLI command includes identifying at least one XML tag that includes an XML parameter to indicate the XML tag includes one or more CLI keywords, extracting the one or more CLI keywords from the input command, and arranging the one or more CLI keywords into the CLI command according to the CLI syntax of the input command, wherein the routing system is configured to perform the operation responsive to the execution of the CLI command;
translating an output message, generated in response to performance of the operation, from a CLI format into an XML format having the CLI syntax, wherein the translating includes parsing the output message to identify at least one CLI token, translating each CLI token of the output message into a corresponding XML value according to a stored mapping of CLI tokens-to-XML values, and generating the output message in the XML format with the XML values; and
transmitting the output message in the XML format having the CLI syntax to a remote device external from the routing system.
3 Assignments
Litigations
1 Petition
Accused Products
Abstract
A method and system of receiving and translating data using an internetwork operating system (IOS) command line interface (CLI) parser subsystem of a routing system are shown. Input is received at the IOS CLI parser subsystem. The input is traversed. Where the input originates from outside of the router, the input is translated into a corresponding CLI statement. Where the input originates from within the router, the input is translated into a prescribed output format. The translated input is output.
40 Citations
15 Claims
-
1. A method comprising:
-
receiving, with a command line interface (CLI) parser, an input command configured to request an operation be performed by a routing system, wherein the input command is configured in an extensible markup language (XML) format having a CLI syntax with CLI keywords sequenced according to configuration rules for CLI commands; translating, with the CLI parser, the input command from the XML format having the CLI syntax into a CLI command that, when executed, is configured to prompt the routing system to perform the operation, wherein the translating of the input command into the CLI command includes identifying at least one XML tag that includes an XML parameter to indicate the XML tag includes one or more CLI keywords, extracting the one or more CLI keywords from the input command, and arranging the one or more CLI keywords into the CLI command according to the CLI syntax of the input command, wherein the routing system is configured to perform the operation responsive to the execution of the CLI command; translating an output message, generated in response to performance of the operation, from a CLI format into an XML format having the CLI syntax, wherein the translating includes parsing the output message to identify at least one CLI token, translating each CLI token of the output message into a corresponding XML value according to a stored mapping of CLI tokens-to-XML values, and generating the output message in the XML format with the XML values; and transmitting the output message in the XML format having the CLI syntax to a remote device external from the routing system. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-usable memory device having computer-readable program code embedded therein for causing a computer system to:
-
receive an input command requesting an operation be performed by a routing system, wherein the input command is configured in an extensible markup language (XML) format having a command line interface (CLI) syntax with CLI keywords sequenced according to configuration rules for CLI commands; translate the input command from the XML format having the CLI syntax into a CLI command, wherein the routing system is configured to execute the CLI command and perform the operation, and wherein the computer system is further configured to translate the input command by identifying at least one XML tag that includes an XML parameter to indicate the XML tag includes one or more CLI keywords, extracting the one or more CLI keywords from the input command, and arranging the one or more CLI keywords into the CLI command according to the CLI syntax of the input command; translate an output message from a CLI format into XML format having the CLI syntax, wherein the output message is generated in the CLI format by the routing system responsive to the performance of the operation, and wherein the translating includes parsing the output message to identify at least one CLI token, translating each CLI token of the output message into a corresponding XML value according to a stored mapping of CLI tokens-to-XML values, and generating the output message in the XML format with the XML values; and transmit the output message in the XML format having the CLI syntax to a remote device external from the routing system. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A system comprising:
-
an input port device to receive an input command requesting an operation be performed by a routing system, wherein the input command is configured in an extensible markup language (XML) format having a command line interface (CLI) syntax with CLI keywords sequenced according to configuration rules for CLI commands; means for translating the input command from the XML format having the CLI syntax into a CLI command by identifying at least one XML tag that includes an XML parameter to indicate the XML tag includes one or more CLI keywords, extracting the one or more CLI keywords from the input command, and arranging the one or more CLI keywords into the CLI command according to the CLI syntax of the input command; means for performing the operation responsive to the CLI command; means for generating an output message in a CLI format responsive to the performance of the operation; means for translating the output message from the CLI format into XML format having the CLI syntax, wherein the means for translating includes means for parsing the output message to identify at least one CLI token, means for translating each CLI token of the output message into a corresponding XML value according to a stored mapping of CLI tokens-to-XML values, and means for generating the output message in the XML format with the XML values; and means for transmitting the output message in the XML format having the CLI syntax to a remote device external from the routing system. - View Dependent Claims (12, 13, 14, 15)
-
Specification