Using The No And Default Forms Of Commands - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Using the No and Default Forms of Commands

Table1-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 iprouting 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.
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
1-6
Prompt
Switch(config-subif)#
Rommon>
Chapter1
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
78-16201-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents