Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  How to access PFE and RE modes of Junos

    Posted 06-13-2020 16:35

    Hi, 

    How do I access the PFE and RE planes (modes) of Junos Router?
    Specifically, I like to access outputs of the following commands of PFE and RE modes (not CLI mode)

     

    PFE comands:
    1) show cda trapstats
    2) show filter bindpoints

     

    RE commands:

    show firewalls

    Thanks,

    PL


    #RE
    #pfe
    #filter
    #firewall


  • 2.  RE: How to access PFE and RE modes of Junos

     
    Posted 06-13-2020 20:17

    Hi PL2,

     

    I understand you are executing this commands on PTX10008 platform. To answer your query.

     

    How do I access the PFE and RE planes (modes) of Junos Router?

    For PFE

    >start shell pfe network fpc%       (%--> use FPC number)

    #show filter bindpoints

    #show firewall

     

    i did not find "show cda trapstats" command can you verify if this is correct one ?

     

    For RE

    Whatever commands you are executing on operational mode you are interacting with RE plane itself.

     

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

     

    Kudos are appreciated too 

     

    Regards,

    Nadeem

     

     



  • 3.  RE: How to access PFE and RE modes of Junos

    Posted 06-14-2020 12:40

    Hi, Nadeemm:

    I used mx960. The commands below for PFE were not availble for this model.
    Thanks for pointing out that RE commands are CLI commands.

     

    PL



  • 4.  RE: How to access PFE and RE modes of Junos

    Posted 06-15-2020 02:20

    Hi PL2, 

     

    Greetings, 

     

    Looks like the pfe commands that you shared are valid for PTX 10003/PTX10008 and these are not available on the MX 960 or other platforms. 

     

    The method still remains the same: Login to FPC shell and run the pfe command. 

    Alternatively, you could use the cli command to execute a pfe command like this : 

    request pfe execute command "<pfe command>" target fpc<#>
    Ex: request pfe execute command "show firewall" target fpc1

    Hope this helps. 

     

    Please mark "Accept as solution" if this answers your query. 

     

    Kudos are appreciated too! 

     

    Regards, 

    Sharat Ainapur

     

     


    #pfe
    #cli
    #command


  • 5.  RE: How to access PFE and RE modes of Junos
    Best Answer

     
    Posted 06-19-2020 20:10

    Hi PL2,

     

    Yes these commands are specifically for PTX platforms. Kindly mark solution as accepted so that people can benefit.

     

    abc:pfe> show cda trapstats pfe 9 

    Trap Stats pfe:9

    DEVTRAPCODE                                              NAME                COUNT                 RATE

       9      43                                       igp.ups_err                  135                    0

       9     165                        irp.pdct.pol_drop_trapcode             89782550                    0

       9     191                                 edf.desc_addr_err           5630829115                    0

       9     216                                      erw.trap_all           1643959048                    0

       9     250                               sw.egnh.cfg_discard           7036025554                    0

       9     252                       sw.nh.discard_sampling_trap                45987                    0

     

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

     

    Kudos are appreciated too 

     

    Regards,

    Nadeem

     

     



  • 6.  RE: How to access PFE and RE modes of Junos

     
    Posted 06-20-2020 01:16

    Hi PL2,

     

    Thank you for accepting the solution. Glad that i was able to help you.

     

    Regards

    Nadeem



  • 7.  RE: How to access PFE and RE modes of Junos

     
    Posted 06-15-2020 00:57

    Hello PL2,

     

    You can try the below command to enter FPC[PFE] and RE modes.

     

    1. For FPC on MX960:

     

    labroot@jtac-mx960-r2006-re0> start shell
    % vty fpc11         ---> Enter into any FPC by changing the FPC number.


    SMPC platform (1750Mhz Intel(R) Atom(TM) CPU processor, 3168MB memory, 8192KB flash)

    SMPC11(jtac-mx960-r2006-re0 vty)# show cmerror module brief  -- > Entered into FPC 11


    SMPC11(jtac-mx960-r2006-re0 vty)# show cda trapstats
    ^
    Syntax error at `cda'.

    SMPC11(jtac-mx960-r2006-re0 vty)# show filter bindpoints
    ^
    Syntax error at `bindpoints'.

     

    Can you double check which command you want to run in the PFE?

     

    ------

    2. For RE on MX960

     

    Once you enter the operational mode[CLI] and execute the commands, you are actually interacting with the RE itself. In configuration mode[#], you can modify/Edit the config saved on the RE.

     

    labroot@jtac-mx960-r2006-re0> show firewall

    Filter: PROTECT-RE

    Filter: all-discard
    Counters:
    Name Bytes Packets
    all 0 0

     

     

    I hope this helps. Please mark this post "Accept as solution" if this answers your query.

     

    Kudos are always appreciated! Smiley Happy

     

    Best Regards,

    Lingabasappa H


    #shell
    #RE
    #pfe