The Canvas defines how to retrieve, parse and analyze data from a live network.
1.At the Device Queue node, select Device in the Device From list.
2.Point to the Device Queue node, click the icon, select Device(this) and then click Extend.
3.Click the this node. There is only one option this in the Select a device column in Device Queue field. It means that the Qapp will execute the commands on devices in this column as target devices.
4.Extend a CLI node by pointing to the this node, clicking the icon, selecting CLI and then clicking Extend.
Note: The command has several types and each type has its own feature. See Command Types for more details.
5.Enter show version in the Command field and select show version (Cisco IOS Switch, Cisco Router) from the drop-down list. The related command, parser, and variables will be auto-loaded. You can alternatively click Select Parser and select a parser from the Parser Library directly.
6.Define the Table node. The Table node is used to store the parsed data passed from the CLI Command node. For a Device Data Table, it only contains data for one device in the current loop and can only be referenced in the current canvas.
1)Click the icon on the Command node, select Device Data Table and click Extend.
2)Click the icon in the canvas flow to export the variables defined in the CLI node to the Table node.
All the variables defined in the parser are listed in the left pane. Select the version variable, and then click Attribute >> to add it to the attribute table.
Tip: To add interface-level variables, such as interface MTU, duplex and input/output errors, click Table>>; to add device-level variables, such as CPU usage, version, and memory size, click Attribute>>.