The Net-Brainer

The Net-Brainer (http://forums.netbraintech.com/index.php)
-   One-Skill-at-a-Time (http://forums.netbraintech.com/forumdisplay.php?f=18)
-   -   cli procedure with single line output (http://forums.netbraintech.com/showthread.php?t=21271)

ap1436 11-12-2014 03:14 PM

cli procedure with single line output
 
I want to create a procedure for the results of the cisco command "sh snmp location". The output of this command is simply the location in the snmp field, for example:

router1#show snmp location
9216 S Major. Chicago, Il 60451


I want to capture the line "9216 S Major. Chicago, Il 60451" but can't figure out how to do that with what type of parser, keyword, paragraph, table or filter

some guidance would be great.

Thank you

NetBrainTAC 01-18-2016 10:12 PM

Re: cli procedure with single line output
 
The Paragraph Parser is the correct method to use in this case. Check our Qapp exchange website to learn more about how to write a Qapp and also to share your Qapp with others.

http://qapp.netbraintech.com/


All times are GMT -4. The time now is 01:07 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright 2009 NetBrain, Inc. All rights reserved.