network-importer icon indicating copy to clipboard operation
network-importer copied to clipboard

Extra VLANs Created

Open scetron opened this issue 2 years ago • 1 comments

Environment

  • Python version: 3.8
  • Network Importer version: 3.1.0

Steps to Reproduce

  1. Import a type of IOS Device

Expected Behavior

VLANs in the configuration are created. Extra VLANs are imported with both 'cli' and 'config' import options.

Observed Behavior

VLANs that don't exist on the device are created in the SoT. The device being imported is a Cisco 2960 running 15.2(2)E9. There is no switchport trunk allowed vlan all configured on any interfaces.

scetron avatar Oct 14 '22 13:10 scetron

This is an issue with Batfish I believe and how it deciphers switchport trunk set up without specifying allowed VLANs.

Workarounds:

  • Update the configuration to have a specific VLAN configuration (not ideal)
  • Use import_vlans: cli setting documented in the TOML.

jvanderaa avatar Nov 09 '22 23:11 jvanderaa