-
Notifications
You must be signed in to change notification settings - Fork 739
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cisco_ios_show_interfaces_status.textfsm (no interface in monitoring state) #878
Comments
Do you mind opening a PR to fix this issue? Or at least provide the output this is failing on? |
Here is an example output of "show interface status" in cisco ios-xe switch (WS-C3650-48FS-L) for your test. AS01>show interface status Port Name Status Vlan Duplex Speed Type |
Also just ran in to this issue, port status = monitoring, fixed it with the line suggested in the initial post. |
Hello,
Interfaces in monitoring state are omitted in the output.
After review the template, it is solved only addiing this state in value status:
`Value PORT (\S+)
Value NAME (.+?)
Value STATUS (err-disabled|disabled|connected|notconnect|inactive|monitoring)
Value VLAN (\S+)
Value DUPLEX (\S+)
Value SPEED (\S+)
Value TYPE (.*)
Start
^Port -> Begin
Capture time-stamp if vty line has command time-stamping turned on
^Load\s+for\s+
^Time\s+source\s+is
Begin
^\s*${PORT}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record
^\s*${PORT}\s+${NAME}\s+${STATUS}\s+${VLAN}\s+${DUPLEX}\s+${SPEED}\s*${TYPE}$$ -> Record
`
Thanks.
The text was updated successfully, but these errors were encountered: