[racktables-users] Re: Adding information to switch ports (vlan related)

  • From: "Mark Scholten" <mark@xxxxxxxxxxxxxxxx>
  • To: <racktables-users@xxxxxxxxxxxxx>
  • Date: Wed, 13 Jul 2016 19:05:37 +0200

From: racktables-users-bounce@xxxxxxxxxxxxx [mailto:racktables-users-
bounce@xxxxxxxxxxxxx] On Behalf Of Denis Ovsienko
Sent: Wednesday, July 13, 2016 18:44

The documentation on how to do it manually/offline is very limited. I now
have a list with ports in red on a tab called "802.1Q ports". Below the first 
part
of this page (screenshot). Do I have to alter something to get the option to
manually set the VLANs on the ports?



If other information is needed please let me know so I can search for it and
provide the information.

On the screenshot the ports have no configuration controls under "new config".
This means the template assigned to the switch tells that those ports cannot
have a 802.1Q configuration.

That said, the ports do have a 802.1Q configuration A1 (access port in VLAN 1
under "last saved config"), which is the default configuration after the 
manual
import. The interface detects this mismatch (a port should not have a 802.1Q
configuration but it does have it), that's why respective rows are red on the
screenshot.

You need to use a template that tells those ports can have a specific
configuration, for instance:

sequence: 100
regexp: #\d+#
role: user any mode

See "VLAN switch templates" on the same page for a more detailed description.

Thank you for the great help. That was the problem. So now time to get the data 
from the Excel sheets to the racktables installation.

I'll see when I've time to help with some code if that helps for the project.

Regards, Mark


Other related posts: