Hello yiping,
Thank you for your reply. After the switch is enabled on the board, the network adapter ports are as follows:
root@root:~# ls-listni
dprc.1/dpni.3 (interface: eth3, end point: dpsw.0.2)
dprc.1/dpni.2 (interface: eth0, end point: dpmac.12)
dprc.1/dpni.1 (interface: eth1, end point: dpmac.16)
dprc.1/dpni.0 (interface: eth2, end point: dpmac.17)
root@root:~#
root@root:~#
root@root:~# ifconfig
br1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::b46f:17ff:fe01:4062 prefixlen 64 scopeid 0x20<link>
inet6 fe80::45fe:859e:8778:23f7 prefixlen 64 scopeid 0x20<link>
ether 3e:72:68:41:9e:6e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1040 (1.0 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.21.100.100 netmask 255.255.255.0 broadcast 192.21.100.255
inet6 fe80::1562:fb44:623b:e842 prefixlen 64 scopeid 0x20<link>
ether 12:2b:c3:55:78:35 txqueuelen 1000 (Ethernet)
RX packets 171 bytes 23182 (23.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 146 bytes 17554 (17.5 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.21.60.100 netmask 255.255.255.0 broadcast 192.21.60.255
ether 32:4e:e7:fa:8c:d9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth2: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.5.215 netmask 255.255.255.0 broadcast 192.168.5.255
ether b2:a5:c1:33:7d:c9 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::133a:dd23:19df:4404 prefixlen 64 scopeid 0x20<link>
ether ca:d6:a1:f3:23:af txqueuelen 1000 (Ethernet)
RX packets 293 bytes 20119 (20.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 10 bytes 1128 (1.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth4: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::3d84:93ba:28d:1a83 prefixlen 64 scopeid 0x20<link>
ether 66:1a:ce:38:27:d2 txqueuelen 1000 (Ethernet)
RX packets 13481 bytes 1244770 (1.2 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 12831 bytes 1177146 (1.1 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth5: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet6 fe80::a325:d7b1:39d4:ec06 prefixlen 64 scopeid 0x20<link>
ether 5a:b8:ae:cf:49:43 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth6: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::4c80:c8cd:6a99:8604 prefixlen 64 scopeid 0x20<link>
ether 3e:72:68:41:9e:6e txqueuelen 1000 (Ethernet)
RX packets 6 bytes 540 (540.0 B)
RX errors 0 dropped 2 overruns 0 frame 0
TX packets 654 bytes 67977 (67.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1364 bytes 96740 (96.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1364 bytes 96740 (96.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@root:~#
Eth3 is connected to dpni.3, and eth4, eth5, eth6 are virtual nics for switch. Eth4 connects to dpmac.13, eth5 connects to dpmac.14, and eth6 connects to dpni.3. Dpmac.13 and dpmac.14 Connect to external optical modules.
In the current environment, only dpmac13 connects to the H3C switch, and No traffic is sent to eth3 of the board.
When the optical port of dpmac.13 was remove and insert, the entire network crashed. As you can see from switch_exception_log.txt, the eth4 interface sends and receives the same data, about 27GB, but no traffic is actually sent to the board.
Some detailed logs about restool dpni.3 restool dpmac.13 restool dpmac.14 restool dpsw.0 are in the following two txt files, please check.