vtep-peer
Syntax
vtep-peer <IPV4-ADDR>
no vtep-peer <IPV4-ADDR>
Description
Adds a VTEP peer to a VNI. The VTEP peer IP address must be reachable for a VXLAN tunnel to be established.
The
no
form of this command removes a VTEP peer from a VNI, which deletes the VXLAN tunnel to the peer.
Command context
config-vni
Parameters
<IPV4-ADDR>
Specifies the IP address of a VTEP peer in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255. You can remove leading zeros. For example, the address192.169.005.100
becomes192.168.5.100
.
Authority
Administrators
Examples
Adding VTEP peer 10.10.10.1 to VNI 1000:
switch(config)# int vxlan 1 switch(config-vxlan-if)# vni 1000 switch(config-vni)# vlan 10 switch(config-vni)# vtep-peer 10.10.10.1
Deleting VTEP peer 10.10.10.1 from VNI 1000:
switch(config)# int vxlan 1 switch(config-vxlan-if)# vni 1000 switch(config-vni)# no vtep-peer 10.10.10.1