Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show | display translation-scripts

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show | display tanslation-scripts 
<configured-delta | translated-config | translated-delta>

Description

Show data after translation scripts have been applied. Translation scripts convert the configuration data corresponding to the nonnative data models into Junos OS syntax and add the translated configuration data as a transient change in the checkout configuration during the commit operation.

Options

configured-delta

Display the input configuration to the translation script.

translated-config Display the translated configuration.
translated-delta Display the output configuration from the translation script.

Required Privilege Level

view

Sample Output

show display | translation-scripts

The following truncated output displays the complete post-inheritance configuration and includes the nonnative configuration data as well as the translation of that data.

content_copy zoom_out_map
user@host>show display | translation-scripts  
## Last changed: 2016-05-13 16:37:42 PDT
  version "16.1R1;
  system {
      host-name host;
      domain-name example.com;
      ...
      /* Translated data */
      scripts {
          op {                      
            file test.slax;  
          }
      }
      ...
  }
  ...
  /* Nonnative configuration data */
  myconfig:myscript {
      op {
          filename test.slax;
      }
  }

show display | translation-scripts translated-config

content_copy zoom_out_map
user@host>show | display translation-scripts translated-config
 system {
      scripts {
          op {
              file test.slax;
          }
      }
  }

show | display translation-scripts configured-delta

content_copy zoom_out_map
user@host>show | display translation-scripts configured-delta
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/16.1R1/junos">
      <configuration operation="delete">
      </configuration>
      <configuration operation="create">
          <myscript xmlns="http://jnpr.net/yang/myscript" operation="create">
              <op>
                  <filename>test2.slax</filename>
              </op>
          </myscript>
      </configuration>
      <cli>
          <banner>[edit]</banner>
      </cli>
  </rpc-reply>

show | display translation-scripts translated-delta

content_copy zoom_out_map
user@host>show | display translation-scripts translated-delta
<rpc-reply xmlns:junos="http://xml.juniper.net/junos/R1/junos">
      <configuration xmlns:junos="http://xml.juniper.net/junos/*/junos">
          <system>
                <scripts>
                  <op>
                    <file>
                      <name>test2.slax</name>
                    </file>
                  </op>
                </scripts>
          </system>
      </configuration>
      <!-- EOF -->
      <cli>
          <banner>[edit]</banner>
      </cli>      
  </rpc-reply>

Release Information

Command introduced in Junos OS Release 16.1R1

footer-navigation