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
TextFSM Template
Value Prefix (\d{1,3}(?:\.\d{1,3}){3}/\d+) Value NHG (\d+) Value VRF (\S+) Value Action (\[.*?\]:.*) Value Metadata (0x[0-9a-fA-F]+) Value IP_Path_References (\d+) Value Client (\d+) Value Session (\d+) Value Operation_ID (\d+) Value Flags (0x[0-9a-fA-F]+) Value RIB (\S+) Value FIB (\S+) Value Ack_Type (\S+) Value Object_Version (\d+) Value Synced_Version (\d+) Value Queued_Version (\d+) Value Backup_NHG (\d+) Start ^${Prefix} ^via NHG ${NHG}(?:\(in vrf ${VRF}\))(?:, Backup NHG: ${Backup_NHG})? ^${Action} ^${Action} ^Metadata: ${Metadata}, IP Path references: ${IP_Path_References} ^Client:${Client}, Session:${Session}, Operation ID:${Operation_ID}, Flags:${Flags} ^RIB:${RIB}, FIB:${FIB}, Ack Type:${Ack_Type} ^Object Version:${Object_Version}, Synced Version:${Synced_Version}, Queued Version:${Queued_Version} ^VRF: ${VRF}, Client ${Client} ^\s*$$ -> Start
0
/ 20000
Raw Text
98.239.0.0/22 via NHG 335548320(in vrf DEFAULT) [1000, 1]: Decapsulate IPv4 Metadata: 0x8000000200180000, IP Path references: 4 Client:0, Session:1, Operation ID:48790, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1 99.239.0.0/22 via NHG 335548320(in vrf DEFAULT) [1000, 1]: Decapsulate IPv4 [2000, 2]: Decapsulate IPv4, Encapsulate IPv4 {222.222.222.222 -> 98.3.0.26}(vrf REPAIRED) Metadata: 0x8000000100180000, IP Path references: 4 Client:0, Session:1, Operation ID:39347, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1 VRF: DEFAULT, Client 0 10.41.164.0/32 via NHG 402653185(in vrf DEFAULT) [1011, 1]: 169.254.0.10, Bundle-Ether5, NH mac address: 00:1a:11:17:5f:80 [1003, 1]: 169.254.0.8, Bundle-Ether4, NH mac address: 00:1a:11:17:5f:80 Metadata: 0x8000000100190000, IP Path references: 1 Client:0, Session:1, Operation ID:39291, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1 10.41.164.1/32 via NHG 402653187(in vrf DEFAULT) [1003, 1]: 169.254.0.8, Bundle-Ether4, NH mac address: 00:1a:11:17:5f:80 [1011, 1]: 169.254.0.10, Bundle-Ether5, NH mac address: 00:1a:11:17:5f:80 Metadata: 0x8000000200190000, IP Path references: 1 Client:0, Session:1, Operation ID:49512, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1 VRF: REPAIR, Client 0 98.1.0.0/32 via NHG 67109051(in vrf DEFAULT), Backup NHG: 1 [4370, 1]: Decapsulate IPv4, Encapsulate IPv4 {222.222.222.222 -> 98.1.0.12}(vrf REPAIRED) [1, 1]: Decapsulate IPv4(vrf DEFAULT) (!) Metadata: 0x80ff000f00120062, IP Path references: 22 Client:0, Session:1, Operation ID:129565, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1 98.1.0.1/32 via NHG 67109051(in vrf DEFAULT), Backup NHG: 1 [4370, 1]: Decapsulate IPv4, Encapsulate IPv4 {222.222.222.222 -> 98.1.0.12}(vrf REPAIRED) [1, 1]: Decapsulate IPv4(vrf DEFAULT) (!) Metadata: 0x80ff000f00120002, IP Path references: 22 Client:0, Session:1, Operation ID:131539, Flags:0x2 RIB:Programmed, FIB:Programmed, Ack Type:RIB_and_FIB Object Version:1, Synced Version:1, Queued Version:1
0
/ 20000
Result
[ { "Prefix": "98.1.0.1/32", "NHG": "67109051", "VRF": "DEFAULT", "Action": "[1, 1]: Decapsulate IPv4(vrf DEFAULT) (!)", "Metadata": "0x80ff000f00120002", "IP_Path_References": "22", "Client": "0", "Session": "1", "Operation_ID": "131539", "Flags": "0x2", "RIB": "Programmed", "FIB": "Programmed", "Ack_Type": "RIB_and_FIB", "Object_Version": "1", "Synced_Version": "1", "Queued_Version": "1", "Backup_NHG": "1" } ]
Parse
Share
Auto-Sync