Cisco Cisco Packet Data Interworking Function (PDIF)
Command Line Interface Overview
Entering and Viewing CLI Commands ▀
Command Line Interface Reference, StarOS Release 16 ▄
135
Using CLI Auto-Pagination
When you enter commands whose expected results exceed the terminal window’s vertical display, the auto-pagination
function pauses the display each time the terminal window reaches its display limit. Press any key to display the next
screen of results.
function pauses the display each time the terminal window reaches its display limit. Press any key to display the next
screen of results.
By default, auto-pagination functionality is disabled. To enable auto-pagination, type the pipe command: | more.
[local]host_name# show configuration | more
Important:
When auto-pagination is enabled, if a command’s output exceeds the terminal window’s vertical
display parameters, you can exit by entering “q”. This returns you to the CLI prompt.
Using CLI Autoconfirmation
By default, the system is configured to prompt all administrative users with a confirmation prior to executing certain
commands. This functionality serves two purposes:
commands. This functionality serves two purposes:
Helps ensure that you do not execute an unwanted configuration change.
For example, to save a configuration:
[local]host_name# save configuration
Are you sure ? [Yes | No]:
Indicates potential misspellings of names during configuration. The first time you configure an element name
(context, subscribers, services, etc.), the prompt is displayed. The prompt is not displayed for subsequent
entries of the name. Therefore, if you see the confirmation prompt after entering the name of a previously
configured element, it is likely that you misspelled the name.
entries of the name. Therefore, if you see the confirmation prompt after entering the name of a previously
configured element, it is likely that you misspelled the name.
You create a context named newcontext:
[local]host_name(config)# context newcontext
Are you sure ? [Yes | No]: yes
[newcontext]host_name(config-ctx)#
You revisit the context named newcontext:
[local]host_name(config)# context newcontext
[newcontext]host_name(config-ctx)#
On another occasion, you misspell the context named newcontext:
[local]host_name(config)# context mewcontext
Are you sure ? [Yes | No]:n
Action aborted
[local]host_name(config)#