SRX

 View Only
last person joined: 21 hours ago 

Ask questions and share experiences about the SRX Series, vSRX, and cSRX.
  • 1.  egress queue stats and logical interfaces

    Posted 10-12-2017 18:03

    Hi everyone,

     

    Please consider the following example:

     

    On SRX 650, we have following logical interfaces :

     

    ge-0/0/1 unit family inet   1.1.1.1

    ge-0/0/2 unit family inet  2.2.2.2

     

    so when I do show interface queue ge-0/0/1, is it showing the totals egress stats of all logical interfaces?

     

    My second question is there anyway we can have seperate  egress STATS for each logical interface? 

     

    Will enabling per unit scheduler i.e set interface ge0/0/1 per unit scheduler do the trick?

     

    Thanks,



  • 2.  RE: egress queue stats and logical interfaces
    Best Answer

     
    Posted 10-13-2017 00:47

    Without per-unit-scheduler, queue statistics are available for physical interface only

     

    lab@SRX1-A# show interfaces fe-0/0/1
    vlan-tagging;
    unit 10 {
        vlan-id 10;
        family inet;
    }
    unit 20 {
        vlan-id 20;
        family inet;
    }
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1 egress
    Physical interface: fe-0/0/1, Enabled, Physical link is Down
      Interface index: 135, SNMP ifIndex: 503
    Forwarding classes: 8 supported, 4 in use
    Egress queues: 8 supported, 4 in use
    Queue: 0, Forwarding classes: best-effort
      Queued:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
      Transmitted:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
        Tail-dropped packets :                     0                     0 pps
        RED-dropped packets  :                     0                     0 pps
    ---cut
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1.10 egress
      Logical interface fe-0/0/1.10 (Index 74) (SNMP ifIndex 562)
        Flags: Device-Down SNMP-Traps 0x0 VLAN-Tag [ 0x8100.10 ]
        Encapsulation: ENET2
        Input packets : 0
        Output packets: 0
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1.20 egress
      Logical interface fe-0/0/1.20 (Index 75) (SNMP ifIndex 564)
        Flags: Device-Down SNMP-Traps 0x0 VLAN-Tag [ 0x8100.20 ]
        Encapsulation: ENET2
        Input packets : 0
        Output packets: 0

    With per-unit-sceduler, queue statistics are available for physical interface and logical units

     

    lab@SRX1-A# show interfaces fe-0/0/1
    per-unit-scheduler;
    vlan-tagging;
    unit 10 {
        vlan-id 10;
        family inet;
    }
    unit 20 {
        vlan-id 20;
        family inet;
    }
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1 egress
    Physical interface: fe-0/0/1, Enabled, Physical link is Down
      Interface index: 135, SNMP ifIndex: 503
    Forwarding classes: 8 supported, 4 in use
    Egress queues: 8 supported, 4 in use
    Queue: 0, Forwarding classes: best-effort
      Queued:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
      Transmitted:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
    ---cut
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1.10 egress
      Logical interface fe-0/0/1.10 (Index 77) (SNMP ifIndex 562)
    Forwarding classes: 8 supported, 4 in use
    Egress queues: 8 supported, 4 in use
    Burst size: 0
    Queue: 0, Forwarding classes: best-effort
      Queued:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
      Transmitted:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
    ---cut
    
    lab@SRX1-A# run show interfaces queue fe-0/0/1.20 egress
      Logical interface fe-0/0/1.20 (Index 78) (SNMP ifIndex 564)
    Forwarding classes: 8 supported, 4 in use
    Egress queues: 8 supported, 4 in use
    Burst size: 0
    Queue: 0, Forwarding classes: best-effort
      Queued:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
      Transmitted:
        Packets              :                     0                     0 pps
        Bytes                :                     0                     0 bps
        Tail-dropped packets :                     0                     0 pps
        RED-dropped packets  :                     0                     0 pps
    
    --cut

    Regards, Wojtek