13
Examples
# Add MAC address
000f-e201-0101
to VSI
vsi1
. Specify Tunnel-interface 1 as the outgoing
interface.
<Sysname> system-view
[Sysname] mac-address static 000f-e201-0101 interface tunnel 1 vsi vsi1
Related commands
vxlan tunnel mac-learning disable
mtu
Use
mtu
to set the MTU for a VSI.
Use
undo mtu
to restore the default.
Syntax
mtu
size
undo mtu
Default
The default MTU of a VSI is 1500 bytes.
Views
VSI view
Predefined user roles
network-admin
Parameters
size
: Specifies an MTU value. The value range for this argument is 300 to 65535.
Usage guidelines
The MTU set by using this command limits the maximum length of the packets that a VSI receives
from ACs and forwards through VXLAN tunnels. The MTU does not limit the maximum length of
other packets in the VXLAN VSI.
Fragmentation is disabled for a VSI that uses the default MTU. If you set a MTU for a VSI, the
packets longer than the MTU are fragmented.
Examples
# Set the MTU to 1400 bytes for VSI
vxlan1
.
<Sysname> system-view
[Sysname] vsi vxlan1
[Sysname-vsi-vxlan1] mtu 1400
Related commands
display l2vpn vsi
reserved vxlan
Use
reserved vxlan
to specify a reserved VXLAN.
Use
undo reserved vxlan
to restore the default.