diff --git a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm index 710f31a161..7093bb1d12 100644 --- a/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm +++ b/ntc_templates/templates/cisco_ios_show_interfaces_status.textfsm @@ -1,7 +1,7 @@ Value PORT (\S+) Value NAME (.+?) Value STATUS (err-disabled|disabled|connected|notconnect|inactive|up|down|monitoring|suspended) -Value VLAN_ID (\d+|trunk|routed) +Value VLAN_ID (\d+|trunk|routed|unassigned) Value DUPLEX (\S+) Value SPEED (\S+) Value TYPE (.*) diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw index 4235c61622..02a2d59afc 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.raw @@ -19,5 +19,6 @@ Gi1/0/17 Multi Space disabled 16 a-half auto 10/100BaseTX Gi1/0/18 Monitoring Port monitoring routed a-full auto 10/100/1000BaseT Gi1/0/19 No Description notconnect: 1 a-full a-100 10/100/1000BaseTX Gi1/0/20 No Description connected: 1 a-full a-100 10/100/1000BaseTX +Gi1/0/21 Monitoring Port monitoring unassigned a-full auto 10/100/1000BaseT Fa1/6 test notconnect 1 auto auto 10/100BaseTX Po1 ethchl connected trunk a-full a-1000 diff --git a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml index 98fb39eb13..e2fe22d550 100644 --- a/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml +++ b/tests/cisco_ios/show_interfaces_status/cisco_ios_show_interfaces_status.yml @@ -160,6 +160,14 @@ parsed_sample: status: "connected" type: "10/100/1000BaseTX" vlan_id: "1" + - duplex: "a-full" + fc_mode: "" + name: "Monitoring Port" + port: "Gi1/0/21" + speed: "auto" + status: "monitoring" + type: "10/100/1000BaseT" + vlan_id: "unassigned" - duplex: "auto" fc_mode: "" name: "test"