The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
Contents
This chapter contains the following sections:
VXLAN trunk is used to configure ports that can individually map a .1Q tag value to a VXLAN. Ports receive the packets with the .1Q tag and are used in mapping the packet into a VXLAN. You can use the VXLAN trunk feature to support network service VMs which need access to more VXLANs than the number of VNICs VMware supports on a VM.
You can trunk multiple VXLANs on a single vEthernet interface.
This example shows how to configure a VXLAN trunk:
switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config)# port-profile type vethernet csr-access switch(config-port-prof)# switchport mode access switch(config-port-prof)# switchport access bridge-domain bd-701 switch(config-port-prof)# service instance 10 switch(config-port-prof-srv)# encapsulation dot1q 600 bridge-domain bd-600 switch(config-port-prof-srv)# encapsulation dot1q 601 bridge-domain bd-601 switch(config-port-prof-srv)# encapsulation dot1q 602 bridge-domain bd-602 switch(config-port-prof-srv)# no shutdown cswitch(config-port-prof-srv)# state enabled switch(config-port-prof)# end
switch# show run port-profile csr-access port-profile type vethernet csr-access switchport mode access switchport access bridge-domain bd-701 service instance 10 encapsulation dot1q 600 bridge-domain bd-600 encapsulation dot1q 601 bridge-domain bd-601 encapsulation dot1q 602 bridge-domain bd-602 state enabled
This example shows how to display VXLAN trunk interface mappings:
switch(config-bd)# show bridge-domain mappings ------------------------------------------------------------------------------- Interface Service Instance ID Module ID Vlan ID Segment ID ------------------------------------------------------------------------------- Vethernet2 10 3 600 5000 Vethernet2 10 3 601 5001 Vethernet2 10 3 602 5002 switch(config-bd)#
![]() Note | The value in the Interface column varies based on the VXLAN gateway or the VXLAN trunk feature. Vethernet<number> in the Interface column indicates mapping for the VXLAN trunk feature; port-channel<number> in the Interface column indicates mapping configured on the VXLAN gateway. |
You can mark a virtual Ethernet interface as capable of sourcing packets from multiple MAC addresses.
Do not use the multi-MAC capability feature if MAC distribution (segment distribution MAC) is enabled.
This example shows how to configure the multi-MAC capability feature:
switch# configure terminal Enter configuration commands, one per line. End with CNTL/Z. switch(config-port-prof)# port-profile type vethernet csr-multi-mac-access switch(config-port-prof)# switchport mode access switch(config-port-prof)# switchport access bridge-domain bd-701 switch(config-port-prof)# capability multi-mac switch(config-port-prof)# state enabled switch(config-port-prof)# no shutdown switch(config-port-prof)# end
switch# show running-config port-profile csr-multi-mac-access port-profile type vethernet csr-multi-mac-access switchport mode access switchport access bridge-domain bd-701 capability multi-mac no shutdown state enabled