Searching And Filtering Output Of Show And More Commands - Cisco WLC 5700 Series Interface Configuration Manual

Cisco ios xe release 3e
Hide thumbs Also See for WLC 5700 Series:
Table of Contents

Advertisement

Using the Command-Line Interface
Command or Action

Searching and Filtering Output of show and more Commands

You can search and filter the output for show and more commands. This is useful when you need to sort
through large amounts of output or if you want to exclude output that you do not need to see. Using these
commands is optional.
SUMMARY STEPS
1. {show | more} command | {begin | include | exclude} regular-expression
DETAILED STEPS
Command or Action
Step 1
{show | more} command | {begin | include | exclude}
regular-expression
Example:
Controller# show interfaces | include protocol
Vlan1 is up, line protocol is up
Vlan10 is up, line protocol is down
GigabitEthernet1/0/1 is up, line protocol is down
GigabitEthernet1/0/2 is up, line protocol is up
Accessing the CLI Through a Console Connection or Through Telnet
Before you can access the CLI, you must connect a terminal or a PC to the controller console or connect a
PC to the Ethernet management port and then power on the controller, as described in the hardware installation
guide that shipped with your controller.
If your controller is already configured, you can access the CLI through a local console connection or through
a remote Telnet session, but your controller must first be configured for this type of access.
You can use one of these methods to establish a connection with the controller:
OL-32314-01
Searching and Filtering Output of show and more Commands
Purpose
The software assumes that you have a terminal screen that is 80
columns wide. If you have a different width, use the terminal width
privileged EXEC command to set the width of your terminal.
Use line wrapping with the command history feature to recall and
modify previous complex command entries.
Purpose
Searches and filters the output.
Expressions are case sensitive. For example, if you enter
| exclude output, the lines that contain output are not
displayed, but the lines that contain output appear.
Interface Configuration Guide, Cisco IOS XE Release 3E (Cisco WLC 5700 Series)
11

Advertisement

Table of Contents
loading

Table of Contents