From b848b09530dc3202b375c59b37dd26c1dacbbb18 Mon Sep 17 00:00:00 2001 From: adraf82 <55660951+adraf82@users.noreply.github.com> Date: Tue, 1 Dec 2020 22:00:17 +0000 Subject: [PATCH] New Template: Procurve show int brief (#829) --- .../hp_procurve_show_interfaces_brief.textfsm | 30 ++ templates/index | 1 + .../show_interfaces_brief.raw | 57 +++ .../show_interfaces_brief.yml | 470 ++++++++++++++++++ .../show_interfaces_brief_bcast.raw | 29 ++ .../show_interfaces_brief_bcast.yml | 218 ++++++++ 6 files changed, 805 insertions(+) create mode 100644 templates/hp_procurve_show_interfaces_brief.textfsm create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw create mode 100644 tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml diff --git a/templates/hp_procurve_show_interfaces_brief.textfsm b/templates/hp_procurve_show_interfaces_brief.textfsm new file mode 100644 index 0000000000..80ee2a064c --- /dev/null +++ b/templates/hp_procurve_show_interfaces_brief.textfsm @@ -0,0 +1,30 @@ +Value PORT (\S+) +Value TYPE (\S*) +Value INTRUSION_ALERT (Yes|No) +Value ENABLED (Yes|No) +Value STATUS (Up|Down) +Value MODE (\S+) +Value MDI_MODE (MDI\S*|Auto) +Value FLOW_CTRL (on|off) +Value BCAST_LIMIT (\d+) + +Start + ^\s+Status.*Status\s* + ^\s*$$ + ^\s+\|\s+Intrusion\s+MDI\s+Flow(?:\s+Bcast)?\s*$$ + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s*$$ -> showintbrief1 + ^\s+Port\s+Type\s+\|\s+Alert\s+Enabled\s+Status\s+Mode\s+Mode\s+Ctrl\s+Limit\s*$$ -> showintbrief2 + ^. -> Error + +showintbrief1 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + +showintbrief2 + ^\s+${PORT}\s+${TYPE}\s+\|\s+${INTRUSION_ALERT}\s+${ENABLED}\s+${STATUS}\s+${MODE}\s+(?:${MDI_MODE}\s+)?${FLOW_CTRL}\s+${BCAST_LIMIT}\s*$$ -> Record + ^\s*-+(?:\s|-|\+)+$$ + ^\s*$$ + ^. -> Error + diff --git a/templates/index b/templates/index index f17ff3b334..657615933d 100644 --- a/templates/index +++ b/templates/index @@ -389,6 +389,7 @@ hp_comware_display_arp.textfsm, .*, hp_comware, di[[splay]] a[[rp]] hp_procurve_show_lldp_info_remote-device_detail.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] .+ hp_procurve_show_lldp_info_remote-device.textfsm, .*, hp_procurve, sh[[ow]] ll[[dp]] i[[nfo]] r[[emote-device]] +hp_procurve_show_interfaces_brief.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] b[[rief]] hp_procurve_show_tech_buffers.textfsm, .*, hp_procurve, sh[[ow]] tec[[h]] buf[[ffers]] hp_procurve_show_mac-address.textfsm, .*, hp_procurve, sh[[ow]] mac-a[[ddress]] hp_procurve_show_interfaces.textfsm, .*, hp_procurve, sh[[ow]] int[[erfaces]] diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw new file mode 100644 index 0000000000..721240af32 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.raw @@ -0,0 +1,57 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow + Port Type | Alert Enabled Status Mode Mode Ctrl + ----- ---------- + --------- ------- ------ ---------- ---- ---- + 1 10/100TX | No Yes Up 100FDx MDIX off + 2 10/100TX | No Yes Down 10FDx MDI off + 3 10/100TX | Yes Yes Down 10FDx MDI off + 4 10/100TX | No Yes Down 10FDx MDIX off + 5 10/100TX | No No Down 10FDx MDI off + 6 10/100TX | No Yes Down 10FDx MDI on + 7 10/100TX | No Yes Down 10FDx MDI off + 8 10/100TX | No Yes Down 10FDx MDI off + 9 10/100TX | No Yes Down 10FDx MDIX off + 10 10/100TX | No Yes Down 10FDx MDIX off + 11 10/100TX | No Yes Down 10FDx MDI off + 12 10/100TX | No Yes Down 10FDx MDI off + 13 10/100TX | No Yes Down 10FDx MDIX off + 14 10/100TX | No Yes Down 10FDx MDI off + 15 10/100TX | No Yes Down 10FDx MDIX off + 16 10/100TX | No Yes Down 10FDx MDIX off + 17 10/100TX | No Yes Down 10FDx MDI off + 18 10/100TX | No Yes Down 10FDx MDI off + 19 10/100TX | No Yes Down 10FDx MDI off + 20 10/100TX | No Yes Down 10FDx MDI off + 21 10/100TX | No Yes Down 10FDx MDIX off + 22 10/100TX | No Yes Down 10FDx MDIX off + 23 10/100TX | No Yes Down 10FDx MDI off + 24 10/100TX | No Yes Down 10FDx MDIX off + 25 10/100TX | No Yes Down 10FDx MDI off + 26 10/100TX | No Yes Down 10FDx MDI off + 27 10/100TX | No Yes Down 10FDx MDI off + 28 10/100TX | No Yes Down 10FDx MDIX off + 29 10/100TX | No Yes Down 10FDx MDIX off + 30 10/100TX | No Yes Down 10FDx MDI off + 31 10/100TX | No Yes Down 10FDx MDI off + 32 10/100TX | No Yes Down 10FDx MDI off + 33 10/100TX | No Yes Down 10FDx MDI off + 34 10/100TX | No Yes Down 10FDx MDIX off + 35 10/100TX | No Yes Down 10FDx MDIX off + 36 10/100TX | No Yes Down 10FDx MDI off + 37 10/100TX | No Yes Down 10FDx MDI off + 38 10/100TX | No Yes Down 10FDx MDI off + 39 10/100TX | No Yes Down 10FDx MDI off + 40 10/100TX | No Yes Down 10FDx MDIX off + 41 10/100TX | No Yes Down 10FDx MDIX off + 42 10/100TX | No Yes Down 10FDx MDI off + 43 10/100TX | No Yes Down 10FDx MDIX off + 44 10/100TX | No Yes Down 10FDx MDI off + 45 10/100TX | No Yes Down 10FDx MDIX off + 46 10/100TX | No Yes Down 10FDx MDIX off + 47 10/100TX | No Yes Down 10FDx MDI off + 48 10/100TX | No Yes Down 10FDx MDIX off + 49 100/1000T | No Yes Down 1000FDx MDIX off + 50 100/1000T | No Yes Down 1000FDx MDI off + 51 | No Yes Down . off + 52 | No Yes Down . off diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml new file mode 100644 index 0000000000..d45a30e66a --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief.yml @@ -0,0 +1,470 @@ +--- +parsed_sample: + - port: "1" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "2" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "3" + type: "10/100TX" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "4" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "5" + type: "10/100TX" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "6" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "on" + bcast_limit: "" + - port: "7" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "8" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "9" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "10" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "11" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "12" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "13" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "14" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "15" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "16" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "17" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "18" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "19" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "20" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "21" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "22" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "23" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "24" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "25" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "26" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "27" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "28" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "29" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "30" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "31" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "32" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "33" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "34" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "35" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "36" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "37" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "38" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "39" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "40" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "41" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "42" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "43" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "44" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "45" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "46" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "47" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "48" + type: "10/100TX" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "10FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "49" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDIX" + flow_ctrl: "off" + bcast_limit: "" + - port: "50" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "" + - port: "51" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" + - port: "52" + type: "" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "." + mdi_mode: "" + flow_ctrl: "off" + bcast_limit: "" diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw new file mode 100644 index 0000000000..da0f36cc99 --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.raw @@ -0,0 +1,29 @@ + Status and Counters - Port Status + + | Intrusion MDI Flow Bcast + Port Type | Alert Enabled Status Mode Mode Ctrl Limit + ------------ ---------- + --------- ------- ------ ---------- ---- ---- ----- + 1 100/1000T | No Yes Down 1000FDx Auto off 0 + 2 100/1000T | No Yes Down 1000FDx Auto off 0 + 3 100/1000T | Yes Yes Down 1000FDx Auto off 0 + 4 100/1000T | No Yes Down 1000FDx Auto off 0 + 5 100/1000T | No No Down 1000FDx Auto off 0 + 6 100/1000T | No Yes Down 1000FDx Auto on 0 + 7 100/1000T | No Yes Down 1000FDx Auto off 0 + 8 100/1000T | No Yes Down 1000FDx Auto off 0 + 9 100/1000T | No Yes Down 1000FDx Auto off 0 + 10 100/1000T | No Yes Down 1000FDx Auto on 50 + 11 100/1000T | No Yes Down 1000FDx Auto off 0 + 12 100/1000T | No Yes Down 1000FDx Auto off 0 + 13 100/1000T | No Yes Down 1000FDx Auto off 0 + 14 100/1000T | No Yes Down 1000FDx Auto off 0 + 15 100/1000T | No Yes Down 1000FDx Auto off 0 + 16 100/1000T | No Yes Down 1000FDx Auto off 0 + 17 100/1000T | No Yes Down 1000FDx Auto off 0 + 18 100/1000T | No Yes Down 1000FDx Auto off 0 + 19 100/1000T | No Yes Down 1000FDx Auto off 0 + 20 100/1000T | No Yes Down 1000FDx Auto off 0 + 21 100/1000T | No Yes Down 1000FDx Auto off 0 + 22 100/1000T | No Yes Down 1000FDx Auto off 0 + 23 100/1000T | No Yes Down 1000FDx Auto off 0 + 24 100/1000T | No Yes Up 100FDx MDI off 0 diff --git a/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml new file mode 100644 index 0000000000..471f51ac7d --- /dev/null +++ b/tests/hp_procurve/show_interfaces_brief/show_interfaces_brief_bcast.yml @@ -0,0 +1,218 @@ +--- +parsed_sample: + - port: "1" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "2" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "3" + type: "100/1000T" + intrusion_alert: "Yes" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "4" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "5" + type: "100/1000T" + intrusion_alert: "No" + enabled: "No" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "6" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "0" + - port: "7" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "8" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "9" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "10" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "on" + bcast_limit: "50" + - port: "11" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "12" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "13" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "14" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "15" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "16" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "17" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "18" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "19" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "20" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "21" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "22" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "23" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Down" + mode: "1000FDx" + mdi_mode: "Auto" + flow_ctrl: "off" + bcast_limit: "0" + - port: "24" + type: "100/1000T" + intrusion_alert: "No" + enabled: "Yes" + status: "Up" + mode: "100FDx" + mdi_mode: "MDI" + flow_ctrl: "off" + bcast_limit: "0"