Configuration procedure
To create a VXLAN on a VSI:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enable L2VPN. | l2vpn enable | By default, L2VPN is disabled. |
3. Create a VSI and enter VSI view. | vsi vsi-name | By default, no VSIs exist. |
4. (Optional.) Configure a VSI description. | description text | By default, a VSI does not have a description. |
5. Enable the VSI. | undo shutdown | By default, a VSI is not manually shut down. |
6. (Optional.) Set the bandwidth limit for the VSI. | bandwidth bandwidth | By default, no bandwidth limit is set for a VSI. |
7. (Optional.) Set the broadcast, multicast, or unknown unicast restraint bandwidth for the VSI. | restrain { broadcast | multicast | unknown-unicast } bandwidth | By default, the device does not limit the broadcast restraint bandwidth, multicast restraint bandwidth, and unknown unicast restraint bandwidth. |
8. (Optional.) Enable MAC address learning for the VSI. | mac-learning enable | By default, MAC address learning is enabled for a VSI. |
9. Create a VXLAN and enter VXLAN view. | vxlan vxlan-id | By default, no VXLANs exist. You can create only one VXLAN on a VSI. The VXLAN ID must be unique for each VSI. |