Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Value Required INTERFACE (\S+)
Value NAME (.*?)
Value Required STATUS (err-disabled|linkFlapErr)
Value PORT_ERROR (.*)

Start
^-+\s*$$
^\s*Port\s+Name\s+Status\s+Reason\s*$$
^\s*${INTERFACE}\s+${NAME}\s+${STATUS}\s+${PORT_ERROR} -> Record
^. -> Error
1 change: 1 addition & 0 deletions ntc_templates/templates/index
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ cisco_nxos_show_bgp_vrf_all_ipv4_unicast_detail.textfsm, .*, cisco_nxos, sh[[ow]
cisco_nxos_show_ip_pim_interface_brief_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] ip pim int[[erface]] br[[ief]] vrf all
cisco_nxos_show_nve_vni_interface_nve_1_detail.textfsm, .*, cisco_nxos, sh[[ow]] nv[[e]] vn[[i]] int[[erface]] nv[[e]] 1 det[[ail]]
cisco_nxos_show_configuration_session_summary.textfsm, .*, cisco_nxos, sh[[ow]] configu[[ration]] s[[ession]] su[[mmary]]
cisco_nxos_show_interface_status_err-disabled.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] st[[atus]] err-d[[isabled]]
cisco_nxos_show_interface_transceiver_details.textfsm, .*, cisco_nxos, sh[[ow]] int[[erface]] tra[[nsceiver]] de[[tails]]
cisco_nxos_show_ip_dhcp_snooping_statistics.textfsm, .*, cisco_nxos, sh[[ow]] ip dh[[cp]] sn[[ooping]] st[[atistics]]
cisco_nxos_show_ip_pim_group-range_vrf_all.textfsm, .*, cisco_nxos, sh[[ow]] ip pim group[[-range]] vrf all
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
--------------------------------------------------------------------------------
Port Name Status Reason
--------------------------------------------------------------------------------
Eth1 tenGigE 0/0/2/0 as linkFlapErr linkFlapErrDisabled
Eth2 -- linkFlapErr linkFlapErrDisabled
Eth3 -- err-disabled Error disabled
Eth4 SD 180848 OFFER EM linkFlapErr linkFlapErrDisabled
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
parsed_sample:
- interface: "Eth1"
name: "tenGigE 0/0/2/0 as"
port_error: "linkFlapErrDisabled"
status: "linkFlapErr"
- interface: "Eth2"
name: "--"
port_error: "linkFlapErrDisabled"
status: "linkFlapErr"
- interface: "Eth3"
name: "--"
port_error: "Error disabled"
status: "err-disabled"
- interface: "Eth4"
name: "SD 180848 OFFER EM"
port_error: "linkFlapErrDisabled"
status: "linkFlapErr"