Gateway Subnet - H3C MSR 5600 Comware 7 Vxlan Command Reference

Hide thumbs Also See for MSR 5600:
Table of Contents

Advertisement

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
prefix-length }
undo
gateway
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.
wildcard-mask : Specifies a wildcard mask in dotted decimal notation. In contrast to a network
mask, the 0 bits in a wildcard mask represent "do care" bits, and the 1 bits represent "don't care" bits.
If the "do care" bits in a packet's IP address are identical to the "do care" bits in the specified subnet
address, the packet is assigned to the VSI. All "don't care" bits are ignored. The 0s and 1s in a
wildcard mask can be noncontiguous. For example, 0.255.0.255 is a valid wildcard mask.
ipv6-address prefix-length : Specifies an IPv6 subnet address and the address prefix
length in the range of 1 to 128.
Usage guidelines
You must configure this command on VSIs that share a gateway interface. This command enables
the VSI interface to identify the VSI of a packet.
You can assign a maximum of eight IPv4 and IPv6 subnets to a VSI.
You must specify a gateway interface for a VSI before you can assign subnets to the VSI. If you
remove the gateway interface from the VSI, the VSI's subnet settings are automatically deleted.
For VSIs that share a gateway interface, the subnets must be unique.
Examples
# Assign subnet 100.0.10.0/24 to VSI vxlan.
<Sysname> system-view
subnet
{
ipv4-address
subnet {
wildcard-mask
ipv4-address
wildcard-mask
33
|
ipv6-address
|
ipv6-address

Advertisement

Table of Contents
loading

Table of Contents