Skip to content
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

Zyxel - issue in "Other Feature Bits" when parsing sys atsh #1150

Closed
elavaud opened this issue Jun 8, 2022 · 1 comment · Fixed by #1151
Closed

Zyxel - issue in "Other Feature Bits" when parsing sys atsh #1150

elavaud opened this issue Jun 8, 2022 · 1 comment · Fixed by #1151

Comments

@elavaud
Copy link
Contributor

elavaud commented Jun 8, 2022

ISSUE TYPE
  • Bug Report
TEMPLATE USING

zyxel_os sys atsh

Value VERSION (\S+)
Value BOOT_VERSION (.+)
Value VENDOR (.+)
Value HARDWARE_MODEL (\S+)
Value SERIAL_NUMBER (\S+)
Value MAC_ADDRESS ([0-9A-F]{12})

Start
  ^Firmware\sVersion\s*:\s${VERSION}
  ^Bootbase\sVersion\s*:\s${BOOT_VERSION}
  ^Vendor\sName\s*:\s${VENDOR}
  ^Product\sModel\s*:\s${HARDWARE_MODEL}
  ^Serial\sNumber\s*:\s${SERIAL_NUMBER}
  ^First\sMAC\sAddress\s*:\s${MAC_ADDRESS}
  ^Last\sMAC\sAddress\s*:.+
  ^MAC\sAddress\sQuantity\s*:.+
  ^Default\sCountry\sCode\s*:.+
  ^Boot\sModule\sDebug Flag\s*:.+
  ^Kernel\sChecksum\s*:.+
  ^RootFS\sChecksum\s*:.+
  ^Romfile\sChecksum\s*:.+
  ^Main\sFeature\sBits\s*:.+
  ^Other\sFeature\sBits\s*:.*
  ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}
  ^[0-9a-f]{8}:\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{8}\s[0-9a-f]{4}
  ^. -> Error
SAMPLE COMMAND OUTPUT
Firmware Version        : V5.30(ABSB.5)C0
Bootbase Version        : V1.45 | 08/02/2021 17:45:45
Vendor Name             : Zyxel Communications Corp.
Product Model           : VMG1312-T20B
Serial Number           : S220Y04042350
First MAC Address       : 5C648E88B350
Last MAC Address        : 5C648E88B357
MAC Address Quantity    : 08
Default Country Code    : E1
Boot Module Debug Flag  : 00
Kernel Checksum         : F3A8F377
RootFS Checksum         : A096DA5D
Romfile Checksum        : 00001C0D
Main Feature Bits       : 00
Other Feature Bits      : 
7ffccb71: 04050508 00000100 00000000 00000000
7ffccb81: 00000000 00000000 00000000

SUMMARY

textfsm.parser.TextFSMError: State Error raised. Rule Line: 26. Input Line: 7fbe7071: 00000000 00000000 00000000

@itdependsnetworks
Copy link
Contributor

Lets track in #1151

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants