RARE/freeRouter - bridge MAC packet
Display Bridge MAC packet metrics
`scope:local` to freeRouter node

freeRouter Prometheus configuration: (copy & paste in freeRouter CLI)
```
 metric brmac command sho bridge 1 | beg addr
 metric brmac prepend br_mac_
 metric brmac name 0 mac=
 metric brmac addname 1 * ifc=
 metric brmac replace \. _
 metric brmac column 3 name pack_tx
 metric brmac column 3 split + typ="sw" typ="hw"
 metric brmac column 4 name pack_rx
 metric brmac column 4 split + typ="sw" typ="hw"
 metric brmac column 5 name pack_dr
 metric brmac column 5 split + typ="sw" typ="hw"
 metric brmac column 6 name byte_tx
 metric brmac column 6 split + typ="sw" typ="hw"
 metric brmac column 7 name byte_rx
 metric brmac column 7 split + typ="sw" typ="hw"
 metric brmac column 8 name byte_dr
 metric brmac column 8 split + typ="sw" typ="hw"
```
Display Bridge MAC packet metrics
{
  "__inputs": [
    {
      "name": "DS_MP-LS.PROMETHEUS",
      "label": "mp-ls.prometheus",
      "description": "",
      "type": "datasource",
      "pluginId": "prometheus",
      "pluginName": "Prometheus"
    }
  ],
  "__requires": [
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.2.0"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "prometheus",
      "name": "Prometheus",
      "version": "1.0.0"
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "description": "Display Bridge MAC packet metrics",
  "editable": true,
  "gnetId": 13246,
  "graphTooltip": 0,
  "id": null,
  "iteration": 1603357273158,
  "links": [],
  "panels": [
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_MP-LS.PROMETHEUS}",
      "description": "",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "links": [],
          "unit": "pps"
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 9,
        "w": 24,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "alignAsTable": true,
        "avg": true,
        "current": true,
        "max": true,
        "min": true,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": true
      },
      "lines": true,
      "linewidth": 1,
      "maxPerRow": 3,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.2.0",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "repeat": "mac",
      "repeatDirection": "h",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "expr": "rate(br_mac_pack_tx{instance=\"$instance\",typ=\"$cntr_type\",mac=\"$mac\",ifc=\"$instance_iface\"}[1m])",
          "interval": "",
          "legendFormat": "tx",
          "refId": "A"
        },
        {
          "expr": "rate(br_mac_pack_rx{instance=\"$instance\",typ=\"$cntr_type\",mac=\"$mac\",ifc=\"$instance_iface\"}[1m])",
          "interval": "",
          "legendFormat": "rx",
          "refId": "B"
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "${cntr_type}:${instance_iface}:${mac}",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "format": "pps",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        },
        {
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    }
  ],
  "refresh": "5s",
  "schemaVersion": 26,
  "style": "dark",
  "tags": [
    "[scope:local]"
  ],
  "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_MP-LS.PROMETHEUS}",
        "definition": "label_values({__name__=~\"^br_mac_.*\"},instance)",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "instance",
        "options": [],
        "query": "label_values({__name__=~\"^br_mac_.*\"},instance)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {
          "selected": true,
          "text": "hw",
          "value": "hw"
        },
        "hide": 0,
        "includeAll": false,
        "label": "",
        "multi": false,
        "name": "cntr_type",
        "options": [
          {
            "selected": true,
            "text": "hw",
            "value": "hw"
          },
          {
            "selected": false,
            "text": "sw",
            "value": "sw"
          }
        ],
        "query": "hw,sw",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {
          "selected": false,
          "text": "tx",
          "value": "tx"
        },
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "dir",
        "options": [
          {
            "selected": true,
            "text": "tx",
            "value": "tx"
          },
          {
            "selected": false,
            "text": "rx",
            "value": "rx"
          }
        ],
        "query": "tx,rx",
        "queryValue": "",
        "skipUrlSync": false,
        "type": "custom"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_MP-LS.PROMETHEUS}",
        "definition": "label_values(br_mac_pack_${dir}{instance=\"$instance\"},ifc)",
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "instance_iface",
        "options": [],
        "query": "label_values(br_mac_pack_${dir}{instance=\"$instance\"},ifc)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_MP-LS.PROMETHEUS}",
        "definition": "label_values(br_mac_pack_${dir}{instance=\"$instance\",ifc=\"$instance_iface\"},mac)",
        "hide": 0,
        "includeAll": true,
        "label": null,
        "multi": true,
        "name": "mac",
        "options": [],
        "query": "label_values(br_mac_pack_${dir}{instance=\"$instance\",ifc=\"$instance_iface\"},mac)",
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 0,
        "tagValuesQuery": "",
        "tags": [],
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      }
    ]
  },
  "time": {
    "from": "now-5m",
    "to": "now"
  },
  "timepicker": {
    "refresh_intervals": [
      "5s",
      "10s",
      "30s",
      "1m",
      "5m",
      "15m",
      "30m",
      "1h",
      "2h",
      "1d"
    ]
  },
  "timezone": "",
  "title": "RARE/freeRouter - bridge MAC packet",
  "uid": "sqqgkzcGzbrpck",
  "version": 13
}