hit counter script

Using The No And Default Forms Of Commands; Using The Cli String Search - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Using the No and Default Forms of Commands

Table 1-3
Summary of Main Command Modes (continued)
Command
Mode
Access Method
Subinterface
From interface
configuration
configuration mode,
specify a subinterface
with an interface
command.
ROM monitor
From privileged EXEC
mode, enter the reload
EXEC command. Press
the Break key during the
first 60 seconds while the
system is booting.
For more information on command modes, refer to the "Using the Command Line Interface" chapter of
the Configuration Fundamentals Configuration Guide.
Using the No and Default Forms of Commands
Almost every configuration command has a no form. In general, enter the no form to disable a function.
Use the command without the keyword no to reenable a disabled function or to enable a function that is
disabled by default. For example, IP routing is enabled by default. To disable IP routing, specify the
no ip routing command and specify ip routing to reenable it. This publication provides the complete
syntax for the configuration commands and describes what the no form of a command does.
Some configuration commands have a default form. The default form of a command returns the
command setting to its default settings. Most commands are disabled by default, so the default form is
the same as the no form. However, some commands are enabled by default, with variables set to certain
default values. In these cases, the default form of the command enables the command and returns its
variables to their default values.

Using the CLI String Search

The pattern in the command output is referred to as a string. The CLI string search feature allows you to
search or filter any show or more command output and allows you to search and filter at --More--
prompts. This feature is useful when you need to sort though large amounts of output, or if you want to
exclude output that you do not need to see.
With the search function, you can begin unfiltered output at the first line that contains a regular
expression you specify. You can then specify a maximum of one filter per command or start a new search
from the --More-- prompt.
A regular expression is a pattern (a phrase, number, or more complex pattern) software uses to match
against show or more command output. Regular expressions are case sensitive and allow for complex
matching requirements. Examples of simple regular expressions are Serial, misses, and 138. Examples
of complex regular expressions are 00210..., ( is ), and [Oo]utput.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
1-6
Prompt
Switch(config-subif)#
Rommon>
Chapter 1
Exit Method
To exit to global configuration mode, enter the exit
command.
To enter privileged EXEC mode, enter the end
command or press Ctrl-Z.
To exit ROM-monitor mode, you must reload the
image by entering the boot command. If you use
the boot command without specifying a file or any
other boot instructions, the system boots from the
default Flash image (the first image in onboard
Flash memory). Otherwise, you can instruct the
system to boot from a specific Flash image (using
the boot system flash filename command).
Command-Line Interface
OL-27596 -01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF