...
Send untagged packets to te-1/1/1 that match this flow. Then, te-1/1/2 will forward the packets (with no vlan). Send packets with vlan 2 to te-1/1/1. Then, te-1/1/2 will forward the packets (with vlan 2).
Lag Configurations
Step 1: Set lag interface (Only Openflow ports can be added to an openflow lag as members, and only Crossflow ports can be added to a Crossflow lag as members.)
Code Block |
---|
admin@XorPlus# set xovs enable true admin@XorPlus# commit admin@XorPlus# set interface gigabit-ethernet te-1/1/1 crossflow enable true admin@XorPlus# set interface gigabit-ethernet te-1/1/1 crossflow local-control false admin@XorPlus# set interface gigabit-ethernet te-1/1/2 crossflow enable true admin@XorPlus# commit admin@XorPlus#set interface aggregate-ethernet ae1 crossflow enable true admin@XorPlus#set interface aggregate-ethernet ae1 crossflow local-control false admin@XorPlus#set interface aggregate-ethernet ae2 crossflow enable true admin@XorPlus# commit admin@XorPlus# set interface gigabit-ethernet te-1/1/1 speed 1000 admin@XorPlus# set interface gigabit-ethernet te-1/1/12 speed 1000 admin@XorPlus# commit admin@XorPlus# set interface gigabit-ethernet te-1/1/1 ether-options 802.3ad ae1 admin@XorPlus# set interface gigabit-ethernet te-1/1/2 ether-options 802.3ad ae2 admin@XorPlus# commit admin@XorPlus#set vlans vlan-id 2,10,20 admin@XorPlus# commit admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching port-mode trunk admin@XorPlus# set interface aggregate-ethernet ae1 family ethernet-switching vlan members 2,10,20 admin@XorPlus# set interface aggregate-ethernet ae2 family ethernet-switching port-mode trunk admin@XorPlus# set interface aggregate-ethernet ae2 family ethernet-switching vlan members 2,10,20 admin@XorPlus# commit |
...
Send packets with vlan 2 to te-1/1/1, then te-1/1/2 will forward the packets with vlan 2 and the packets’ source mac address is modified to 22:22:22:22:22:22.
FDB Configurations
topology
...
Code Block |
---|
admin@XorPlus$ovs-ofctl add-flow br0 table=252,dl_vlan=1,dl_dst=22:00:00:00:00:00,ip,nw_dst=1.1.1.100/24,actions=set_field:2-\>vlan_vid,set_field:22:22:22:22:22:22-\>eth_dst,output:2 |
...