Cisco Cisco Packet Data Gateway (PDG) Guía Para Resolver Problemas
Command Line Interface Overview
▀ Entering and Viewing CLI Commands
▄ Cisco ASR 5000 Series Enhanced Feature Configuration Guide
OL-22983-01
You revisit the context named ―newcontext‖:
On another occasion, you misspell the context named ―newcontext‖:
After aborting the above action, you can again revisit ―newcontext‖:
You can control CLI autoconfirmation at the following levels:
Specific administrative user sessions: To enable or disable autoconfirmation, use the [no] autoconfirm
commands while in the Exec mode.
All Future Sessions: To disable or re-enable autoconfirmation for all future sessions, use the [no]autoconfirm
commands while in the Global Config mode.
For specific commands: Disable autoconfirmation for various commands that support the -noconfirm keyword,
such as the save configuration or card reboot commands.
Regulating the Command Output
For many CLI commands, you can use
and/or
keywords to regulate or control the command‘s output.
Use the | grep keyword to filter through a command‘s output for certain expressions or patterns. Only those portions of
the output that contain or exclude the pattern are displayed. The | grep has the following syntax:
the output that contain or exclude the pattern are displayed. The | grep has the following syntax:
Table 4. grep Keywords
Alternative
Keyword
Keyword
Description
-i
Specifies the filtering of the command‘s output for a particular expression while ignoring case. Lower case
matches the same as upper case.
matches the same as upper case.
-v
Specifies the filtering of the command‘s output for everything excluding a particular expression.
--ignore-case
The long form of the -i option.