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

Page 31

Advertising
background image

24

[SwitchC] vlan 10

[SwitchC-vlan10] port gigabitethernet 1/0/1

[SwitchC-vlan10] quit

[SwitchC] interface vlan-interface 10

[SwitchC-Vlan-interface10] ip address 1.1.3.1 24

[SwitchC-Vlan-interface10] quit

# Create an IPv4 EVI tunnel interface.

[SwitchC] interface tunnel 1 mode evi

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

[SwitchC-Tunnel1] evi network-id 1

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

[SwitchC-Tunnel1] source 1.1.3.1

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

[SwitchC-Tunnel1] keepalive 20 2

# Specify extended VLANs on the EVI tunnel interface.

[SwitchC-Tunnel1] evi extend-vlan 21 to 100

# Configure Switch C as an ENDC of Switch A.

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

[SwitchC-Tunnel1] quit

# Enable EVI on GigabitEthernet 1/0/1.

[SwitchC] interface gigabitethernet 1/0/1

[SwitchC-GigabitEthernet1/0/1] evi enable

[SwitchC-GigabitEthernet1/0/1] quit

Verifying the configuration

1.

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

[SwitchA] display interface tunnel 1

Tunnel1

Current state: UP

Line protocol state: UP

Description: Tunnel1 Interface

Bandwidth: 64kbps

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

Output queue - Urgent queuing: Size/Length/Discards 0/100/0

Output queue - Protocol queuing: Size/Length/Discards 0/500/0

Output queue - FIFO queuing: Size/Length/Discards 0/75/0

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

Advertising