def METHOD_NAME(self, slot, output=None):
    if output is None:
        out = self.device.execute(self.cli_command.format(slot=slot))
    else:
        out = output
    result_dict = {}
    # 1/1   31.3789 C  -040.0000 dBm -040.0000 dBm    0.000 mA
    p1 = re.compile(r'(^(?P<port>\d+\/\d+)\s+'
                    r'(?P<temp>\d+.\d+|N\/A)(\sC|)\s+'
                    r'(?P<tx>[-]?\d+.\d+|N\/A|NONE)(\s+dBm|'
                    r'\s+dBm\/\s*\d+\s+uW|)\s+'
                    r'(?P<rx>[-]?\d+.\d+|N\/A|NONE)(\s+dBm|'
                    r'\s+dBm\/\s*\d+\s+uW|)\s+'
                    r'(?P<tbc>[-]?\d+.\d+|N\/A)(\s+mA|))')
    # Normal      Low-Alarm      Low-Alarm     Low-Warn
    p2 = re.compile(r'(^(?P<temp>Normal|Low-Alarm|Low-Warn|'
                    r'High-Warn|High-Alarm)\s+'
                    r'(?P<tx>Normal|Low-Alarm|Low-Warn|'
                    r'High-Warn|High-Alarm)\s+'
                    r'(?P<rx>Normal|Low-Alarm|Low-Warn|'
                    r'High-Warn|High-Alarm)\s+'
                    r'(?P<tbc>Normal|Low-Alarm|Low-Warn|'
                    r'High-Warn|High-Alarm))')
    for line in out.splitlines():
        line = line.strip()
        m = p1.match(line)
        if m:
            if 'interfaces' not in result_dict:
                interfaces_dict = result_dict.setdefault('interfaces', {})
            port = 'ethernet{0}'.format(m.groupdict()['port'])
            temp = m.groupdict()['temp']
            tx = m.groupdict()['tx']
            rx = m.groupdict()['rx']
            tbc = m.groupdict()['tbc']
            int_dict = interfaces_dict[port] = {
                'temperature': {
                    'value': self.can_float(temp)
                },
                'tx': {
                    'value': self.can_float(tx)
                },
                'rx': {
                    'value': self.can_float(rx)
                },
                'tx_bias_current': {
                    'value': self.can_float(tbc)
                }
            }
            continue
        m = p2.match(line)
        if m:
            temp = m.groupdict()['temp']
            rx = m.groupdict()['rx']
            tx = m.groupdict()['tx']
            tbc = m.groupdict()['tbc']
            interfaces_dict[port]['temperature']['alarm'] = temp
            interfaces_dict[port]['rx']['alarm'] = rx
            interfaces_dict[port]['tx']['alarm'] = tx
            interfaces_dict[port]['tx_bias_current']['alarm'] = tbc
            continue
    return result_dict