Description

After a fresh installation of NFX150 on Junos OS 18.1R1, an error is encountered when attempting to run show interfaces terse or request support information .

This article gives the cause for the error, and a workaround to resolve the error.

 

Symptoms

When running show interfaces terse or request support information , the following error message is seen:

root@t01-38# run show interfaces terse
                      error: Error executing the command in JCP 192.168.1.2                      
                                                                                                           

 

Solution

The new Junos Node Unifier (JNU) management daemon, JNUD, uses Netconf over SSH for internal communications. Because root-login is set to deny by default, any commands to communicate with the Junos Control Plane (JCP) are denied, including show interfaces terse and any related commands.

 

The workaround to successfully execute show interfaces terse or request support information on NFX150 is to allow root-login .

root@t01-38# run show interfaces terse     
error: Error executing the command in JCP 192.168.1.2

[edit]
root@t01-38# set system services ssh root-login allow 

[edit]
root@t01-38# commit 
commit complete

[edit]
root@t01-38# run show interfaces terse     
Interface               Admin Link Proto    Local           Remote
lc-0/0/0                up    up
lc-0/0/0.32769          up    up   vpls    
pfe-0/0/0               up    up
pfe-0/0/0.16383         up    up   inet    
                                   inet6   
pfh-0/0/0               up    up
pfh-0/0/0.16383         up    up   inet    
pfh-0/0/0.16384         up    up   inet    
ge-1/0/0                up    up
gr-1/0/0                up    up
ip-1/0/0                up    up
lt-1/0/0                up    up
ge-1/0/1                up    down
ge-1/0/1.0              up    down inet     2.2.2.1/24      
                                   multiservice
ge-1/0/2                up    down
ge-1/0/2.0              up    down inet     1.1.1.1/24      
                                   multiservice
cbp0                    up    up
dsc                     up    up
em1                     up    up
em1.0                   up    up   inet     10.0.0.4/8      
                                        
[edit]
root@t01-38# 
 

Note: Future releases (available in 18.1R3-S2, 18.2R3, 18.3R2, and 18.4R1) will have the ability to run these commands without having to execute root-login allow .