Training
Bootcamp
Courses
Tech Sessions
Resources
Blog
Tips
GitHub
YouTube
Newsletter
Playgrounds
Pricing
Sign In
Become Member
TextFSM Parser
Validate and test the parsing of your TextFSM templates
Tools
J2 Renderer
TTP Parser
TextFSM Parser
XPath Tester
Members Only
JMESPath Validator
JSON Schema Validator
Data Format Converter
Help Us Improve
TextFSM Template
Value vlans (\d+(?:-\d+)?(?:,\d+(?:-\d+)?)*) Value description (.+) Start ^${vlans}\s+${description} -> Record
Raw Text
spine1-nxos# sh vlan internal usage VLANs DESCRIPTION ------------------- ----------------- 3968-4031 Multicast 4032-4035,4048-4059 Online Diagnostic 4036-4039,4060-4087 ERSPAN 4042 Satellite 4045 BUM VXLAN VLAN 3968-4095 Current 4041 VXLAN Encap 4046 VXLAN Decap
Result
[ { "vlans": "3968-4031", "description": "Multicast " }, { "vlans": "4032-4035,4048-4059", "description": "Online Diagnostic " }, { "vlans": "4036-4039,4060-4087", "description": "ERSPAN " }, { "vlans": "4042", "description": "Satellite " }, { "vlans": "4045", "description": "BUM VXLAN VLAN " }, { "vlans": "3968-4095", "description": "Current " }, { "vlans": "4041", "description": "VXLAN Encap " }, { "vlans": "4046", "description": "VXLAN Decap" } ]
Parse
Share
Auto-Sync