show | display translation-scripts
Syntax
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
- show display | translation-scripts translated-config
- show | display translation-scripts configured-delta
- show | display translation-scripts translated-delta
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.
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
user@host>show | display translation-scripts translated-config system { scripts { op { file test.slax; } } }
show | display translation-scripts configured-delta
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
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