Cisco Pipe Commands

Cisco Pipe Commands

These commands work on Cisco routers as well on other vendors too, Tellabs Core Routers Also Support.

These commands won’t work on old Ios, Try your luck friends.

The following command will display the contents of the running-config,
beginning with the first line containing the text ethernet:

Router# show running?| begin ethernet
The following command will exclude all lines containing the text ethernet:

Router# show running?| exclude ethernet
The following command will include all lines containing the text ethernet:

Router# show running?| include ethernet

You can also use a second pipe as an OR in your expression.

[su_box title=”Output”]

1841#show cdp neighbors detail | inc Dev|ress:

Device ID: R1605 IP address: 1.1.1.2

Device ID: R1602

IP address: 2.2.2.2

[/su_box]

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.