LS1028A switch port configuration problem

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LS1028A switch port configuration problem

656 次查看
hqq2312
Contributor I

Hello,

I need some help to configure the switch port(swp0-3).

Question 1:

Only about a few seconds the board will print the information shown below when I open it, but I don't get the reason.

[ 283.739793] mscc_felix 0000:00:00.5 swp2: failed (err=-2) to del object (id=3)
[ 283.747151] mscc_felix 0000:00:00.5 swp1: failed (err=-2) to del object (id=3 )
[ 283.754979] mscc_felix 0000:00:00.5 swp0: failed (err=-2) to del object (id=3 )
[ 283.762490] mscc_felix 0000:00:00.5 swp2: failed (err=-2) to del object (id=3 )
[ 283.769967] mscc_felix 0000:00:00.5 swp1: failed (err=-2) to del object (id=3 )
[ 283.777419] mscc_felix 0000:00:00.5 swp0: failed (err=-2) to del object (id=3 )

Question 2:

When I want to configure switch device interfaces for swp0, swp1, swp2 and swp3 acrroding to the Real-time Edge Software User Guide, I always get the following reply.

hqq2312_2-1709626904887.png

 ls /sys/bus/pci/devices/0000:00:00.5/net/
swp0 swp1 swp2 swp3
 ip link add name switch type bridge vlan_filtering 1
 ip link set switch up
 ip link set swp0 master switch && ip link set swp0 up
RTNETLINK answers: No such device
 ip link set swp0 master switch
RTNETLINK answers: No such device

Please tell me how to figure these two questions, thank you!

 

标签 (2)
0 项奖励
回复
0 回复数