Skip to content

'show ip ospf interface' really slow when many interfaces #746

Open
@frdaigle

Description

@frdaigle

This command will last about 17 minutes on a switch that has 540 ospf interfaces.

Looking at the parser code, a 'show run | section vrf {vrf-id}' is run for each interfaces to gather vrf data. To optimize the code, it would be better to do 'show run | section vrf' once and refer to this returned dictionary for each OSPF interfaces.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions