background image

H3C S7500E-XS Switch Series

VXLAN

Configuration Guide

 
 

 
 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Hangzhou H3C Technologies Co., Ltd.  
http://www.h3c.com 
 
Software version: S7500EXS-CMW710-R7178 
Document version: 6W100-20160118

 

 

Содержание S7500E-XS Series

Страница 1: ...H3C S7500E XS Switch Series VXLAN Configuration Guide Hangzhou H3C Technologies Co Ltd http www h3c com Software version S7500EXS CMW710 R7178 Document version 6W100 20160118...

Страница 2: ...ne SecPath SecCenter SecBlade Comware ITCMM and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are the property of their respective...

Страница 3: ...vailable on your device Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown Italic Italic text represents arguments that yo...

Страница 4: ...TE An alert that contains additional or supplementary information TIP An alert that provides helpful information Network topology icons Convention Description Represents a generic network device such...

Страница 5: ...3C CFP Transceiver Modules Installation Guide Guides you through installing CFP transceiver modules H3C QSFP Transceiver Modules Installation Guide Guides you through installing QSFP transceiver modul...

Страница 6: ...tallation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technologies as well as solutions Software Down...

Страница 7: ...gning VXLAN tunnels to a VXLAN 11 Mapping an Ethernet service instance to a VSI 12 Managing MAC address entries 13 Enabling local MAC change logging 13 Configuring static remote MAC address entries 14...

Страница 8: ...not supported VXLAN network model As shown in Figure 1 the transport edge devices assign VMs to different VXLANs and then forward traffic between sites for VMs by using VXLAN tunnels The transport edg...

Страница 9: ...s invalid All other bits are reserved and set to 0 24 bit VXLAN ID Identifies the VXLAN of the frame It is also called the virtual network identifier VNI 8 byte outer UDP header for VXLAN The default...

Страница 10: ...Ns on a site facing interface The VTEP assigns customer traffic to a VXLAN by mapping the Ethernet service instance to a VSI An Ethernet service instance is identical to an attachment circuit AC in L2...

Страница 11: ...c Flood process Applies to multicast broadcast and unknown unicast traffic When the VTEP forwards VXLAN traffic it processes the 802 1Q tag in the inner Ethernet header depending on the VSI access mod...

Страница 12: ...one replica to the destination IP address of each VXLAN tunnel in the VXLAN See Figure 5 Multicast mode Also called tandem replication The source VTEP sends the flood frame in a multicast VXLAN packe...

Страница 13: ...6 Figure 5 Unicast mode Figure 6 Multicast mode Access modes of VSIs The access mode of a VSI determines how the VTEP processes the 802 1Q VLAN tags in the Ethernet frames...

Страница 14: ...intact For an Ethernet frame destined for the local site the VTEP forwards the frame without adding 802 1Q VLAN tags In Ethernet access mode VXLAN packets sent between VXLAN sites contain 802 1Q VLAN...

Страница 15: ...e encapsulates the ARP reply creates a suppression entry for VM 7 and forwards the ARP reply to VM 1 7 VM 4 sends an ARP request to obtain the MAC address of VM 1 or VM 7 8 VTEP 1 creates a suppressio...

Страница 16: ...st mode VXLAN to forward traffic correctly do not configure VXLANs or VXLAN tunnels on transport network devices VXLAN configuration task list Tasks at a glance Remarks Required Creating a VXLAN on a...

Страница 17: ...one VXLAN on a VSI The VXLAN ID must be unique for each VSI Configuring a VXLAN tunnel This task provides basic VXLAN tunnel configuration For more information about tunnel configuration and commands...

Страница 18: ...ends of a VXLAN tunnel for quick link connectivity detection The VTEPs periodically send BFD single hop control packets to each other through the VXLAN tunnel A VTEP sets the tunnel state to Defect i...

Страница 19: ...on the interface The service instance matches frames that do not match any other service instance if multiple instances exist on the interface To map an Ethernet service instance to a VSI Step Comman...

Страница 20: ...set the match criterion to default or tagged you must specify the Ethernet access mode If you do not specify an access mode the default VLAN access mode is used Managing MAC address entries With VXLA...

Страница 21: ...twork attacks occur disable remote MAC address learning to prevent the device from learning incorrect remote MAC addresses Configuring a multicast mode VXLAN For a multicast mode VXLAN to flood traffi...

Страница 22: ...packets interface interface type interface number The source source address option in the group command specifies the source IP address of multicast VXLAN packets 8 Enable the IGMP host function igmp...

