ntc_templates/templates/broadcom_icos_show_mac-addr-table.textfsm
raw| 1 | Value VLAN (\S+) |
| 2 | Value MAC (\S+) |
| 3 | Value INTERFACE (\S+) |
| 4 | Value INDEX (\S+) |
| 5 | Value STATUS (\S+) |
| 6 | |
| 7 | Start |
| 8 | # Captures show mac-address-table for: |
| 9 | # Accton AS4610-54P, Accton AS5610-52X, Quanta LY2R, Quanta LB9, DNI AG3448P-R |
| 10 | # Raw data is the same in the case of all those devices |
| 11 | ^\s*VLAN\s+ID\s+MAC\s+Address\s+Interface\s+IfIndex\s+Status |
| 12 | ^-+ |
| 13 | ^\s*${VLAN}\s+${MAC}\s+${INTERFACE}\s+${INDEX}\s+${STATUS} -> Record |
| 14 | ^\s*$$ |
| 15 | ^. -> Error |