Junos OS

 View Only
last person joined: 2 days ago 

Ask questions and share experiences about Junos OS.
  • 1.  MX204: Zero counters on logical interfaces on ae-bundle

    Posted 01-31-2019 03:04

    Hello!

    Recently we moved customers from MX80 to MX204 and after that we lost all statistics because MX204 shows zeros on Layer3 logical interface on ae-bundle:

    minotaur@br1-ki# run show configuration interfaces ae0.409 
    description "Customer";
    vlan-id 409;
    family inet {
        no-redirects;
        address 185.192.250.161/30;
    }
    
    [edit]
    minotaur@br1-ki# run show interfaces ae0.409 statistics       
      Logical interface ae0.409 (Index 361) (SNMP ifIndex 568)
        Description: Customer: OTT Ukraine
        Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.409 ]  Encapsulation: ENET2
        Statistics        Packets        pps         Bytes          bps
        Bundle:
            Input :             0          0             0            0
            Output:             0          0             0            0
        Adaptive Statistics:
            Adaptive Adjusts:          0
            Adaptive Scans  :          0
            Adaptive Updates:          0
        Protocol inet, MTU: 1500
        Max nh cache: 100000, New hold nh limit: 100000, Curr nh cnt: 1, Curr new hold cnt: 0, NH drop cnt: 0
          Flags: No-Redirects, Sendbcast-pkt-to-re
          Addresses, Flags: Is-Preferred Is-Primary
            Destination: 185.192.250.160/30, Local: 185.192.250.161, Broadcast: 185.192.250.163
        Protocol multiservice, MTU: Unlimited
    

    I've searched through documentation and Knowledge Base and haven't found any explanation why this happens.
    Any help is kindly appreciated. Thanks!



  • 2.  RE: MX204: Zero counters on logical interfaces on ae-bundle
    Best Answer

    Posted 01-31-2019 03:11

    My guess is that you have used 'ether-options' on your interface. On MX routers you should use 'gigether-options' instead.

    I have seen similar issue at one of my customers.

     

    Please try changing to gigether-options and revert with the result.

     

    ether-options are for EX switches: https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/ether-options-interfaces-ex-series.html

     

    gigether-options are for MX routers: https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/gigether-options-edit-interfaces.html



  • 3.  RE: MX204: Zero counters on logical interfaces on ae-bundle

    Posted 01-31-2019 03:27

    Dear Jonas,
    thank you for prompt feedback.
    Yes, you're right, I have ether-options in physical interface configuration. I will try to replace it with gigether-options tonight.