17
interface tunnel tunnel-number
: Specifies the VXLAN tunnel interface for the remote MAC address.
The
tunnel-number
argument represents the tunnel interface number. The tunnel interface must
already exist.
vsi vsi-name
: Specifies the VSI name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
A remote MAC address is the MAC address of a VM in a remote site.
Remote MAC entries include the following types:
•
Static
—Manually added MAC entries.
•
Dynamic
—MAC entries learned in the data plane from incoming traffic on VXLAN tunnels.
•
OpenFlow
—MAC entries issued by a remote controller through OpenFlow.
For a remote address, the manual static entry has higher priority than the dynamic entry.
Examples
# Add the MAC address
000f-e201-0101
to the VSI
vsi1
, and 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
reserved vxlan
Use
reserved vxlan
to specify the reserved VXLAN.
Use
undo reserved vxlan
to restore the default.
Syntax
reserved vxlan
vxlan-id
undo reserved vxlan
Default
No VXLAN has been reserved.
Views
System view
Predefined user roles
network-admin
Parameters
vxlan-id
: Specifies a VXLAN ID in the range of 0 to 16777215.
Usage guidelines
You can specify only one reserved VXLAN on the VTEP. The reserved VXLAN cannot be the VXLAN
created on any VSI.
Examples
# Specify VXLAN 10000 as the reserved VXLAN.
<Sysname> system-view
[Sysname] reserved vxlan 10000