Junos OS

last person joined: 6 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  understanding show interfaces extensive command

    Posted 08-18-2016 14:30

     

    show interfaces ge-0/0/2 extensive   

      

    Physical interface: ge-0/0/2, Enabled, Physical link is Up

      Interface index: 227, SNMP ifIndex: 506, Generation: 230

      Link-level type: Ethernet, MTU: 1514, Speed: Auto, Duplex: Auto, BPDU Error: None, MAC-REWRITE Error: None,

      Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled,

      Remote fault: Online, Media type: Copper, IEEE 802.3az Energy Efficient Ethernet: Disabled

      Device flags   : Present Running

      Interface flags: SNMP-Traps Internal: 0x4000

      Link flags     : None

      CoS queues     : 8 supported, 8 maximum usable queues

      Hold-times     : Up 0 ms, Down 0 ms

      Current address: 64:64:9b:a1:e9:45, Hardware address: 64:64:9b:a1:e9:45

      Last flapped   : 2016-07-31 07:46:22 CDT (2w4d 08:07 ago)

      Statistics last cleared: Never

     

     

    Traffic statistics:

       Input  bytes  :         591598274183                    0 bps

       Output bytes  :          11834549437                 5112 bps

       Input  packets:            393146163                    0 pps

       Output packets:            132429034                    9 pps

       IPv6 transit statistics:

        Input  bytes  :                   0

        Output bytes  :                   0

        Input  packets:                   0

        Output packets:                   0

      Input errors:

     

     

      MAC statistics:                      Receive         Transmit

        Total octets                  591598274183      11834549437

        Total packets                    393146163        132429034

        Unicast packets                  393097251        116331020

        Broadcast packets                     9618         15062057

        Multicast packets                    39294          1035957

        CRC/Align errors                         0                0

        FIFO errors                              0                0

        MAC control frames                       0                0

        MAC pause frames                         0                0

        Oversized frames                         0

        Jabber frames                            0

        Fragment frames                          0

        Code violations                          0

     

     

    Logical interface ge-0/0/2.0 (Index 166) (SNMP ifIndex 507) (Generation 231)

        Flags: Up SNMP-Traps 0x80004000 Encapsulation: ENET2

        Traffic statistics:

         Input  bytes  :              5417578

         Output bytes  :            105179152

         Input  packets:                46573

         Output packets:               890130

        Local statistics:

         Input  bytes  :              5417578

         Output bytes  :            105179152

         Input  packets:                46573

         Output packets:               890130

        Transit statistics:

         Input  bytes  :                    0                    0 bps

         Output bytes  :                    0                    0 bps

         Input  packets:                    0                    0 pps

         Output packets:                    0                    0 pps

        Protocol eth-switch, Generation: 252, Route table: 0

     

     

    Question:

     

    From the above verification command, the traffic statistics has input bytes of 591598274183  whereas the under the logical interface the input bytes is  5417578. What do the two numbers signify ? what is the correlation between the numbers ?

     

    On the traffic statistics heading what does the 3rd column signify ? I see a 0 bps in the input bytes, but don’t know what it relates to.

     

    Does the total packets times the MTU equal to the total octects ? In our case 393146163 X 1514 = 595223290782  .

     

    How do you calculate the total average of incoming and outgoing traffic on a particular switch ?

     

    Your answers would be highly appreciated.

     

     

     



  • 2.  RE: understanding show interfaces extensive command

     
    Posted 08-18-2016 15:12

    Hi,

     

    The difference could probably be explained by PDUs that do not use logical units like STP for e.g

    rstp config does not use ge-x/x/x.0 logical unit config but rather ge-x/x/x.

    bps: bits per second

    pps: packets per second

     

    total packets times the MTU is not necessarily equal to the total octects because a packet can be smaller than the mtu size [icmp packets for example].

     

    Hope this helps.

    Cheers,

    Ashvin