diff --git a/templates/cisco_ios_show_mac-address-table.template b/templates/cisco_ios_show_mac-address-table.template index aa8c07d25b..0abb1ceec6 100644 --- a/templates/cisco_ios_show_mac-address-table.template +++ b/templates/cisco_ios_show_mac-address-table.template @@ -13,7 +13,7 @@ TYPE1 ^${DESTINATION_ADDRESS}\s+${TYPE}\s+${VLAN}\s+${DESTINATION_PORT} -> Record TYPE2 - ^[\*|\s]\s+${VLAN}\s+${DESTINATION_ADDRESS}\s+${TYPE}\s+\S+\s+\d+\s+${DESTINATION_PORT} -> Record + ^[\*|\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 diff --git a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed index 75a819142d..cb9a881e76 100644 --- a/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed +++ b/tests/cisco_ios/show_mac-address-table/cisco_ios_show_mac-address-table2.parsed @@ -16,6 +16,11 @@ parsed_sample: type: dynamic vlan: '60' +- destination_address: 0000.30a3.0167 + destination_port: Router + type: static + vlan: '777' + - destination_address: 30a3.30a3.58b5 destination_port: Po6 type: dynamic