[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Creating a Configuration

This sample procedure 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 and show 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:

  1. Enter configuration mode.
  2. user@host> edit 
    
    Entering configuration mode.
    
    
    
    [edit]
    
    user@host# 
    
    
    
  3. In configuration mode, move to the hierarchy level at which you configure aggregate services.
  4. [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.

  1. Verify which values you can set.
[edit shared sae configuration aggregate-services]
user@host# set ?
Possible completions:
  activation-deactivation-time 
                       Time to activate or deactivate fragment service session (0..INF s)
  failed-notification-retry-time 
                       Maximum 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)

  1. Set the values for the four time intervals.
  2. [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 
    
    
    
  3. Verify the configuration.
  4. [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;
    
    
    
  5. Move up one level in the hierarchy, and run the show command again.
  6. [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.

  1. Before you commit the configuration, verify that the configuration is correct.
  2. [edit shared sae configuration]
    
    user@host# commit check 
    
    configuration check succeeds
    
    
    
  3. Commit the configuration.
  4. [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:

  1. Navigate to the location in the hierarchy where properties for aggregate services are configured.
  2. [edit]
    
    user@host# 
    
    user@host# edit shared sae configuration aggregate-services 
    
    
    
    [edit shared sae configuration aggregate-services]
    
    user@host#
    
    
    
  3. Change the value for the keepalive timer.
  4. [edit shared sae configuration aggregate-services]
    
    user@host# set keepalive-time 150000 
    
    
    
  5. Verify the change.
  6. [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;
    
    
    
  7. Commit the change.
  8. [edit shared sae configuration aggregate-services]
    
    user@host# commit 
    
    commit complete
    
    
    

[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]