On R230, we have the following. Not sure why eth0 is down. I used the same setup for L3 routing measurement. Everything worked fine.
vpp# sh hardware-interfaces eth0 Name Idx Link Hardware eth0 2 down eth0 Link speed: unknown Ethernet address b4:96:91:23:1e:d6 Intel 82599 * carrier down <================================= How can this be done? * flags: admin-up promisc pmd rx-ip4-cksum rx: queues 1 (max 128), desc 512 (min 32 max 4096 align 8) tx: queues 3 (max 64), desc 512 (min 32 max 4096 align 8) pci: device 8086:154d subsystem 8086:7b11 address 0000:06:00.01 numa 0 max rx packet len: 15872 promiscuous: unicast on all-multicast on vlan offload: strip off filter off qinq off rx offload avail: vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro macsec-strip vlan-filter vlan-extend jumbo-frame scatter security keep-crc rx offload active: ipv4-cksum tx offload avail: vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum tcp-tso macsec-insert multi-segs security tx offload active: none rss avail: ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp ipv6-udp ipv6-ex ipv6 rss active: none tx burst function: (nil) rx burst function: ixgbe_recv_pkts_vec rx frames ok 32770 rx bytes ok 3899630 extended stats: rx good packets 32770 rx good bytes 3899630 rx q0packets 32770 rx q0bytes 3899630 rx size 65 to 127 packets 32770 rx multicast packets 32770 rx total packets 32770 rx total bytes 3899630 vpp# On Thu, Oct 17, 2019 at 10:47 AM Damjan Marion <dmar...@me.com> wrote: > > > On 17 Oct 2019, at 09:59, Chuan Han <chuan...@google.com> wrote: > > It seems R740 vpp works fine. All packets coming from port 1 go to port 2. > > vpp# sh int > Name Idx State MTU (L3/IP4/IP6/MPLS) > Counter Count > eth0 2 up 9000/0/0/0 tx > packets 30895 > tx > bytes 3676505 > eth1 1 up 9000/0/0/0 rx > packets 30895 > rx > bytes 3676505 > local0 0 down 0/0/0/0 > vpp# sh int > Name Idx State MTU (L3/IP4/IP6/MPLS) > Counter Count > eth0 2 up 9000/0/0/0 tx > packets 30897 > tx > bytes 3676743 > eth1 1 up 9000/0/0/0 rx > packets 30897 > rx > bytes 3676743 > local0 0 down 0/0/0/0 > vpp# sh error > Count Node Reason > 30899 l2-output L2 output packets > 30899 l2-learn L2 learn packets > 1 l2-learn L2 learn misses > 30899 l2-input L2 input packets > 30899 l2-flood L2 flood packets > vpp# > > The drop happened on R230 vpp. Port 3 dropped all pkts complaining about > down interface. However, show command shows interfaces are up. > > > Can you capture "show hardware eth0" ? > > -- > Damjan > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14205): https://lists.fd.io/g/vpp-dev/message/14205 Mute This Topic: https://lists.fd.io/mt/34655826/21656 Group Owner: vpp-dev+ow...@lists.fd.io Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-