Creating flow tables for an OpenFlow instance
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OpenFlow instance view. | openflow instance instance-id | N/A |
3. Configure the flow table type and the flow table ID. | flow-table { [ ingress-vlan ingress-table-id ] [ extensibility extensibility-table-id | mac-ip mac-ip-table-id ] * [ egress-vlan egress-table-id ] } | By default, an OpenFlow instance contains one extensibility flow table with an ID of 0. An OpenFlow instance supports only one MAC-IP flow table and one extensibility flow table. If you execute the command multiple times, the most recent configuration takes effect. The ID of the MAC-IP flow table must be smaller than that of the extensibility flow table. If you specify the ingress-vlan ingress-table-id option, make sure the VLAN tagging flow table has the smallest ID among all flow tables. If you specify the egress-vlan egress-table-id option, make sure the VLAN untagging flow table has the largest ID among all flow tables. The VLAN tagging flow table and untagging flow table take effect only when the following conditions are met:
|