Creating a Configuration
This section shows how to configure SAE properties for aggregate services as an example of how to navigate through various hierarchy levels in the CLI and use
help
andshow
commands to obtain information while working at the CLI.In the SRC software, an aggregate service is a type of SAE service that comprises a number of individual services. Combining services lets the SRC software treat the services within an aggregate service as a unit.
The final configuration looks like this:
sae {configuration {aggregate-services {keepalive-time 172800;keepalive-retry-time 900;activation-deactivation-time 900;failed-notification-retry-time 92000;}}}To configure SAE properties for aggregate services:
- Enter configuration mode.
user@host>edit
Entering configuration mode.[edit]user@host#- In configuration mode, move to the hierarchy level at which you configure aggregate services.
[edit]user@host#edit shared sae configuration aggregate-services
[edit shared sae configuration aggregate-services]user@host#Press the space bar after typing the initial characters of a word to quickly complete the word.
[edit shared sae configuration aggregate-services]user@host#set ?
Possible completions:activation-deactivation-timeTime to activate or deactivate fragment service session (0..INF s)failed-notification-retry-timeMaximum time to send failure notifications (0..INF s)keepalive-retry-time Length of keepalive time period (0..INF s)keepalive-time Keepalive from aggregate svce session to remote session (0..INF s)
- Set the values for the four time intervals.
[edit shared sae configuration aggregate-services]user@host#set keepalive-time 172800
user@host#set keepalive-retry-time 900
[edit]user@host#set activation-deactivation-time 900
[edit]user@host#set failed-notification-retry-time 9200
- Verify the configuration.
[edit shared sae configuration aggregate-services]user@host#show
keepalive-time 172800;keepalive-retry-time 900;activation-deactivation-time 900;failed-notification-retry-time 9200;- Move up one level in the hierarchy, and run the
show
command again.[edit shared sae configuration aggregate-services]user@host#up
[edit shared sae configuration]user@host#show
policy-management-configuration {enable-junose-classifier-expansion;}aggregate-services {keepalive-time 172800;keepalive-retry-time 900;activation-deactivation-time 900;failed-notification-retry-time 9200;}. . .The output shows the configuration for aggregate services plus any other configuration under the
[shared sae configuration]
hierarchy level.
- Before you commit the configuration, verify that the configuration is correct.
[edit shared sae configuration]user@host#commit check
configuration check succeeds- Commit the configuration.
[edit shared sae configuration]user@host#commit
commit complete.Using Shortcuts to Create a Configuration
You can navigate through the configuration hierarchy to enter statements, or you can use
set
commands to configure statements at the[edit]
hierarchy level. The following list of commands creates the same configuration as the procedure:user@host#set shared sae configuration aggregate-services keepalive-time 172800
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 92000
Making Changes to the Configuration
You can change a configuration by entering a
set
command and providing a new value.To change the value for the keepalive timer for aggregate services:
- Navigate to the location in the hierarchy where properties for aggregate services are configured.
[edit]user@host#user@host#edit shared sae configuration aggregate-services
[edit shared sae configuration aggregate-services]user@host#- Change the value for the keepalive timer.
[edit shared sae configuration aggregate-services]user@host#set keepalive-time 150000
- Verify the change.
[edit shared sae configuration aggregate-services]user@host#show
keepalive-time 150000;keepalive-retry-time 900;activation-deactivation-time 900;failed-notification-retry-time 9200;- Commit the change.
[edit shared sae configuration aggregate-services]user@host#commit
commit complete