Setting the datapath ID
The datapath ID is a unique identifier for an OpenFlow switch (OpenFlow instance). Do not configure the same datapath ID for different OpenFlow switches.
To set the datapath ID:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter OpenFlow instance view. | openflow instance instance-id | N/A |
3. Set the datapath ID. | datapath-id id | By default, the datapath ID of an OpenFlow instance contains the instance ID and the bridge MAC address of the device. The upper 16 bits are the instance ID and the lower 48 bits are the bridge MAC address of the device. |