vtep-peer
Syntax
vtep-peer 没有vtep-peer
描述
Adds a VTEP peer to a VNI. The VMI must not have routing enabled. The VTEP peer IP address must be reachable for a VXLAN tunnel to be established.
The没有
form of this command removes a VTEP peer from a VNI, which deletes the VXLAN tunnel to the peer.
Command context
config-vni-
Parameters
-
-
指定the IP address of a VTEP peer in IPv4 format (
x.x.x.x
), wherex
is a decimal number from 0 to 255.
权威
Administrators or local user group members with execution rights for this command.
Examples
Adding VTEP peer10.10.10.1to VNI1000:
switch(config)#interface vxlan 1switch(config-vxlan-if)#vni 1000switch(config-vni-1000)#vlan 10switch(config-vni-1000)#vtep-peer 10.10.10.1
Deleting VTEP peer10.10.10.1from VNI1000:
switch(config)#interface vxlan 1switch(config-vxlan-if)#vni 1000switch(config-vni-1000)# novtep-peer 10.10.10.1