beautypg.com

Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 45

background image

38

[SwitchC-vsi-vpna] vxlan 10002

[SwitchC-vsi-vpna-vxlan10002] quit

[SwitchC-vsi-vpna] quit

# Create the VSI vpnb and VXLAN 10003.

[SwitchC] vsi vpnb

[SwitchC-vsi-vpnb] vxlan 10003

[SwitchC-vsi-vpnb-vxlan10003] quit

[SwitchC-vsi-vpnb] quit

# Assign an IP address to Loopback 0.

[SwitchC] interface loopback0

[SwitchC-Loopback0] ip address 3.3.3.3 255.255.255.255

[SwitchC-Loopback0] quit

# Configure the NVE tunnel interface Tunnel 0. Specify the tunnel interface as an ENDC of the
ENDS at 1.1.1.1. ENDP will set up VXLAN tunnels by using settings on the NVE tunnel.

[SwitchC] interface tunnel 0 mode nve

[SwitchC-Tunnel0] source 3.3.3.3

[SwitchC-Tunnel0] network-id 1

[SwitchC-Tunnel0] vxlan neighbor-discovery client enable 1.1.1.1

[SwitchC-Tunnel0] quit

# Create VLANs 4 and 5, and assign FortyGigE 1/0/1 to these VLANs.

[SwitchC] vlan 4 to 5

[SwitchC] interface fortygige 1/0/1

[SwitchC-FortyGigE1/0/1] port link-type trunk

[SwitchC-FortyGigE1/0/1] port trunk permit vlan 4 to 5

# On FortyGigE 1/0/1, configure Ethernet service instance 1000 to match VLAN 4. Map the
service instance to the VSI vpna.

[SwitchC-FortyGigE1/0/1] service-instance 1000

[SwitchC-FortyGigE1/0/1-srv1000] encapsulation s-vid 4

[SwitchC-FortyGigE1/0/1-srv1000] xconnect vsi vpna

[SwitchC-FortyGigE1/0/1-srv1000] quit

# On FortyGigE 1/0/1, configure Ethernet service instance 2000 to match VLAN 5. Map the

service instance to the VSI vpnb.

[SwitchC-FortyGigE1/0/1] service-instance 2000

[SwitchC-FortyGigE1/0/1-srv2000] encapsulation s-vid 5

[SwitchC-FortyGigE1/0/1-srv2000] xconnect vsi vpnb

[SwitchC-FortyGigE1/0/1-srv2000] quit

[SwitchC-FortyGigE1/0/1] quit

# Start the VXLAN IS-IS process. Enable VXLAN autonegotiation and MAC advertisement.

[SwitchC] vxlan-isis

[SwitchC-vxlan-isis] negotiate-vni enable

[SwitchC-vxlan-isis] mac-synchronization enable

[SwitchC-vxlan-isis] quit

Verifying the configuration

1.

Verify the configuration on VTEPs. This example uses Switch A.

This manual is related to the following products: