genielibs
genielibs copied to clipboard
show ip ospf neighbor detail
Currently I see no parser for IOS, bummer.. but there is one for the above, which melts down, on a 3560g/x
they just keep coming in, 3560g device.parse('show ip ospf neighbot') = says it has no parser device.parse('show ip ospf neighbor detail') = gives total meltdown error, Exception has occurred: InvalidCommandError Invalid command has been executed unicon.core.errors.SubCommandFailure: ('sub_command failure, patterns matched in the output:', ['^%\s*[Ii]nvalid (command|input)'], 'service result', "show running-config | section router ospf 1\r\n ^\r\n% Invalid input detected at '^' marker.\r\n\r\nsomeSwitch#")
The above exception was the direct cause of the following exception:
unicon.core.errors.SubCommandFailure: ('Command execution failed', SubCommandFailure('sub_command failure, patterns matched in the output:', ['^%\s*[Ii]nvalid (command|input)'], 'service result', "show running-config | section router ospf 1\r\n ^\r\n% Invalid input detected at '^' marker.\r\n\r\nnsomeSwitch#"))
The above exception was the direct cause of the following exception:
File "/home/parrot/Videos/genie/mods/test_func.py", line 68, in get_show_ip_ospf_neighbor show_ip_ospf_neighbor = device.parse('show ip ospf neighbor detail') File "/home/parrot/Videos/genie/mods/test_func.py", line 88, in test_parse show_ip_ospf_neighbor = get_show_ip_ospf_neighbor() File "/home/parrot/Videos/genie/mods/test_func.py", line 109, in test_parse(rtr_package) genie.metaparser.util.exceptions.InvalidCommandError: Invalid command has been executed
Hi
Thanks for reporting the issue.
Could you please share the os, platform and parser command output of show ip ospf neighbor detail
to debug the above issue.
Hi
Can you please share the above details to debug
Hi
Please provide the requested details.
Hi, for help I think you must use iosxe instead of ios in your testbed because most of parsers are moved to iosxe and shared with iosxe since they have same commands