Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3624905
  • 博文数量: 880
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 6155
  • 用 户 组: 普通用户
  • 注册时间: 2016-11-11 09:12
个人简介

To be a better coder

文章分类

全部博文(880)

文章存档

2022年(5)

2021年(60)

2020年(175)

2019年(207)

2018年(210)

2017年(142)

2016年(81)

分类: LINUX

2019-07-31 09:42:51

[root@localhost /]# ovs-ofctl -O OpenFlow13 show vswitch1
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:0000bedce6af4d4d
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS GROUP_STATS QUEUE_STATS
OFPST_PORT_DESC reply (OF1.3) (xid=0x3):
 1(vpair1_1): addr:de:d6:c9:3b:84:12
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 2(vnet1): addr:fe:54:00:60:d1:26
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 3(vnet2): addr:fe:54:00:e6:15:d2
     config:     0
     state:      0
     current:    10MB-FD COPPER
     speed: 10 Mbps now, 0 Mbps max
 4(vpair2_0): addr:fa:8a:05:bb:3c:5d
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 LOCAL(vswitch1): addr:be:dc:e6:af:4d:4d
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x5): frags=normal miss_send_len=0
[root@localhost /]#
[root@localhost /]# ovs-ofctl -O OpenFlow13 dump-flows vswitch1
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=151.786s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port=4,nw_src=169.254.255.2,nw_dst=169.254.255.1 actions=output:2
 cookie=0x0, duration=132.986s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port=3,nw_src=169.254.255.2,nw_dst=169.254.255.1 actions=output:4
 cookie=0x0, duration=124.921s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port=4,nw_src=169.254.255.1,nw_dst=169.254.255.2 actions=output:3
 cookie=0x0, duration=117.601s, table=0, n_packets=0, n_bytes=0, priority=100,ip,in_port=2,nw_src=169.254.255.1,nw_dst=169.254.255.2 actions=output:4
[root@localhost /]#
[root@localhost /]# ovs-ofctl -O OpenFlow13 show vswitch2
OFPT_FEATURES_REPLY (OF1.3) (xid=0x2): dpid:00001a6e65f1124e
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS GROUP_STATS QUEUE_STATS
OFPST_PORT_DESC reply (OF1.3) (xid=0x3):
 1(v-server): addr:62:94:23:c0:35:0f
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 2(169.254.255.2): addr:1a:d4:31:e7:00:0a
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 3(169.254.255.3): addr:b6:33:67:17:c1:6a
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 4(vpair2_1): addr:ca:c4:f2:bf:a0:9e
     config:     0
     state:      0
     current:    10GB-FD COPPER
     speed: 10000 Mbps now, 0 Mbps max
 LOCAL(vswitch2): addr:1a:6e:65:f1:12:4e
     config:     PORT_DOWN
     state:      LINK_DOWN
     speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (OF1.3) (xid=0x5): frags=normal miss_send_len=0
[root@localhost /]#
[root@localhost /]# ovs-ofctl -O OpenFlow13 dump-flows vswitch2
OFPST_FLOW reply (OF1.3) (xid=0x2):
 cookie=0x0, duration=326.436s, table=0, n_packets=0, n_bytes=0, in_port=2 actions=output:4
 cookie=0x0, duration=311.201s, table=0, n_packets=0, n_bytes=0, in_port=1 actions=output:4
 cookie=0x0, duration=318.628s, table=0, n_packets=0, n_bytes=0, ip,in_port=4,nw_dst=169.254.255.1 actions=set_field:26:37:15:61:d3:e1->eth_dst,output:1
 cookie=0x0, duration=303.418s, table=0, n_packets=0, n_bytes=0, ip,in_port=4,nw_dst=169.254.255.2 actions=set_field:fa:e7:7a:19:f8:99->eth_dst,output:2
[root@localhost /]#
[root@localhost /]#

阅读(1092) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~