H3C Technologies H3C S12500-X Series Switches User Manual

Page 28

Advertising
background image

22

# Configure the EVI tunnel source interface (VLAN-interface 10 in this example), and assign the

transport-facing physical interface Ten-GigabitEthernet 1/0/1 to the VLAN.

[SwitchA] vlan 10

[SwitchA-vlan10] port ten-gigabitethernet 1/0/1

[SwitchA-vlan10] quit

[SwitchA] interface vlan-interface 10

[SwitchA-Vlan-interface10] ip address 1.1.1.1 24

[SwitchA-Vlan-interface10] quit

# Create an IPv4 EVI tunnel interface.

[SwitchA] interface tunnel 0 mode evi

# Set the network ID of the EVI tunnel interface to 1.

[SwitchA-Tunnel0] evi network-id 1

# Specify the IP address of VLAN-interface 10 as the source IP of the EVI tunnel.

[SwitchA-Tunnel0] source 1.1.1.1

# Set the tunnel keepalive interval to 20 seconds and the maximum number of transmissions to 2.

[SwitchA-Tunnel0] keepalive 20 2

# Specify extended VLANs on the EVI tunnel interface.

[SwitchA-Tunnel0] evi extend-vlan 21 to 100

# Configure Switch A as an ENDS on the EVI tunnel interface.

[SwitchA-Tunnel0] evi neighbor-discovery server enable

[SwitchA-Tunnel0] quit

# Enable EVI on Ten-GigabitEthernet 1/0/1.

[SwitchA] interface ten-gigabitethernet 1/0/1

[SwitchA-Ten-GigabitEthernet1/0/1] evi enable

[SwitchA-Ten-GigabitEthernet1/0/1] quit

2.

Configure Switch B:
# Enable MAC address learning at the ingress.

<SwitchB> system-view

[SwitchB] mac-address mac-learning ingress

# Configure the site ID.

[SwitchB] evi site-id 2

# Configure the EVI tunnel source interface (VLAN-interface 10 in this example), and assign the
transport-facing physical interface Ten-GigabitEthernet 1/0/1 to the VLAN.

[SwitchB] vlan 10

[SwitchB-vlan10] port ten-gigabitethernet 1/0/1

[SwitchB-vlan10] quit

[SwitchB] interface vlan-interface 10

[SwitchB-Vlan-interface10] ip address 1.1.2.1 24

[SwitchB-Vlan-interface10] quit

# Create an IPv4 EVI tunnel interface.

[SwitchB] interface tunnel 0 mode evi

# Set the network ID of the EVI tunnel interface to 1.

[SwitchB-Tunnel0] evi network-id 1

# Specify the IP address of VLAN-interface 10 as the source IP of the EVI tunnel.

[SwitchB-Tunnel0] source 1.1.2.1

Advertising
This manual is related to the following products: