
24
[SwitchA-Tunnel1] evi network-id 1
# Specify the IP address of VLAN-interface 10 as the source IP of the EVI tunnel.
[SwitchA-Tunnel1] source 1.1.1.1
# Set the tunnel keepalive interval to 20 seconds and the maximum number of transmissions to
2.
[SwitchA-Tunnel1] keepalive 20 2
# Specify extended VLANs on the EVI tunnel interface.
[SwitchA-Tunnel1] evi extend-vlan 21 to 100
# Configure Switch A as an ENDS on the EVI tunnel interface.
[SwitchA-Tunnel1] evi neighbor-discovery server enable
[SwitchA-Tunnel1] quit
# Configure routing policy
EVI-Filter
to match MAC addresses in VLANs 21 to 90.
[SwitchA] route-policy EVI-Filter permit node 10
[SwitchA-route-policy-EVI-Filter-10] if-match vlan 21 to 90
[SwitchA-route-policy-EVI-Filter-10] quit
# Assign the policy to EVI IS-IS process 0.
[SwitchA] evi-isis 0
[SwitchA-evi-isis-0] filter-policy EVI-Filter
[SwitchA-evi-isis-0] quit
# Enable EVI on GigabitEthernet 1/0/1.
[SwitchA] interface gigabitethernet 1/0/1
[SwitchA-GigabitEthernet1/0/1] evi enable
[SwitchA-GigabitEthernet1/0/1] quit
3.
Configure Switch B:
# Configure the site ID.
<SwitchB> system-view
[SwitchB] evi site-id 2
# Configure the EVI tunnel source interface (VLAN-interface 10 in this example), and assign
transport-facing physical interface GigabitEthernet 1/0/1 to the VLAN.
[SwitchB] vlan 10
[SwitchB-vlan10] port 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 1 mode evi
# Set the network ID to 1 for the EVI tunnel interface.
[SwitchB-Tunnel1] evi network-id 1
# Specify the IP address of VLAN-interface 10 as the source IP of the EVI tunnel.
[SwitchB-Tunnel1] source 1.1.2.1
# Set the tunnel keepalive interval to 20 seconds and the maximum number of transmissions to
2.
[SwitchB-Tunnel1] keepalive 20 2
# Specify extended VLANs on the EVI tunnel interface.
[SwitchB-Tunnel1] evi extend-vlan 21 to 100
# Configure Switch B as an ENDC of Switch A.