Skip to main content
0 votes
0 answers
43 views

textfsm is also matching \n while matching the \w+ expected [duplicate]

I want to exterect Name and Age through ^(\w+)\n(\d+)$ and it is working. if I use textfsm Why it is not giving data in correct format? data: Alice 37 Smith 41 template: Value Names (\w+) Value Ages (...
Nishant Thakur's user avatar
0 votes
0 answers
44 views

My textfsm template is not parsing the MPLS Interface for a SR 7x50 correctly

I'm hoping somebody can help me figure out the error in my textfsm template. I need to parse the cli output of the MPLS interface table from a 7x50 SR router and capture all the information, including ...
user1326's user avatar
0 votes
0 answers
141 views

How to handle TextFSM errors when using Netmiko to parse output?

Many NetworkToCode NTC templates have a line such as ^. -> Error (Example). This line means that any line of output which does not match a previous expression results in a TextFSM error action. ...
AnarchistMiracle's user avatar
0 votes
1 answer
63 views

Trying to combine lines using TextFSM

I'm trying to figure out a textfsm parser to process cisco ios object-lists for use with an Ansible playbook task. (Background: There isn't an ios module for object-groups, so I'm trying to do this ...
Peter's user avatar
  • 489
0 votes
1 answer
115 views

Textfsm parsing Nokia 7750 configuration

I'm trying to parse a Nokia configuration. Configuration extract: vpls 1521 name "VPLS_521" customer 1 create sap lag-50:1923.613 split-horizon-group "SPLIT_HORIZON&...
finopat's user avatar
1 vote
2 answers
128 views

Ansible regex_replace on values of specific keys in a list of dict

I've been struggling with this for a while. I have a list of dict like this which is created by parsing the Cisco CLI output with neighbors_raw.stdout[0] | ansible.netcommon.parse_cli_textfsm('...
Appleoddity's user avatar
  • 1,231
0 votes
1 answer
202 views

TextFSM - Parsing Issues

I have some trouble with textFSM, and I don't know if I am doing it right: So the output that i want to parse is this one: snmp-server host 10.140.300.200 traps version 2c ldldo-1ldd snmp-server host ...
Anna Schmidt's user avatar
0 votes
2 answers
279 views

TEXTFSM Weird Behaviour

I have the following CLI output i need to parse: Status and Counters - General System Information System Name : Switch-Name-2 System Contact : System Location : MAC Age Time (...
Azureus Nation's user avatar
0 votes
1 answer
185 views

TextFSM with repeating regex values?

I am having a difficult time understanding what I thought would be an easy concept. When the output of textFSM has repeating regex values, I am not able to extract the data properly. Simple example: ...
netnem's user avatar
  • 1
0 votes
1 answer
97 views

textfsm return repetitive same interface for stackwise link

I am trying to parse value from stackwise link output from Cisco router using textfsm but it seems like the textfsm config file is incorrect because it return the repetitive interface details. Below ...
vkumar's user avatar
  • 3
0 votes
1 answer
106 views

TextFSM template for Cisco ISE version

I'm pretty new to TextFSM and try to parse a "show application version ise" output from a Cisco ISE. The output looks like: Cisco Identity Services Engine ------------------------------------...
Joe's user avatar
  • 1
0 votes
1 answer
118 views

Parsing CISCO's con/aux/vty configuration using TextFSM

I am attempting to parse the configuration of the consoles (con/aux/vty) from a Cisco router using TextFSM, specifically, the output of the command show running-config | partial line. The issue arises ...
Juan Manuel Fernández's user avatar
1 vote
0 answers
124 views

Match multiple lines in multiple columns textfsm

I am trying to match multiple lines which are present in multiple columns. The text I want to match looks like the following: vPC domain id : 10 Peer status ...
Amankumar Singh's user avatar
1 vote
0 answers
150 views

Python using Textfsm it works but not in a function

I'm trying to write a function to parse a traceroute. It will work if I just have it plain code but not if I put it in a function using a variable. When I put it in a function I get exit code 0 but ...
robmo's user avatar
  • 11
1 vote
1 answer
480 views

multiple lines into a list of variables

I'm having difficulty with a show license summary template for cisco. It's close, but not quite, and this is my first template so any help is appreciated. The CLI output is Smart Licensing is ENABLED ...
ntwrkguy's user avatar

15 30 50 per page
1
2 3 4 5