问题描述
我正在 Open vSwitch 中实施 RSTP。我正在按如下方式配置网桥:
ovs-vsctl set Port eth0 other_config:rstp-port-priority=32
ovs-vsctl set Port eth0 other_config:rstp-port-num=3
ovs-vsctl set Port eth0 other_config:rstp-path-cost=150
ovs-vsctl set Port eth0 other_config:rstp-port-admin-edge=true
ovs-vsctl set Port eth0 other_config:rstp-port-auto-edge=true`
我如何查看或检查上述配置,如在 cisco 交换机中我可以看到的 switch# 显示生成树。
在 OVS 数据库中有如下条目:
RSTP Status:
rstp_status : rstp_bridge_id,optional string
rstp_status : rstp_root_id,optional string
rstp_status : rstp_root_path_cost,optional string,containing an
integer,at least 0
rstp_status : rstp_designated_id,optional string,rstp_status : rstp_designated_port_id,optional string
rstp_status : rstp_bridge_port_id,optional string
如何从数据库或表中读取数据?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)