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 trapstats2) show filter bindpoints
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?
>start shell pfe network fpc% (%--> use FPC number)
#show filter bindpoints
i did not find "show cda trapstats" command can you verify if this is correct one ?
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
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.
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!
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
Thank you for accepting the solution. Glad that i was able to help you.
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: all-discard Counters:Name Bytes Packetsall 0 0
I hope this helps. Please mark this post "Accept as solution" if this answers your query.
Kudos are always appreciated!