Junos OS

Expand all | Collapse all

Show the status of all protocols on Junos devices

Jump to Best Answer
  • 1.  Show the status of all protocols on Junos devices

    Posted 02-26-2020 22:08

    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,



  • 2.  RE: Show the status of all protocols on Junos devices
    Best Answer

     
    Posted 02-27-2020 00:04

    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



  • 3.  RE: Show the status of all protocols on Junos devices

     
    Posted 02-27-2020 00:20

    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 \:)/

     

     

     

     



  • 4.  RE: Show the status of all protocols on Junos devices

     
    Posted 02-27-2020 00:44

    Hi,

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

    show system connections show-routing-instances | match default

    help?

    Regards

    Ulf



  • 5.  RE: Show the status of all protocols on Junos devices

     
    Posted 02-27-2020 08:46

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