Junos OS

Expand all | Collapse all

MX - SNMP

Jump to Best Answer
  • 1.  MX - SNMP

    Posted 01-16-2020 03:09

    Hello,

     

    I've got an MX204 router and I'm using all break-out ports xe-0/0/[0-3]:[0-3].

    These interfaces have a couple of thousand logical units which i don't want to monitor.

    How would a regular expression look like to ony get the physical ports in an SNMP walk (i.e. xe-0/0/0:0 and xe-0/0/1:3) ?

     

    I've tried numerous things and so far I've got this one (which works fine for a MX5, but not for a MX204):

    "!(ge-.*/[0-9]$|ge-.*/1[0-9]$|xe-.*/[0-9]$|xe-.*/1[0-9]$|ae[0-9] $)"

     

    Beeelze



  • 2.  RE: MX - SNMP
    Best Answer

    Posted 01-16-2020 04:15

    Solution:

     

    "!(ge-.*/[0-9]$|ge-.*/1[0-9]$|xe-.*/[0-9]$|xe-.*/1[0-9]$|ae[0-9]$|xe-0/0/[0-3]:[0-3]$)"