This small memo explains just how to use a show command pipe command to get a AND regular expression. For example :
show interface status | inculde textA AND textB
In order to perform this action, you can use this expression:
show interfaces status | in textA.*textB
Example, show all interface Gi1/2/ which are connected:
show interfaces status | in Gi1/2/.*connected
No comments:
Post a Comment