Project

General

Profile

Actions

Bug #8422

closed

Switching VLAN mode removes the switch port settings from the config.

Added by Steve Wheeler about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Interfaces
Target version:
Start date:
04/03/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.3
Affected Architecture:
All

Description

On devices with a built in switch changing the switch VLAN mode removes the port state settings from the config resulting in all the ports set as disabled.

This applies when switching from port mode to .1q mode on a clean install or from .1q to port mode on a funtioning .1q setup.

Saving on the ports tab is sufficient to restore the port config which is then applied if rebooted.

Config after switching to .1q mode, adding a vlan and rebooting. From a clean install:

    <switches>
        <switch>
            <device>/dev/etherswitch0</device>
            <vlanmode>DOT1Q</vlanmode>
            <swports></swports>
            <vlangroups>
                <vlangroup>
                    <vgroup>1</vgroup>
                    <vlanid>100</vlanid>
                    <descr></descr>
                    <members>2</members>
                </vlangroup>
            </vlangroups>
        </switch>
    </switches>

After re-saving on the ports tab:

    <switches>
        <switch>
            <device>/dev/etherswitch0</device>
            <vlanmode>DOT1Q</vlanmode>
            <vlangroups>
                <vlangroup>
                    <vgroup>1</vgroup>
                    <vlanid>100</vlanid>
                    <descr></descr>
                    <members>2</members>
                </vlangroup>
            </vlangroups>
            <swports>
                <swport>
                    <port>1</port>
                    <pvid>1</pvid>
                    <state><![CDATA[forwarding]]></state>
                </swport>
                <swport>
                    <port>2</port>
                    <pvid>1</pvid>
                    <state><![CDATA[forwarding]]></state>
                </swport>
                <swport>
                    <port>3</port>
                    <pvid>1</pvid>
                    <state><![CDATA[forwarding]]></state>
                </swport>
                <swport>
                    <port>4</port>
                    <pvid>1</pvid>
                    <state><![CDATA[forwarding]]></state>
                </swport>
                <swport>
                    <port>5</port>
                    <pvid>1</pvid>
                    <state><![CDATA[forwarding]]></state>
                </swport>
            </swports>
        </switch>
    </switches>

Actions #1

Updated by Anonymous about 6 years ago

  • Assignee set to Luiz Souza
  • Priority changed from Normal to High
Actions #2

Updated by Luiz Souza about 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Fixed.

Please check with the next snapshot.

Actions #3

Updated by Vladimir Lind about 6 years ago

It looks resolved - tested on built on Thu Apr 05 19:51:37 CDT 2018

Actions #4

Updated by Jim Pingle about 6 years ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Jim Pingle about 6 years ago

  • Category set to Interfaces
Actions

Also available in: Atom PDF