Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

How Junos OS Evolved Differs from Junos OS

 

In many ways, Junos OS Evolved is the same as Junos OS: Key applications such as the routing, bridging, and management software is the same in both. And management plane interfaces and APIs, such as CLI, NETCONF, JET, JTI, AFI, and underlying data models, remain highly consistent. There are, however, some differences in behavior, the CLI syntax, and CLI and XML output. These differences are indicated throughout the Junos OS documentation. However, this section outlines the differences in one place, for your convenience. If applicable, a link takes you to the place in the Junos OS documentation that covers the item.

Behavioral Differences Between Junos OS Evolved and Junos OS

Behavioral differences between Junos OS Evolved and Junos OS are ways that the two operating systems act differently in certain circumstances. See Table 1.

Table 1: How Junos OS Evolved Behavior Differs from Junos OS

Junos OS Evolved Behavior

Junos OS Behavior

Link to Documentation

Access and Authorization

You must set up the password-less login between two devices to use jcs:open to open a connection to the local or remote device.

You are not limited to password-less login. Junos OS supports both a supplied password and interactive password, for example, to execute RPCs on remote device.

open() Function (SLAX and XSLT)

Interfaces

Multiple releases of the software can be installed on the device simultaneously as long as there is space. If there is no more space, you must delete an older image of the software before installing the new one.

Only two versions of the software can be installed on the device: the current version and the previous version.

Installing the Software Package on a Router with a Single Routing Engine

The management interface name format changed to re0:mgmt-0/re0:mgmt-1. Both the management interfaces are configurable and displayed.

The management interface name that you use depends on the type of device that you are setting up. Some devices use me0, some use fxp0, and some use em0.

Understanding Management Ethernet Interfaces

When you issue the show firewall filter ? command, the names of the firewall filters are listed. The names of the Flowspec filters are not listed. To see the names of the configured Flowspec filters, use the show firewall application routing command.

When you issue the show firewall filter ? command, you see not only the names of the firewall filters listed but also the names of the configured Flowspec filters. The Flowspec filters show up inside underscores.

show firewall

In an untagged LAG, child IFL members are created. Requests are made per child IFL member. The results are aggregated and displayed in the CLI.

In a VLAN-tagged LAG, extra child IFLs are not created as part of the aggregated Ethernet bundle. Link IFL statistics and marker statistics for child IFLs are not displayed.

Child IFL members are created in untagged and VLAN-tagged LAGs. Requests are made per child IFL member. The results are aggregated and displayed in the CLI.

Configuring Aggregated Ethernet Interfaces on PTX Series Packet Transport Routers

When a new interface is added as a member to an AE bundle, the new member interface flaps: the physical interface is deleted as a regular interface and then added back in as an AE member and the statistics are reset.

When a new interface is added as a member to an AE bundle, that new interface is not first deleted as a lone interface and then added, but everything below it is. Because the interface is not deleted, it keeps all the statistics and other history associated with it.

Aggregated Ethernet Interfaces Overview and Understanding Aggregated Ethernet Interfaces and LACP for Switches

For Junos OS Evolved, the software does not impose a limit on the maximum number of member (or child) interfaces in an aggregated interface.

For Junos OS, there is a limit of 64 member (or child) interfaces in an aggregated interface.

Aggregated Ethernet Interfaces Overview and Understanding Aggregated Ethernet Interfaces and LACP for Switches

The command show chassis fan displays RPM in % measurement to indicate RPM speed.

The command show chassis fan displays RPM speed through indicated normal/high speed output.

show chassis fan

Messaging

The process eventd does not give any warning message if there are duplicate policies. Instead eventd accepts the policy on a first-come, first-served basis.

The process eventd gives a warning message if you try to create duplicate policies.

How Event Policies Work

When the regular expression is to return empty matches, no error is message is displayed.

When the regular expression is to return empty matches, you get the following error: regex error: empty (sub)expression

Junos System Log Regular Expression Operators for the match Statement

For op scripts run with the max-datasize configuration statement configured for the minimum, an error occurs. In Junos OS Evolved, the error is "Out of memory."

For op scripts run with the max-datasize configuration statement configured for the minimum, an error occurs. In Junos OS, the error is "Memory allocation failed."

max-datasize

Troubleshooting

For Junos OS Evolved, a core file created during early bootup is stored in /var/core/re. But a core later in the bootup, for example, after the Routing Engine slot number can be determined, is stored in /var/core/re0 or /var/core/re1. The command show system core-dumps continues to show all cores generated.

For Junos OS, cores files are stored in /var/ctrash or /var/tmp.

show system core-dumps

The request system snapshot command takes a snapshot of the contents of the /soft directory only.

The request system snapshot command takes a snapshot of the contents of the /var/log,/var/core, /var/tmp, and /softdirectories.

request system snapshot, Back Up the Currently Running and Active File System, Understanding How to Back Up an Installation on Switches

The hierarchy set system scripts commit traceoptions does not exist. traceoptions is disabled for op, event, and commit scripts.

Use traceoptions to define tracing operations that track all routing protocol functionality in the routing device.

traceoptions

User Interface

The menu used for root password recovery is the Grub Menu.

*Primary ptx-fixed-19.1-16 
 Primary [Recover password] 
 Primary-Rollback ptx-fixed-19.1-15
 Primary-Rollback [Recover password]

The menu used for root password recovery in Junos OS is the Junos Main Menu (the Recovery mode option).

Recovering Root Password

The show system firmware command displays information based on the accessibility of the device, not the FRU state. The firmware information is cached so, even if the FRU is in a fault condition, the status from the show system firmware command appears as OK. But the fault is visible with the commands show chassis alarms, show chassis fpc, and so on.

When the FRU is offline, the cached firmware information of the FRU is not available to see.

show system firmware

The extension-service configuration statement is removed from the [edit system extensions] hierarchy.

On Junos OS, the Python Interpreter Interactive mode is disabled. There is a CLI configuration to enable and run JET and third-party applications.

Juniper Extension Toolkit Developer Guide

New CLI Statements and Commands (Junos OS Evolved)

The changes in infrastructure between Junos OS and Junos OS Evolved sometimes require different CLI configuration statements and operational commands. For example, there is a new hierarchy level of statements in Junos OS Evolved that are not in Junos OS: [edit security host-vpn]. For more on these new statements and commands, see Table 2.

Table 2: New CLI Statements and Commands (Junos OS Evolved)

Statement or Command

Description

Link

New Statements

[edit security host-vpn]

