On Tue Aug 28, 2012 at 11:03:50 +0100, amani hamdi wrote: > cmd = show { > * permit interfaces > deny .** > *} Try this: cmd = show { permit version permit interface deny .* } Steve -- Let me steal your soul? http://stolen-souls.com