Junos OS

Expand all | Collapse all

Interface connection to PFE

Jump to Best Answer
  • 1.  Interface connection to PFE

    Posted 02-11-2020 15:53
    Hi, Is there a way for me to find out which PFE an interface is connected to in a Juniper Networks router? Thanks, P


  • 2.  RE: Interface connection to PFE

     
    Posted 02-11-2020 16:37

    Hi pluu!

     

     Are you referring to which logical interface? Could you also indicate the platform you are using?

     

    Thanks

    Esteban,



  • 3.  RE: Interface connection to PFE

    Posted 02-11-2020 17:21

    Platform: PTX10001



  • 4.  RE: Interface connection to PFE

     
    Posted 02-11-2020 19:03

    Hi Pluu,

    PTX10001 is a single PFE system, that means all the interface are mapped to PFE0.

    PS: Please accept my response as solution if it answers your query, kudos are appreicated too!

    Thanks
    Vishal



  • 5.  RE: Interface connection to PFE

    Posted 02-11-2020 21:19

    Do you know the command to determine which PFE has which interface ports? I did 'show pfe id info', and it shows 3 active PFEs; though the first Active PFE is 0.

    login@router:pfe> show pfe id info

    First Active PFE            : 0

    Effective First Active PFE  : 0

    Number of Active PFEs       : 3

    Pfe Mask                    : 0x0000000000000007

     

    PFE-ID   Down-Flags   Global PFE-ID   PFE-State   PFE-Name

    ------   ----------   -------------   ---------   --------

       0         0             0            ONLINE    /Chassis[0]/Fpc[0]/Pfe[0]

       1         0             2            ONLINE    /Chassis[0]/Fpc[0]/Pfe[2]

       2         0             4            ONLINE    /Chassis[0]/Fpc[0]/Pfe[4]



  • 6.  RE: Interface connection to PFE

     
    Posted 02-12-2020 07:41

    Can you please share "show chassis hardware" output




  • 7.  RE: Interface connection to PFE

    Posted 02-12-2020 10:45
    root@router> show chassis hardware
    Hardware inventory:
    Item             Version  Part number  Serial number     Description
    Chassis                                AAA888             JNP10001-36MR [PTX10001-36MR]
    PSM 0            REV 03   777-000      11111111           AC AFO 3000W PSU
    Routing Engine 0 REV 04   777-000      BBBBBB             Routing Engine
    CB 0             REV 11   777-000      BBBBBB             Control Board
    FPC 0                     BUILTIN      BUILTIN            FPC
      PIC 0                   BUILTIN      BUILTIN            JNP10001-36MR-PIC
        Xcvr 0       REV 01   444-000      AAAAA              QSFP+-40G-SR4
        Xcvr 2       REV 01   444-000      AAAAA              QSFP+-40G-SR4
        Xcvr 12      0        NON-JNPR
        Xcvr 13      0        NON-JNPR
        Xcvr 14      0        NON-JNPR    
        Xcvr 15      0        NON-JNPR
        Xcvr 16      0        NON-JNPR
        Xcvr 17      0        NON-JNPR
        Xcvr 18      0        NON-JNPR
        Xcvr 19      0        NON-JNPR
        Xcvr 20      0        NON-JNPR
        Xcvr 21      0        NON-JNPR
        Xcvr 22      0        NON-JNPR
        Xcvr 23      0        NON-JNPR
        Xcvr 24      0        NON-JNPR
        Xcvr 25      0        NON-JNPR
        Xcvr 26      0        NON-JNPR
        Xcvr 27      0        NON-JNPR 
        Xcvr 28      0        NON-JNPR
        Xcvr 29      0        NON-JNPR
        Xcvr 30      0        NON-JNPR
        Xcvr 31      0        NON-JNPR
        Xcvr 32      0        NON-JNPR
        Xcvr 33      0        NON-JNPR
        Xcvr 34      0        NON-JNPR
        Xcvr 35      0        NON-JNPR    
    SIB 0                     BUILTIN      BUILTIN           SIB-XXXP00000-00AA
    Fan Tray 0                                               JNP10001 Fan Tray, Front to Back Airflow - AFO
    Fan Tray 1                                               JNP10001 Fan Tray, Front to Back Airflow - AFO
    Fan Tray 2                                               JNP10001 Fan Tray, Front to Back Airflow - AFO
    Fan Tray 3                                               JNP10001 Fan Tray, Front to Back Airflow - AFO
    Fan Tray 4                                               JNP10001 Fan Tray, Front to Back Airflow - AFO
    Fan Tray 5                                               JNP10001 Fan Tray, Front to Back Airflow - AFO


  • 8.  RE: Interface connection to PFE
    Best Answer

     
    Posted 02-12-2020 11:31

    are you able to run this command from pfe:

     

    ​show mtip-mac summary

    I think you should see the PFE in Chip/Asic column



  • 9.  RE: Interface connection to PFE

    Posted 02-12-2020 13:39

    @vlsingh:

     

    Yes, I think 'show mtip-mac summary' is the correct command to figure out what port is connected to what PFE.
    Output is below, please let me know if my interpretation is correct.

     

    Ports 1-12   (indicated by Index column) connects to PFE 0 (indicated by PECHIP column)

    Ports 13-24 (indicated by Index column) connects to PFE 1 (indicated by PECHIP column)

    Ports 25-36 (indicated by Index column) connects to PFE 2 (indicated by PECHIP column)

    Why is port being called Index?

     

    root@router::pfe> show mtip-mac summary
                         MTIP CHMAC Summary
     Index   Name    PECHIP PORTNR  MAC-Inst  MAC-Ch MAC-TYPE
      1                0     5        0         0      MTIP_40GE_XLAUI
      2                0     6        0         0      MTIP_40GE
      3                0     7        0         0      MTIP_40GE_XLAUI
      4                0     8        0         0      MTIP_40GE
      5                0     4        0         0      MTIP_100GE
      6                0     4        1         0      MTIP_100GE
      7                0     4        2         0      MTIP_100GE
      8                0     4        3         0      MTIP_100GE
      9                0     3        0         0      MTIP_40GE
      10               0     2        0         0      MTIP_40GE
      11               0     1        0         0      MTIP_40GE
      12               0     0        0         0      MTIP_40GE
      13               1     5        0         0      MTIP_40GE
      14               1     6        0         0      MTIP_40GE
      15               1     7        0         0      MTIP_40GE
      16               1     8        0         0      MTIP_40GE
      17               1     4        0         0      MTIP_100GE
      18               1     4        1         0      MTIP_100GE
      19               1     4        2         0      MTIP_100GE
      20               1     4        3         0      MTIP_100GE
      21               1     3        0         0      MTIP_40GE
      22               1     2        0         0      MTIP_40GE
      23               1     1        0         0      MTIP_40GE
      24               1     0        0         0      MTIP_40GE
      25               2     5        0         0      MTIP_40GE
      26               2     6        0         0      MTIP_40GE
      27               2     7        0         0      MTIP_40GE
      28               2     8        0         0      MTIP_40GE
      29               2     4        0         0      MTIP_100GE
      30               2     4        1         0      MTIP_100GE
      31               2     4        2         0      MTIP_100GE
      32               2     4        3         0      MTIP_100GE
      33               2     3        0         0      MTIP_40GE
      34               2     2        0         0      MTIP_40GE
      35               2     1        0         0      MTIP_40GE
      36               2     0        0         0      MTIP_40GE

    Steps to see what port is connected to what PFE:

    1) Log into VTY mode from shell: ~# vty

    2) > show mtip-mac summary


    Thank you



  • 10.  RE: Interface connection to PFE

     
    Posted 02-12-2020 14:00

    Hi Pluu,

    Yes your interpretation is correct regarding port to pfe mapping. Why its called index only a developer can answer 🙂

     

            Ports 1-12   (indicated by Index column) connects to PFE 0 (indicated by PECHIP column)

            Ports 13-24 (indicated by Index column) connects to PFE 1 (indicated by PECHIP column)

            Ports 25-36 (indicated by Index column) connects to PFE 2 (indicated by PECHIP column)

    PS: Please accept my answer as solution if it answers your query, kuods are appreciated too!

    Thanks
    Vishal

     



  • 11.  RE: Interface connection to PFE

    Posted 02-11-2020 19:02

    It's physical interface, not logical interface.



  • 12.  RE: Interface connection to PFE

     
    Posted 02-12-2020 01:50

    Hi,

    maybe you can do something with the (a bit postprocessed) output from "show pfe next-hop" when filtering for your in use interface types (ether?!). Atm. I don't have a representative system at hand to try though.

    Regards

    Ulf