Symbols
A
C
- C Series Controllers
- C Series controllers
- C Series platforms
- candidate configuration
- CLI
- command hierarchy
- command history
- command mode
- configuration mode
- command completion
- commands 1, 2
- comparing
- entering 1, 2
- exiting
- hierarchy 1, 2, 3
- navigation commands
- overview 1, 2
- statement description
- symbols in statement lists 1, 2
- verifying configurations
- editing level 1, 2
- environment settings
- help 1, 2
- interface elements
- keyboard sequences
- messages
- modes
- operating systems
- overview 1, 2
- password
- prerequisites
- privilege levels
- prompt strings
- tutorial
- working directory
- command output
- commands
- commit and-quit command 1, 2
- commit check command
- commit command 1, 2
- configuration
- configuration files
- configuration hierarchy
- configuration mode See CLI
- configuration statements
- deleting
- overview 1, 2
- symbols in statements
- configure command
- conventions
- count filter
- cursor, moving
- customer support 1
D
- delete command 1, 2
- directories on C Series Controller
- documentation
E
- edit command 1, 2
- enable command
- environment settings, CLI 1
- except filter
- exit command 1, 2
F
H
I
K
L
M
- manuals
- messages
- MORE filter
- MORE prompt
N
O
- online help See CLI, help
- operational mode
P
Q
R
- redrawing screen
- regular expressions
- rename command 1, 2
- request system halt command
- request system reboot
- restart command 1, 2
- rollback command 1, 2
- run command
S
- save command
- screen
- set cli complete-on-space command
- set cli directory command 1, 2
- set cli language command
- set cli level command
- set cli password command
- set cli prompt command
- set cli screen-length command
- set cli screen-width command
- set cli terminal command
- set command 1, 2
- show cli authorization command
- show cli command
- show cli history command
- show cli level command
- show command
- show component command 1, 2
- show configuration command
- show system information command
- SRC CLI
- starting
- SRC components
- SRC modules
- SRC software
- statements See configuration statements, names of individual statements
- support, technical See technical support
- symbols in statements
T
U
- up command
- URLs in commands
- user accounts
W
X
Download This Guide
Deleting a Statement from the Configuration
Deleting a statement or an identifier effectively “unconfigures” the functionality associated with that statement or identifier, returning that functionality to its default condition.
To delete a statement or identifier:
- Use the delete configuration mode command. user@host# delete < statement-path > < identifier >
When you delete a statement, the statement and all its subordinate statements and identifiers are removed from the configuration.
For statements that can have more than one identifier, when you delete one identifier, only that identifier is deleted. The other identifiers in the statement remain.
To delete the entire hierarchy starting at the current hierarchy level:
- In configuration mode, use the delete command.
Do not specify a statement or an identifier.
When you omit the statement or identifier, you are prompted to confirm the deletion. For example:
[edit]user@host# delete Delete everything under this level? [yes, no] (no)?
Examples: Deleting a Statement from the Configuration
Configure the SRC aggregate-services statements, then delete these statements from the [edit] level. Using the delete command effectively unconfigures the SAE properties for aggregate-services in the SRC software:
[edit] user@host# set shared sae configuration aggregate-services keepalive-time 172800 [edit] user@host# set shared sae configuration aggregate-services keepalive-retry-time 900 [edit] user@host# set shared sae configuration aggregate-services activation-deactivation-time 900 [edit] user@host# set shared sae configuration aggregate-services failed-notification-retry-time 86400 [edit] user@host# show . . . shared { sae { configuration { aggregate-services { keepalive-time 172800; keepalive-retry-time 900; activation-deactivation-time 900; failed-notification-retry-time 86400; } } . . . } } [edit] user@host# delete shared sae configuration aggregate-services [edit] user@host# show shared sae configuration aggregate-services
Configure the aggregate-services statements, then delete these statements from the [edit shared sae configuration aggregate-services] level:
[edit] user@host# set shared sae configuration aggregate-services keepalive-time 172800 [edit] user@host# set shared sae configuration aggregate-services keepalive-retry-time 900 [edit] user@host# set shared sae configuration aggregate-services activation-deactivation-time 900 [edit] user@host# set shared sae configuration aggregate-services failed-notification-retry-time 86400 [edit] user@host# edit shared sae configuration aggregate-services [edit shared sae configuration aggregate-services] user@host# delete Delete everything under this level? [yes,no] (no) yes [edit shared sae configuration aggregate-services] user@host# show [edit shared sae configuration aggregate-services] user@host#
Remove the configuration for a specific property (routing-options):
[edit] user@host# set routing-options static route 192.0.2.20/24 reject
[edit] user@host# show . . . static { route 192.0.2.20/24 { reject; } } . . . [edit] user@host# delete routing-options
[edit] user@host# edit routing-options
[edit routing-options] user@host# show
Related Documentation
- Adding Configuration Statements and Identifiers
- Understanding SRC CLI Configuration Mode
- Creating an SRC Configuration