Le 20/09/2012 2:20, Bala Subrahmanyam Venkata a écrit :
Novice Junos CLI query:How can I find a section of config given a line which is 'inside' the section. For instance given the following user marge { uid 2012; class super-user; authentication { encrypted-password "$1$Q5wrLnUs$zwwewew30U6/O1sWMP0yziY.ysh1"; ## SECRET-DATA } } I'd like to do something like the below but see the whole "user" section. Here "find" finds the line and prints all after it. Is there somethign like "find and print containing section" ?
show | display set | match user this will show you the whole set commands under the user section. _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

