H3C S7500E-XS Series Configuration Manual page 31

Hide thumbs Also See for S7500E-XS Series:
Table of Contents

Advertisement

[SwitchA] multicast routing
[SwitchA-mrib] quit
# Create the VSI vpna and VXLAN 10.
[SwitchA] vsi vpna
[SwitchA-vsi-vpna] vxlan 10
[SwitchA-vsi-vpna-vxlan10] quit
[SwitchA-vsi-vpna] quit
# Assign an IP address to VLAN-interface 11, and enable the IGMP host function on the
interface. This interface's IP address will be the source IP address of VXLAN packets sent by
the VTEP.
[SwitchA] interface vlan-interface 11
[SwitchA-Vlan-interface11] ip address 11.1.1.1 24
[SwitchA-Vlan-interface11] igmp host enable
[SwitchA-Vlan-interface11] quit
# Create a VXLAN tunnel to Switch B. The tunnel interface name is Tunnel 1.
[SwitchA] interface tunnel 1 mode vxlan
[SwitchA-Tunnel1] source 11.1.1.1
[SwitchA-Tunnel1] destination 12.1.1.2
[SwitchA-Tunnel1] quit
# Create a VXLAN tunnel to Switch C. The tunnel interface name is Tunnel 2.
[SwitchA] interface tunnel 2 mode vxlan
[SwitchA-Tunnel2] source 11.1.1.1
[SwitchA-Tunnel2] destination 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 multicast group address and source IP address for multicast VXLAN packets.
[SwitchA-vsi-vpna-vxlan10] group 225.1.1.1 source 11.1.1.1
[SwitchA-vsi-vpna-vxlan10] quit
[SwitchA-vsi-vpna] quit
# Create VLAN 2, and assign the site-facing interface Ten-GigabitEthernet 1/1/1 to VLAN 2.
[SwitchA] vlan 2
[SwitchA-vlan2] quit
[SwitchA] interface ten-gigabitethernet 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 VLAN 2.
[SwitchA-Ten-GigabitEthernet1/1/1] service-instance 1000
[SwitchA-Ten-GigabitEthernet1/1/1-srv1000] encapsulation s-vid 2
# Map Ethernet service instance 1000 to the VSI vpna.
[SwitchA-Ten-GigabitEthernet1/1/1-srv1000] xconnect vsi vpna
[SwitchA-Ten-GigabitEthernet1/1/1-srv1000] quit
[SwitchA-Ten-GigabitEthernet1/1/1] quit
3.
Configure Switch B:
# Enable L2VPN.
24

Advertisement

Table of Contents
loading

Table of Contents