Cisco IOS Voice Troubleshooting and Monitoring -- Show and More Command Output Filtering

From DocWiki

(Difference between revisions)
Jump to: navigation, search
(Added required metadata template)
Line 1: Line 1:
 +
{{Template:Required Metadata}}
 +
{| align="right" border="1"
{| align="right" border="1"
|align="center"|'''Guide Contents'''
|align="center"|'''Guide Contents'''

Revision as of 23:36, 17 December 2009

Guide Contents
Troubleshooting Cisco IOS Voice Overview
Debug Command Output on Cisco IOS Voice Gateways
Filtering Troubleshooting Output
Cisco VoIP Internal Error Codes
Troubleshooting Cisco IOS Voice Telephony
Troubleshooting Cisco IOS Voice Protocols
Troubleshooting Cisco IOS Telephony Applications
Monitoring the Cisco IOS Voice Network
Cause Codes and Debug Values

Show and More Commands

You can search and filter the output of show and more commands. This functionality is useful if you need to sort through large amounts of output or if you want to exclude output that you need not see.

To use this functionality, enter a show or more command followed by the vertical line character (|); one of the keywords begin, include, or exclude; and a regular expression on which you want to search or filter (the expression is case-sensitive):

command | [begin | include | exclude] regular-expression

The output matches certain lines of information in the configuration file. The following example illustrates how to use output modifiers with the show interface command when you want the output to include only lines in which the expression "protocol" appears:

 Router# show interface | include protocol
 FastEthernet0/0 is up, line protocol is up 
 Serial4/0 is up, line protocol is up 
 Serial4/1 is up, line protocol is up 
 Serial4/2 is administratively down, line protocol is down 
 Serial4/3 is administratively down, line protocol is down

For more information on the search and filter functions, see the "Using the Command-Line Interface" chapter in the Cisco IOS Configuration Fundamentals Configuration Guide.

Rating: 2.0/5 (3 votes cast)

Personal tools