Configuring a VSI interface

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a VSI interface and enter VSI interface view.

interface vsi-interface vsi-interface-id

By default, no VSI interfaces exist.

3. Assign an IPv4 or IPv6 address to the VSI interface.

  • Assign an IPv4 address:ip address ip-address { mask | mask-length } [ sub ]

  • Assign an IPv6 address:See IPv6 basics in Layer 3—IP Services Configuration Guide.

By default, no IPv4 or IPv6 address is assigned to a VSI interface.

This interface will be used as a gateway for VXLANs.

4. Specify the VSI interface as a distributed gateway.

distributed-gateway local

By default, a VSI interface is not a distributed gateway.

5. Enable local proxy ARP or local ND proxy.

  • Enable local proxy ARP on an IPv4 gateway:local-proxy-arp enable [ ip-range startIP to endIP ]

  • Enable local ND proxy on an IPv6 gateway:local-proxy-nd enable

By default, local proxy ARP and local ND proxy are disabled.

For more information about the commands, see Layer 3—IP Services Command Reference.

6. Assign a MAC address to the VSI interface.

mac-address mac-address

By default, all VSI interfaces on a device use a fixed MAC address. The MAC addresses of VSI interfaces on different devices are different.

7. (Optional.) Configure the description of the VSI interface.

description text

The default description of a VSI interface is interface-name plus Interface (for example, Vsi-interface100 Interface).

8. (Optional.) Set the MTU for the VSI interface.

mtu mtu-value

The default MTU of a VSI interface is 1444 bytes.

Make sure the MTU is a minimum of 36 bytes less than the MTU of the physical outgoing interface.

9. (Optional.) Set the expected bandwidth for the VSI interface.

bandwidth bandwidth-value

The default expected bandwidth (in kbps) equals the interface baud rate divided by 1000.

10. (Optional.) Restore the default settings on the interface.

default

N/A

11. (Optional.) Set an ARP packet sending rate limit for the VSI interface.

arp send-rate pps

By default, the ARP packet sending rate is not limited for a VSI interface.

12. Bring up the interface.

undo shutdown

By default, a VSI interface is not manually shut down.