This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
您好、TI 专家!
客户正在使用 TDA4VH SDK9.0。
他们已经通过 原生 Linux 实现了 CPSW9G、具有1个 QSGMII + 2个 SGMII 多链路配置。 (测试正常)
现在他们实现了以下两种工作模式的网络设计。
运行模式1–一个具有四个端口的接口:
工作模式2 -两个接口、每个接口都有两个端口:
在测试 LLDP 功能时、他们会遇到以下问题。
客户已配置 ETH1 和 ETH2 将 cpsw9g 更改为 switch 端口后,PC1可以 ping 通 PC2,但 A72上的 Linux 无法 ping 通 PC1或 PC2。
因此、在 PC1、PC2或 Jacinto 电路板上找不到 LLDP 邻居。
我是否可以知道 出现此问题的原因是什么?
非常感谢您提出任何建议、
凯文
您好!
您能转储 ALE 表与上述配置并与我们分享吗?
请参阅 常见问题[如何打印 ALE 表]以收集 ALE 表。
此致、
苏德黑尔
Kevin 老师好!
假设有5个对应于 CPSW9G 的接口、即 eth1、eth2、eth3、eth4和 eth5、请运行以下命令以在交换机模式下启用所有接口、然后测试与它们关联的网桥接口是否能够 ping PC1和 PC2:
ip link set dev eth1 down ip link set dev eth2 down ip link set dev eth3 down ip link set dev eth4 down ip link set dev eth5 down devlink dev param set platform/c000000.ethernet name switch_mode value true cmode runtime ip link add name br0 type bridge ip link set dev br0 type bridge ageing_time 1000 ip link set dev eth1 up ip link set dev eth2 up ip link set dev eth3 up ip link set dev eth4 up ip link set dev eth5 up ip link set dev eth1 master br0 ip link set dev eth2 master br0 ip link set dev eth3 master br0 ip link set dev eth4 master br0 ip link set dev eth5 master br0 ip link set dev br0 up ip link set dev br0 type bridge vlan_filtering 1 bridge vlan add dev br0 vid 1 self bridge vlan add dev br0 vid 1 pvid untagged self