Страница 23: ...stination UDP port number on all VTEPs in a VXLAN Configuring VXLAN packet check The device checks the inner Ethernet header of each VXLAN packet for 802 1Q VLAN tags If the header contains 802 1Q VLA...

Страница 24: ...ession Step Command Remarks 1 Enter system view system view N A 2 Enter VSI view vsi vsi name N A 3 Enable ARP flood suppression arp suppression enable By default ARP flood suppression is disabled Dis...

Страница 25: ...ble remote MAC address learning Figure 8 Network diagram Configuration procedure 1 Configure IP addresses and unicast routing settings Assign IP addresses to interfaces as shown in Figure 8 Details no...

Страница 26: ...ernet 1 1 1 SwitchA Ten GigabitEthernet1 1 1 port link type trunk SwitchA Ten GigabitEthernet1 1 1 port trunk permit vlan 2 On Ten GigabitEthernet 1 1 1 create Ethernet service instance 1000 to match...

Страница 27: ...tEthernet 1 1 1 create Ethernet service instance 1000 to match VLAN 2 SwitchB Ten GigabitEthernet1 1 1 service instance 1000 SwitchB Ten GigabitEthernet1 1 1 srv1000 encapsulation s vid 2 Map Ethernet...

Страница 28: ...VLAN 2 SwitchC Ten GigabitEthernet1 1 1 service instance 1000 SwitchC Ten GigabitEthernet1 1 1 srv1000 encapsulation s vid 2 Map Ethernet service instance 1000 to the VSI vpna SwitchC Ten GigabitEthe...

Страница 29: ...l2vpn mac address MAC Address State VSI Name Link ID Name Aging cc3e 5f9c 6cdb Dynamic vpna Tunnel1 Aging cc3e 5f9c 23dc Dynamic vpna Tunnel2 Aging 2 mac address es found 2 Verify that VM 1 VM 2 and V...

Страница 30: ...ch B Loop0 6 6 6 6 32 VLAN interface 12 12 1 1 2 24 Configuration procedure 1 Configure IP addresses and unicast routing settings Assign IP addresses to interfaces as shown in Figure 9 Details not sho...

Страница 31: ...13 1 1 3 SwitchA Tunnel2 quit Assign Tunnel 1 and Tunnel 2 to VXLAN 10 SwitchA vsi vpna SwitchA vsi vpna vxlan 10 SwitchA vsi vpna vxlan10 tunnel 1 SwitchA vsi vpna vxlan10 tunnel 2 Configure the mul...

Страница 32: ...mode vxlan SwitchB Tunnel3 source 12 1 1 2 SwitchB Tunnel3 destination 13 1 1 3 SwitchB Tunnel3 quit Assign Tunnel 2 and Tunnel 3 to VXLAN 10 SwitchB vsi vpna SwitchB vsi vpna vxlan 10 SwitchB vsi vpn...

Страница 33: ...C Tunnel1 quit Create a VXLAN tunnel to Switch B The tunnel interface name is Tunnel 3 SwitchC interface tunnel 3 mode vxlan SwitchC Tunnel3 source 13 1 1 3 SwitchC Tunnel3 destination 12 1 1 2 Switch...

Страница 34: ...face21 quit Enable BIDIR PIM SwitchD pim SwitchD pim bidir pim enable SwitchD pim quit 6 Configure Switch E Enable IP multicast routing SwitchE system view SwitchE multicast routing SwitchE mrib quit...

Страница 35: ...nable IGMP and PIM SM on VLAN interface 12 SwitchG interface vlan interface 12 SwitchG Vlan interface12 igmp enable SwitchG Vlan interface12 pim sm SwitchG Vlan interface12 quit Enable PIM SM on VLAN...

Страница 36: ...Disabled MTunnel1 0x6000000 Up Auto Disabled ACs AC Link ID State XGE1 1 1 srv1000 0 Up Verify that the VTEP has learned the MAC addresses of remote VMs SwitchA display l2vpn mac address MAC Address S...

Страница 37: ...ooding VXLAN ARP flood suppression 7 16 VXLAN traffic forwarding flood process 4 5 format VXLAN packet format 2 forwarding VXLAN traffic forwarding 4 VXLAN tunnel assignment 11 frame VXLAN local flood...

Страница 38: ...ring VXLAN features 9 configuring VXLAN packet check 16 configuring VXLAN packet destination UDP port 16 creating VXLAN on VSI 10 displaying VXLAN 17 enabling VXLAN ARP flood suppression 16 enabling V...

Страница 39: ...re configuration 9 how it works 3 local flood enable unknown unicast frames 15 MAC address entry management 13 MAC learning 3 maintain 17 network model 1 overview 1 packet check configuration 16 packe...

Отзывы: