Changes between Version 1 and Version 2 of Internal/OpenFlow/VLANstitching
- Timestamp:
- Mar 8, 2012, 10:51:32 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/VLANstitching
v1 v2 9 9 == Configurations == 10 10 `of1` shows up as DPID 00:00:00:23:20:08:0f:f7 on `kvm-big`. On `of1`, this is the MAC address of interface tap0. [[BR]] 11 The following flow entries are created for `of1`'s DPID on `kvm-big`: 11 12 This is done from the CLI, in config-switch mode. 13 {{{ 14 kvm-big> en 15 kvm-big# conf 16 kvm-big(config)# switch 00:00:00:23:20:08:0f:f7 17 kvm-big(config-switch)# 18 }}} 19 20 From the config-switch context, two flow entries are created for `of1`'s DPID on `kvm-big`: one for switching VLAN tags from 3733 to 5 on nf2c2, and the other, from 5 to 3733 on nf2c1. 12 21 {{{ 13 22 flow-entry port-c1 … … 23 32 }}} 24 33 25 This is done from the CLI, in config-switch mode. 26 {{{ 27 kvm-big> en 28 kvm-big# conf 29 kvm-big(config)# switch 00:00:00:23:20:08:0f:f7 30 kvm-big(config-switch)# 31 }}} 32 33 Setting flow entries from the `config-switch` context is a matter of copy/pasting each line from the first quote block above. Key points are: 34 Setting flow entries from the `config-switch` context is a matter of copy/pasting each line above, and exiting between different flow entries. Key points are: 35 * The four ports of the NetFPGA are designated 1,2,3,4, not 0,1,2,3 as the nf2cx numbering might suggest. 34 36 * 'active True' must be specified to enable the flow policy since the default for any newly created flow is 'active False' 35 37 * at least one layer 2 or lower constraint e.g. ingress/egress port or src/dst MAC must be specified