LS1028 switch dose not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028 switch dose not work

Jump to solution
753 Views
HingWong
Contributor III

How to configure the switch on LS1028 as a common switch, that is, self-learning type? I have now set eno2's IP address and plugged the network cable into swp0. eno2's IP cannot be pinged.

Does this configuration actually work at runtime, or does it have to be configured in the device tree?

0 Kudos
Reply
1 Solution
725 Views
yipingwang
NXP TechSupport
NXP TechSupport

Run the following configure:

# ip link add name br0 type bridge stp_state 0
# ip link set swp0 master br0 && ip link set swp0 up
# ip link set swp1 master br0 && ip link set swp1 up
# ip link set swp2 master br0 && ip link set swp2 up
# ip link set swp3 master br0 && ip link set swp3 up
# ip link set br0 up

Then ls1028a will work as an normal switch device. You can test it by connect two Ethernet devices with 2 of the swp ports and use ping to test.

View solution in original post

0 Kudos
Reply
2 Replies
726 Views
yipingwang
NXP TechSupport
NXP TechSupport

Run the following configure:

# ip link add name br0 type bridge stp_state 0
# ip link set swp0 master br0 && ip link set swp0 up
# ip link set swp1 master br0 && ip link set swp1 up
# ip link set swp2 master br0 && ip link set swp2 up
# ip link set swp3 master br0 && ip link set swp3 up
# ip link set br0 up

Then ls1028a will work as an normal switch device. You can test it by connect two Ethernet devices with 2 of the swp ports and use ping to test.

0 Kudos
Reply
676 Views
HingWong
Contributor III

Thanks yiping!

BTW,where can I see all methods of swtich settings?

 

looking forward to your reply!

 

0 Kudos
Reply