[LEDE-DEV] Lantiq XRX200 Switch - cannot enable vlans

Paul Rowland paulthomasrowland at hotmail.com
Wed May 25 09:49:55 PDT 2016


FYI:

I found I could not get internet access over wired ethernet ports (wifi works fine). In trying to diagnose the issue, I find I cannot enable vlans on the XRX200 switch.

root at lede:/etc/config# swconfig dev switch0 set reset
root at lede:/etc/config# swconfig dev switch0 vlan 1 set vid 1
root at lede:/etc/config# swconfig dev switch0 vlan 1 set ports '0 1 2 4 6t'
root at lede:/etc/config# swconfig dev switch0 set enable_vlan 1
root at lede:/etc/config# swconfig dev switch0 set apply
root at lede:/etc/config# swconfig dev switch0 show
Global attributes:
    enable_vlan: 0
Port 0:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:0 link:down
Port 1:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:1 link:down
Port 2:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:2 link:up speed:1000baseT full-duplex auto
Port 3:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:3 link:down
Port 4:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:4 link:down
Port 5:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:5 link:down
Port 6:
    uvr: 0
    vsr: 0
    vinr: 0
    tvm: 0
    pvid: 1
    link: port:6 link:up speed:1000baseT full-duplex auto
VLAN 1:
    vid: 1
    enable: 1
    ports: 0 1 2 4 6t
root at lede:/etc/config#
root at lede:/etc/config# swconfig dev switch0 help
switch0: eth0(Lantiq XRX200 Switch), ports: 7 (cpu @ 6), vlans: 64
     --switch
    Attribute 1 (int): enable_vlan (Enable VLAN mode)
    Attribute 2 (none): apply (Activate changes in the hardware)
    Attribute 3 (none): reset (Reset the switch)
     --vlan
    Attribute 1 (int): vid (VLAN ID (0-4094))
    Attribute 2 (int): enable (Enable VLAN)
    Attribute 3 (ports): ports (VLAN port mapping)
     --port
    Attribute 1 (int): uvr (Unknown VLAN Rule)
    Attribute 2 (int): vsr (VLAN Security Rule)
    Attribute 3 (int): vinr (VLAN Ingress Tag Rule)
    Attribute 4 (int): tvm (Transparent VLAN Mode)
    Attribute 5 (int): pvid (Primary VLAN ID)
    Attribute 6 (unknown): link (Get port link information)
root at lede:/etc/config#




More information about the Lede-dev mailing list