{% if filetype_loop == 0 %}
Enabled,Hello Timer,Hold Timer,Aged Out Entries,Frame Discards,Frame Input Errors,Frame Input,Frame Output,TLV Discard,TLV Unknown
{{ to_parse_lldp.enabled }},{{ to_parse_lldp.hello_timer }},{{ to_parse_lldp.hold_timer }},{{ to_parse_lldp.counters.entries_aged_out }},{{ to_parse_lldp.counters.frame_discard }},{{ to_parse_lldp.counters.frame_error_in }},{{ to_parse_lldp.counters.frame_in }},{{ to_parse_lldp.counters.frame_out }},{{ to_parse_lldp.counters.tlv_discard }},{{ to_parse_lldp.counters.tlv_unknown }}
{% else %}{% if filetype_loop == 1 %}
# Learn LLDP Counters
| Enabled | Hello Timer | Hold Timer | Aged Out Entries | Frame Discards | Frame Input Errors | Frame Input | Frame Output | TLV Discard | TLV Unknown |
| ------- | ----------- | ---------- | ---------------- | -------------- | ------------------ | ----------- | ------------ | ----------- | ----------- |
| {{ to_parse_lldp.enabled }} | {{ to_parse_lldp.hello_timer }} | {{ to_parse_lldp.hold_timer }} | {{ to_parse_lldp.counters.entries_aged_out }} | {{ to_parse_lldp.counters.frame_discard }} | {{ to_parse_lldp.counters.frame_error_in }} | {{ to_parse_lldp.counters.frame_in }} | {{ to_parse_lldp.counters.frame_out }} | {{ to_parse_lldp.counters.tlv_discard }} | {{ to_parse_lldp.counters.tlv_unknown }} |
{% else %}{% if filetype_loop == 2 %}
<html><body>
<h1>Learn LLDP Counters</h1>
<table>
  <thead>
  <tr>
    <th>Enabled</th>
    <th>Hello Timer</th>
    <th>Hold Timer</th>
    <th>Aged Out Entries</th>
    <th>Frame Discards</th>
    <th>Frame Input Errors</th>
    <th>Frame Input</th>
    <th>Frame Output</th>
    <th>TLV Discard</th>
    <th>TLV Unknown</th>
  </tr>
  </thead>
  <tbody>  
  <tr>
    <td>{{ to_parse_lldp.enabled }}</td>
    <td>{{ to_parse_lldp.hello_timer }}</td>
    <td>{{ to_parse_lldp.hold_timer }}</td>
    <td>{{ to_parse_lldp.counters.entries_aged_out }}</td>
    <td>{{ to_parse_lldp.counters.frame_discard }}</td>
    <td>{{ to_parse_lldp.counters.frame_error_in }}</td>
    <td>{{ to_parse_lldp.counters.frame_in }}</td>
    <td>{{ to_parse_lldp.counters.frame_out }}</td>
    <td>{{ to_parse_lldp.counters.tlv_discard }}</td>
    <td>{{ to_parse_lldp.counters.tlv_unknown }}</td>  
  </tr>
  </tbody>  
</table>
</body></html>{% else %}
# Learn LLDP
## Enabled: {{ to_parse_lldp.enabled }}
## Timers
### Hello: {{ to_parse_lldp.hello_timer }}
### Hold: {{ to_parse_lldp.hold_timer }}
## Counters
### Entries Aged Out: {{ to_parse_lldp.counters.entries_aged_out }}
### Frame
#### Discard: {{ to_parse_lldp.counters.frame_discard }}
#### Error In: {{ to_parse_lldp.counters.frame_error_in }}
#### Frame In: {{ to_parse_lldp.counters.frame_in }}
#### Frame Out: {{ to_parse_lldp.counters.frame_out }}
### TLV
#### Discard: {{ to_parse_lldp.counters.tlv_discard }}
#### Unknown: {{ to_parse_lldp.counters.tlv_unknown }}
{% endif %}{% endif %}{% endif %}