The CCNA Basic: Pipe character in IOS

CCNA 200-301

CCNA 200-301

CCNP Enterprise

CCNP Enterprise

CCNP Security

CCNP Security

CCIE Enterprise Lab

CCIE Enterprise Lab

CCIE Security Lab

CCIE Security Lab

CCNP Service Provider

CCNP Service Provider

CCNP Data Center

CCNP Data Center

CCNP Collaboration

CCNP Collaboration

CCIE DC Lab

CCIE DC Lab

ic_r
ic_l
The CCNA Basic: Pipe character in IOS
images

IOS supports the output of show and more commands using pipe characters (represented with | characters). The pipeline function takes the output of the command and sends it to another function, for example, the bin or include. In this way, you can filter the output to find the output section of interest. 

The following are several examples:

In the figure above, you can see that we have entered the show running-config start interface command. This command starts with the first appearance of the word interface.

Another example, this time with include:

As can be seen from the above example, the include function displays only the rows that contain the word.

To display only the section of the output about a certain feature, use the section function:

You can see in the example above that the command displayed only the vty section of the running configuration.

NOTE

The Cisco Packet Tracer does not support pipe functionality. The above example is created in GNS3.

Notice that you can follow SPOTO, we can update other CCNA technical articles. if you are interested in this, and you can contact us or enquire for us. SPOTO is committed to various certification exams training. it has helped more than CCIE that get their certification. 

More Recommended Articles

1. Will a CCNA security certification help in cybersecurity jobs (freshers)?

2. The CCNA Basic: Traceroute explained

3. The CCNA Basic: OSPF summarization

4. The CCNA Basic: UDP explained

5. The CCNA Basic: Static NAT

Read More>>>>>