Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Displaying the Current Configuration

    You can display the current configuration from operational mode or from configuration mode. In configuration mode, you can display the configuration at the specified hierarchy level.

    To display the current configuration from configuration mode:

    • Use the show command.
      [edit]user@host# show <statement-path>

      or

      [edit < hierarchy-level >]user@host# show

    To display the current configuration from operational mode:

    • Use the show configuration command.
      user@host> show configuration

    The configuration statements appear in a fixed order; however, when you configure the C Series Controller, you can enter statements in any order.

    If you omit a required statement at a particular hierarchy level, when you issue the show or show configuration command, a message indicates which statement is missing. As long as a mandatory statement is missing, the CLI continues to display this message each time you issue a show or show configuration command.

    For example, the following output includes a warning that lists mandatory attributes that need to be configured:

    [edit]
    user@host# show
    . . .
    shared { 
      sae { 
        configuration { 
          aggregate-services { 
            keepalive-time 172800;
            warning: missing mandatory attribute(s): 'keepalive-retry-time', 'activation-deactivation-time', 'failed-notification-retry-time'
          }
        }
       . . .
      }

    Examples: Displaying the Current Configuration

    Configure timers for aggregate services from the [edit] hierarchy level, and then view the configuration from the same hierarchy level:

    [edit]
    user@host#  set shared sae configuration aggregate-services keepalive-time 86400
    [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 86400;
            keepalive-retry-time 900;
            activation-deactivation-time 900;
            failed-notification-retry-time 86400;
          }
        }
       . . .
      }
    }
    

    Display a configuration at a specific hierarchy level:

    [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;

    Move to a lower level in the hierarchy, [edit shared sae configuration aggregate-services], and then display the configuration at that level:

    [edit]
    user@host# edit shared sae configuration aggregate-services 
    [edit shared sae configuration aggregate-services]
    user@host# show 
    keepalive-time 172800;
    keepalive-retry-time 900;
    activation-deactivation-time 900;
    failed-notification-retry-time 86400;

    Display all of the last committed configuration from operational mode:

    [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  
    user@host#  commit  
    commit complete.
    [edit]
    user@host#  quit
    Exiting configuration mode.
    user@host>  show configuration
    . . .
    shared { 
      sae { 
        configuration { 
          aggregate-services { 
            keepalive-time 172800;
            keepalive-retry-time 900;
            activation-deactivation-time 900;
            failed-notification-retry-time 86400;
          }
        }
       . . .
      }
    }
    

    Published: 2014-12-09