I have been learning to use the command line interface for quite sometime and seem to have figured out that it is a lot more efficient than the graphical user interface. I am able to customise my output based on my requirement and seem to receive the output a lot more faster than the usual.
One of those CLIs that I have used is the IOS CLI on Cisco Devices and there seem to be this cool feature of Pipelines "|". In Cisco, they use the pipes to generate output for a specific parameter. Example: There is a command to show the current configuration of a switch. --> show running-config. What pipes do is collect specific information that a user requires in the primary command and displays it. Example: show running-config | include interface. <-- in this example, it will display the running configuration of a switch with respect to interfaces only.
We are aware that most of the output on naviseccli contains lots of information and sometimes, we require only specific information in that huge report. For instance, commands relating to MirrorView. What if I want a list of only two MirrorView Sessions(Mirrors) out of the ten sessions available? Do we have an option to pipeline that information. Would really be awesome to do so? #LearningTogether #CommandLineLover #ChrisSunith
Thanks bricec. That was helpful. Just to make it clear, I could use grep or findstr instead of pipelines and mention what I am looking for, specifically in the output?