LS1028 switch dose not work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LS1028 switch dose not work

ソリューションへジャンプ
1,001件の閲覧回数
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 件の賞賛
返信
1 解決策
973件の閲覧回数
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 件の賞賛
返信
2 返答(返信)
974件の閲覧回数
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 件の賞賛
返信
924件の閲覧回数
HingWong
Contributor III

Thanks yiping!

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

 

looking forward to your reply!

 

0 件の賞賛
返信