Junos
Highlighted
Junos

Show the status of all protocols on Junos devices

‎02-26-2020 10:07 PM

Hi,

 

What's the command to display the status (enabled/disabled) of all the protocols on Junos? I tried to determine which one is on or off. Thanks,

I found '#show protocols' command (in config mode), but this is what I configured right, not the status of protocols? Or is it the same thing?

 

Thanks,

4 REPLIES 4
Highlighted
Junos
Solution
Accepted by topic author pluu
‎02-27-2020 08:01 PM

Re: Show the status of all protocols on Junos devices

‎02-27-2020 12:04 AM

Hello Pluu

 

I believe #show protocols' command (in config mode) you can use to check the currently configured protocols. However to check the operational status of the protocols you have to individually check for each protocol.

If you want to check the protocol routes you may use

show route protocol <protocol name>

 

Hope this helps

Highlighted
Junos

Re: Show the status of all protocols on Junos devices

‎02-27-2020 12:20 AM

Hi pluu,

 

Greetings, It is not the same thing, as you mentioned #show protocols will show you the protocols that are configured however if you what to check the status you need some show commands for each protocol since there is not a general output or show command for all protocols.  

 

Example: 

 

 

root@test# show protocols
ospf {
area 0.0.0.0 {
interface irb.1;
}
}
lldp {
interface all;
}

Here as you can see we have configuration for OSPF and LLDP

 

if you want to know the status of each you can use the following command:

 

> show ospf neighbors

> show lldp neighbors

 


Regards,
Lil Dexx
JNCIE-ENT#863, 3X JNCIP-[SP-ENT-DC], 4X JNCIA [cloud-DevOps-Junos-Design], Champions Ingenius, SSYB

 

If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \Smiley Happy/

 

 

 

 

Highlighted
Junos

Re: Show the status of all protocols on Junos devices

‎02-27-2020 12:43 AM

Hi,

not sure what the background of the question is, but would:

show system connections show-routing-instances | match default

help?

Regards

Ulf

--
If this worked for you please flag my post as an 'Accepted Solution' so others can benefit. A kudo would be cool if you think I earned it.
Highlighted
Junos

Re: Show the status of all protocols on Junos devices

‎02-27-2020 08:46 AM

No such command that I am aware of. need to check one by one 


Mengzhe Hu
JNCIE x 3 (SP DC ENT)