You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Value DESTINATION_ADDRESS ([0-9a-fA-F]{4}\.[0-9a-fA-F]{4}\.[0-9a-fA-F]{4})
Value TYPE (\w+)
Value VLAN (\w+)
Value DESTINATION_PORT (\S+)
Start
^Destination\s+Address\s+Address\s+Type\s+VLAN\s+Destination\s+Port -> TYPE1
^\s+vlan\s+mac address\s+type\s+learn\s+age\s+ports -> TYPE2
^\s+vlan\s+mac address\s+type\s+protocols\s+port -> TYPE3
^Vlan\s+Mac Address\s+Type\s+Ports -> TYPE4
TYPE1
^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record
TYPE2
^[\*|\s]\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\S+\s+${DESTINATION_PORT} -> Record
TYPE3
^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+${DESTINATION_PORT} -> Record
TYPE4
^\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+${DESTINATION_PORT} -> Record
When using this template, the output only produces a list of 1 dictionary of the first entry of the show mac address-table command. FYI... This is in conjunction with the Netmiko
STEPS TO REPRODUCE
mac_int_output = net_conn.send_command("show mac address-table", use_textfsm=True)
ISSUE TYPE
TEMPLATE USING
SAMPLE COMMAND OUTPUT
SUMMARY
When using this template, the output only produces a list of 1 dictionary of the first entry of the show mac address-table command. FYI... This is in conjunction with the Netmiko
STEPS TO REPRODUCE
mac_int_output = net_conn.send_command("show mac address-table", use_textfsm=True)
EXPECTED RESULTS
[{'destination_address': '0008.e3ff.fca8',
'type': 'static',
'vlan': '950',
'destination_port': 'Switch'}]
[{'destination_address': '0008.e3ff.fca8',
'type': 'static',
'vlan': '1105',
'destination_port': 'Switch'}]
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: