On 4/24/23 10:41, LIU Yulong via discuss wrote: > Hi team, > > For ovs, we enable lldp for OVS-DPDK. After settings, we can get host > port information in physical switch side. > > But, we have a use case is how to get the switch information in host side. > Is there something similar to lldpcli commands?
Hi. OVS doesn't engage in many aspects of LLDP and doesn't parse many types of LLDP messages. Support in mostly limited to AutoAttach functionality. There is a set of appctl commands available to get information from that module: ovs-appctl autoattach/status [bridge] autoattach/show-isid [bridge] autoattach/statistics [bridge] These might give you some information you're looking for, but it's limited. And there are no other ways to get LLDP-related information from OVS today. Best regards, Ilya Maximets. > > # lldpcli show neighbors > ------------------------------------------------------------------------------- > LLDP neighbors: > ------------------------------------------------------------------------------- > Interface: eno1, via: LLDP, RID: 1, Time: 11 days, 02:41:02 > Chassis: > ChassisID: mac xx:de:e5:48:41:xx > SysName: xxxxxxx > SysDescr: XX XX Routing Platform Software > VRP (R) software, Version 8.191 (CE6881 V200R019C10SPC800) > Copyright (C) 2012-2020 xxx Technologies Co., Ltd. > xxx CE6881-48S6CQ > > MgmtIP: 10.5.2.4 > Capability: Bridge, on > Capability: Router, on > Port: > PortID: ifname 10GE1/0/11 > PortDescr: TO_xxxxxxxx > TTL: 120 > > Thanks. > > LIU Yulong > _______________________________________________ > discuss mailing list > disc...@openvswitch.org > https://mail.openvswitch.org/mailman/listinfo/ovs-discuss > _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss