Open switch得到port相关信息的命令
stack@cp42:/home/zg/kvm$ sudo ovs-ofctl show br-intOFPT_FEATURES_REPLY (xid=0x1): ver:0x1, dpid:000040169ff14865n_tables:255, n_buffers:256features: capabilities:0xc7, actions:0xfff 1(tapd14504fa-a8): addr:0f:08:f0:3e:f2:09 config: PORT_DOWN state: LINK_DOWN 2(qr-2010deb0-d1): addr:1a:b6:56:fc:7d:a6 config: PORT_DOWN state: LINK_DOWN 3(tap336fbfa7-00): addr:0f:08:f0:3e:f2:09 config: PORT_DOWN state: LINK_DOWN 4(eth1): addr:40:16:9f:f1:48:65 config: 0 state: LINK_DOWN current: 10MB-HD AUTO_NEG advertised: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG supported: 10MB-HD 10MB-FD 100MB-HD 100MB-FD COPPER AUTO_NEG 5(qr-7aa6debb-3a): addr:86:69:33:38:93:e0 config: PORT_DOWN state: LINK_DOWN 6(int-br-int): addr:c2:0e:aa:2b:1c:17 config: 0 state: 0 current: 10GB-FD COPPER 7(phy-br-int): addr:7e:aa:4e:f4:b8:fb config: 0 state: 0 current: 10GB-FD COPPER 9(qvo78d072d8-5f): addr:06:c9:7e:34:38:81 config: 0 state: 0 current: 10GB-FD COPPER LOCAL(br-int): addr:40:16:9f:f1:48:65 config: 0 state: 0OFPT_GET_CONFIG_REPLY (xid=0x3): frags=normal miss_send_len=0
?