Skip to content

Commit

Permalink
Merge pull request #212 from jmcgill298/nxos_sh_intf
Browse files Browse the repository at this point in the history
Move Record to Interface opening line to ensure each unaccounted for …
  • Loading branch information
itdependsnetworks committed May 29, 2018
2 parents 380a0de + 83cb02e commit 149f838
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/cisco_nxos_show_interface.template
Expand Up @@ -14,6 +14,7 @@ Value DELAY (\d+\s+\w+)
Value ENCAPSULATION (\w+)

Start
^\S+\s+is.+ -> Continue.Record
^${INTERFACE}\s+is\s+${LINK_STATUS},\sline\sprotocol\sis\s${ADMIN_STATE}$$
^${INTERFACE}\s+is\s+${LINK_STATUS}$$
^admin\s+state\s+is\s+${ADMIN_STATE},
Expand All @@ -23,4 +24,4 @@ Start
^\s+${DUPLEX}, ${SPEED}(,|$$)
^\s+MTU\s+${MTU}.*BW\s+${BANDWIDTH}.*DLY\s+${DELAY}
^\s+Encapsulation\s+${ENCAPSULATION}
^\s*$$ -> Record
^\s*$$

0 comments on commit 149f838

Please sign in to comment.