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

Page 30

Advertising
background image

23

# Create an IPv4 EVI tunnel interface.

[SwitchC] interface tunnel 0 mode evi

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

[SwitchC-Tunnel0] evi network-id 1

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

[SwitchC-Tunnel0] source 1.1.3.1

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

[SwitchC-Tunnel0] keepalive 20 2

# Specify extended VLANs on the EVI tunnel interface.

[SwitchC-Tunnel0] evi-isis extend-vlan 21 to 100

# Configure Switch C as an ENDC of Switch A.

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

[SwitchC-Tunnel0] quit

# Enable EVI on GigabitEthernet 3/0/1.

[SwitchC] interface gigabitethernet 3/0/1

[SwitchC-GigabitEthernet3/0/1] evi enable

[SwitchC-GigabitEthernet3/0/1] quit

Verifying the configuration

1.

Verify the configuration on Switch A:
# Display information about the EVI tunnel interface.

[SwitchA] display interface tunnel 0

Tunnel0

Current state: UP

Line protocol state: UP

Description: Tunnel0 Interface

Maximum Transmit Unit: 64000

Internet protocol processing: disabled

Tunnel source 1.1.1.1

Tunnel keepalive enabled, Period(20 s), Retries(2)

Network ID 1

Tunnel protocol/transport GRE_EVI/IP

Last clearing of counters: Never

Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec

Input: 0 packets, 0 bytes, 0 drops

Output: 0 packets, 0 bytes, 0 drops

# Display information about EVI-Link interfaces.

[SwitchA] display evi link interface tunnel 0

Interface Status Source Destination

Evi-Link1 UP 1.1.1.1 1.1.2.1

Evi-Link2 UP 1.1.1.1 1.1.3.1

# Display ENDS information.

[SwitchA] display evi neighbor-discovery server summary

Interface Local Address Network ID Auth Members

Tunnel0 1.1.1.1 1 disabled 3

Advertising