
39
distributed-gateway local
Use
distributed-gateway local
to specify a VSI interface as a distributed gateway to
provide services for the local site.
Use
undo
distributed-gateway local
to restore the default.
Syntax
distributed-gateway local
undo distributed-gateway local
Default
A VSI interface is not a distributed gateway.
Views
VSI interface view
Predefined user roles
network-admin
Usage guidelines
If a VXLAN uses distributed gateway services, you must assign the same IP address to the VXLAN's
VSI interfaces on different VTEPs. To avoid IP address conflicts, you must specify the VSI interface
on each VTEP as a distributed gateway.
Examples
# Specify VSI-interface 100 as a distributed gateway.
<Sysname> system-view
[Sysname] interface vsi-interface 100
[Sysname-Vsi-interface100] distributed-gateway local
gateway subnet
Use
gateway subnet
to assign a subnet to a VSI.
Use
undo gateway subnet
to remove a subnet from a VSI.
Syntax
gateway subnet
{
ipv4-address wildcard-mask
|
ipv6-address
prefix-length
}
undo gateway subnet
{
ipv4-address wildcard-mask
|
ipv6-address
prefix-length
}
Default
No subnet is assigned to a VSI.
Views
VSI view
Predefined user roles
network-admin
Parameters
ipv4-address
: Specifies an IPv4 subnet address in dotted-decimal notation.