Support for host IPsec in the control plane only (that is, IPsec between the router and external management devices, which is not available in Junos OS. This statement configures a host-to-host VPN type of IPsec connection. Use the connections, ike-log, and ike-secrets statements at the [edit security host-vpn] hierarchy level to configure IKE and IPsec values.

Overview of IPsec and host-vpn

[edit security host-vpn connections]

You can configure the additional algorithms aes256-sha384-modp3072 and  aes256-gcm128-modp3072 at each of the following hierarchy levels:

  • [edit security host-vpn connections parent-connection-name ike-proposal]

  • [edit security host-vpn connections parent-connection-name children child-connection-name esp-proposal]

connections (Host VPN) and children

[edit security host-vpn connections children child-name]

Statements at this hierarchy level include local-traffic-selector, remote, and remote-traffic-selector.

children

[edit security host-vpn connections dpd-delay]

Statement to support dead peer detection. The dead peer detection delay sends keepalives to know if a peer has gone dead.

connections (Host VPN)

[edit security host-vpn ike-log]

Statements at the [edit security host-vpn] hierarchy level used to configure IKE and IPsec values.

ike-log

[edit security host-vpn ike-secrets]

Statements at the [edit security host-vpn] hierarchy level used to configure IKE and IPsec values.

ike-secrets

[edit security host-vpn remote]

Configure identity details for authenticating the remote device during IKE negotiations.

remote (Host VPN)

[edit system trace application]

For Junos OS Evolved, trace data from all applications on all nodes is collected on the Routing Engine. You can view collected traces with the show trace command. You can remove inactive tracing sessions with the clear trace command.

trace

New Commands

clear security host-vpn security-associations

Clear host IPsec security association information. You can configure host IPsec with the [edit security host-vpn] statement.

clear security host-vpn security-associations

clear trace

Junos OS Evolved uses a new tracing infrastructure. This command deletes the trace data stored on the Routing Engine.

clear trace

request system application

Start a specific process (for example cmdd) on the node you specify.

request system application

request system debug-info

Collect debug information from Junos OS Evolved, such as logs. The logs are stored in the /var/tmp/debug_collector_timestamp directory. Use the node option to collect information from a specific node.

request system debug-info

request system software validate-restart

The command performs a dry run of the request system software add restart command and displays the ISSU impact of the new restart option. See request system software add for more on the restart option.

request system software validate-restart

request system shutdown

Halt, power off, or reboot the entire system.

request system shutdown (halt | power-off | reboot)

restart

The following message will be logged when the restart command is used:

App restarting <app name>. Related apps that may be impacted - <related-app name> .

restart

show security host-vpn security-associations

Display host IPsec security association information for a specific security association or for all connections. You can configure host IPsec with the host-vpn statement at the [edit security] hierarchy level.

show security host-vpn security-associations

show security host-vpn version

Display the version of IPsec being used in the system.

show security host-vpn version

show system applications

Display information about active applications on the system.

show system applications

show system errors

Display information about faults in the system.

Note: For Junos OS Evolved, only the QFX5200 supports this command. For all other Junos OS Evolved platforms, use the show system errors active, show system errors count, show system errors error-id, or show system errors fru command.

show system errors

show system errors history

Display information about faults in the system that have been cleared.

Note:

For Junos OS Evolved, only the QFX5200 supports this command. For all other Junos OS Evolved platforms, use the show system errors active, show system errors count, show system errors error-id, or show system errors fru command.

show system errors history

show system software list

Display the installed versions on the Routing Engines in the system.

show system software list

show system ztp

Junos OS Evolved implements ZTP using the Linux dhcp client. Users can find out the interfaces chosen by ZTP, arguments returned by DHCP, and ZTP state machine states.

show system ztp

show trace

Junos OS Evolved uses a new tracing infrastructure. This command shows the trace data from all nodes that are collected on the Routing Engine .

show trace

Modified CLI Statements and Commands (Junos OS Evolved)

Some CLI statements and commands in Junos OS Evolved have a different set of options from Junos OS. For a list of these changes, see Table 3.

Note

For the CLI commands that produce changed output, see Table 4.

Table 3: Modified CLI Statements and Commands (Junos OS Evolved)

Statement or Command

Change in Junos OS Evolved

Link

Modified Statements

[edit interfaces interface-name unit logical-unit-number vlan-id]

The option vlan-id 0 is not supported for this statement.

vlan-id (VLAN ID to Be Bound to a Logical Interface)

[edit system login password]

The format option for this statement is limited to the following options: (md5 | sha256 | sha512).

format (System Login)

Modified Commands

clear ipv6 neighbors

In Junos OS Evolved, issuing the clear ipv6 neighbors command clears the cache for IPv6 neighbors in a reachable state.

clear ipv6 neighbors

configure

The dynamic option of the configure command is deprecated. The configure dynamic command is used to configure routing policies and certain routing policy objects in a dynamic database at the [edit dynamic] hierarchy level, a level you enter only by using the configure dynamic command. Because the configure dynamic command is deprecated, you cannot configure objects in a dynamic database, and you cannot use the dynamic-db statement.

configure

ping

The following options of the ping command are deprecated:

  • detail

  • logical-system

  • loose-source

  • mac-address

  • strict

  • strict-source

  • vpls

ping

request system software add

The following options of the request system software add command are deprecated:

  • best-effort-load

  • both-routing-engines

  • chassis

  • device-alias

  • delay-restart

  • force-host

  • lcc

  • member

  • no-copy

  • on-primary

  • (re0 | re1)

  • re-choice

  • satellite

  • scc

  • set

  • sfc

  • upgrade-group

  • unlink

  • validate

  • validate_choice

  • validate-on-host

  • validate-on-routing-engine

request system software add

request system software delete

The following options of the request system software delete command are deprecated:

  • chassis

  • lcc

  • member

  • re-choice

  • scc

  • sfc

  • upgrade-group

  • unlink

  • validate

  • validate_choice

  • validate-on-host

  • validate-on-routing-engine

request system software delete

request system software rollback

The following options are added to the request system software rollback command:

  • (no-validate | validate)

  • with-old-snapshot-config

The following options are deprecated from the request system software rollback command:

  • device-alias

  • satellite

  • satellite-arg

  • upgrade-group

request system software rollback

request system software validate

The following options of the request system software validate command are deprecated:

  • chassis

  • lcc

  • member

  • package-options

  • scc

  • sfc

request system software validate

request system storage cleanup

A new option, force-deep, is added that cleans up all user-generated files as well.

request system storage cleanup

request system storage cleanup

The user is prompted to check the list of files to be deleted using the dry-run option.

The following options are deprecated:

  • re0

  • re1

  • routing-engine

request system storage cleanup

show firewall

The application lsp option is introduced, which you use to display implicit policers that are published by rpd.

show firewall

show host

The routing-instance mgmt_junos option is introduced.

show host

show system connections

The following options of the show system connections command are deprecated: extensive and show-routing-instance.

The node option is introduced.

show system connections

show system core-dumps

The node option is introduced. the core dump files generated on the nodes are stored in the /var/core/ directory.

show system core-dumps

show system processes

The following options of the show system processes command are deprecated:

  • esc-node

  • health

  • resource-limits

show system processes

telnet

The following options of the telnet command are deprecated:

  • bypass-routing

  • interface

  • logical-system

  • no-resolve

  • source

telnet

traceroute

The following options of the traceroute command are deprecated:

  • logical-system

  • next-hop

  • port

  • propogate-ttl

traceroute

Changed CLI Command Output (Junos OS Evolved)

For changes in output for Junos OS Evolved, see Table 4.

Table 4: Changed Command Output (Junos OS Evolved)

Command

Description of Change in Output

Link

clear interfaces statistics

Clears not only LACP statistics but also the counters displayed in the show lacp statistics interfaces command.

ping

When pinging a nonresponsive route, the display output of the ping command does not print the number of packets sent or received or the number of packets loss.

ping

request system snapshot

Output displays the names of the directory and the individual files being copied instead of only the directory names.

request system snapshot

show system snapshot

Output displays the snapshot device and a list of snapshots. The list shows the names of the snapshots instead of the version of the operating system. Output does not display the date the snapshot was created.

show system snapshot

request system software delete

Output displays the version instead of the package.

request system software delete

request system software rollback

Output displays the version instead of the package.

request system software rollback

The show chassis environment cb command does not show the Bus and FPGA revision information. Use the show system firmware command in order to view the FPGA revision or version information for the CB.

Use the show chassis environment cb command to display environmental information about the Control Boards (CBs).

show chassis environment cb

show chassis environment fpc

Displays different output.

show chassis environment fpc

show interfaces

LACP packets on the members of an AE interface are not counted as part of the Bundle Input Statistics in the show interfaces ae number extensive command output.

show interfaces (Aggregated Ethernet)

show interfaces

Configuration of IPv6 over the re0:mgmt-* interfaces is supported.

-

show interfaces detail

Output displays the Last Flapped field with the value Never after a Routing Engine reboot. The Last Flapped field provides details of the date, time, and how long ago the interface went up. The value Never signifies that the interface never flapped.

show interfaces detail

show interfaces extensive

Output does not display the Packet Forwarding Engine configuration and CoS default bandwidth allocation information.

show interfaces (M Series, MX Series, T Series Routers, and PTX Series Management and Internal Ethernet)

show multicast route extensive

Output displays the Sensor ID field that corresponds to a multicast route.

show multicast route

show multicast usage

Output displays the Sensor ID field that corresponds to a multicast route.

show multicast usage

show snmp mib walk

The show snmp mib walk jnxFilledDescr output only shows the fan tray number. This output does not show the number of fan slots present in each tray.

show snmp mib

show snmp mib get

Output for a Routing Engine displays the Routing Engine slot number, not the Routing Engine number.

show snmp mib

show system errors fru detail

Output displays status of FRUs including CB, chassis, fans, FPC, FPM, PDU, PICS, PSM, RE, and SIB, not just FPC.

show system errors fru

show system statistics arp

After running ping on an unreachable host, output shows that counts for ARP requests received and for datagrams for an address no on the interface are incremented.

show system statistics tcp

Output for the show system statistics tcp command is trimmed to show only fields supported in Junos OS Evolved.

show system statistics tcp

show system uptime

Output displays only the System booted and System-wide users information. The output does not display information on current time, system booted, protocols started, or last configured parameters. The show system uptime node command shows the other information

show system uptime

show task replication

Output displays the same state whether the command is run from the master or spare Routing Engine.

show task replication

show version

Output of the show version command is changed to clearly show which Junos architecture is running on the device.

Output of the show version node all command is revised to explicitly identify the Routing Engine in both the XML and CLI output.

show version

Removed CLI Statements and Commands (Junos OS Evolved)

For a listing of which CLI statements and commands are removed from Junos OS Evolved, see Table 5. Where there is an alternative statement or command to use, it is noted in the table.

Table 5: Removed CLI Statements and Commands (Junos OS Evolved)

Statement or Command

Description

Removed Statements

edit system extensions

You do not need this configuration in Junos OS Evolved. Run JET applications directly using a Python interpreter instead of configuring and invoking them in the CLI.

[edit system extensions extension-service]

Deprecated. This configuration was used to configure and run Junos extension service scripts (e.g., Python scripts) from the CLI. .

edit system services extension-service notification

Notification service for JET applications is not supported in Junos OS Evolved.

traceoptions

The traceoptions option is removed from many of the hierarchy levels. Routing protocols (the [edit protocols] hierarchy level) is one of the applications still using traceoptions.

Removed Commands

request extension-service

Junos OS Evolved is a Linux system. It makes sense to run Python applications directly with the Python interpreter rather than the CLI. CLI in this case in deprecated. .

request system software abort

Deprecated. There is no alternate command replacing it. The request system software add command has a built-in feature not to start an upgrade if a reboot is pending after an upgrade or rollback.

request system software (add | delete) set

Deprecated.

request system software in-service-upgrade

Deprecated. Use the request system software add restart command for ISSU. The request system software add command has a built-in feature not to start upgrade if a reboot is pending after an upgrade or rollback.

request system software set

Deprecated. To set the current system to an installed software version, use the request system software rollback reboot command.

request system storage user-disk

Deprecated. There are no satellite packages in Junos OS Evolved.

set date

Setting the date/time manually is not supported. NTP is the only supported method to maintain/set time. If you issue the set date command, an error occurs.

show chassis fabric unreachability

Deprecated. See the show system errors command for similar functionality.

show chassis fabric summary

The show chassis fabric summary command is removed. See the show system errors command for similar functionality.

show chassis network-services

Deprecated.

show class-of-service forwarding-table

Deprecated. The removed options include classifier, classifier mapping, drop-profile, policer, rewrite-rule, rewrite-rule mapping, scheduler-map, and shaper.

show database-replication

Deprecated.

show interfaces em0 | em1

The em0 and em1 Ethernet management interfaces are removed. Use re0:mgmt-* for Routing Engine 0 (Routing Engine 1 would be re1:mgmt-*).

show interfaces ixgbe0 | ixgbe1

The ixgbe0 and ixgbe1 internal interfaces are removed.

show interfaces mac-database

Deprecated. The MAC accounting and policing not supported message is displayed.

show pfe

Deprecated.

show system switchover

Deprecated.

request extension-service

You do not need this command in Junos OS Evolved.

set system services xnm-clear-text

Command is not supported and has been deprecated from Junos OS Evolved.

XML Differences Between Junos OS and Junos OS Evolved

This section lists the differences in XML output between Junos OS and Junos OS Evolved.

system storage cleanup

In Junos OS, the output of this command uses the file XML tag for all file types in the list of files to be deleted. In Junos OS Evolved, the output of this command groups different file types inside different XML tags.

system storage cleanup | display XML (Junos OS)

user@host> request system storage cleanup | display xml

system storage cleanup | display XML (Junos OS Evolved)

user@host> request system storage cleanup | display xml