Single-homed evi network configuration example – H3C Technologies H3C S12500 Series Switches User Manual

Page 37

Advertising
background image

30

[SwitchA-Tunnel0] quit

# Enable selective flooding for PIM hellos (destination MAC 0100-5e00-0001, and destination IP

224.0.0.1) and IGMP general query packets (destination MAC 0100-5e00-000D, and

destination IP 224.0.0.13). These destination MAC addresses cannot be learned in the data
plane. Selective flooding enables these packets to be sent between sites.

[SwitchA-Tunnel0] evi selective-flooding mac-address 0100-5e00-0001 vlan 100

[SwitchA-Tunnel0] evi selective-flooding mac-address 0100-5e00-000D vlan 100

[SwitchA-Tunnel0] quit

# Enable EVI on GigabitEthernet 3/0/1.

[SwitchA] interface gigabitethernet 3/0/1

[SwitchA-GigabitEthernet3/0/1] evi enable

[SwitchA-GigabitEthernet3/0/1] quit

# Enable global IGMP snooping.

[SwitchA] igmp-snooping

[SwitchA-igmp-snooping] quit

# Create VLAN 100, assign GigabitEthernet 3/0/2 and GigabitEthernet 3/0/3 to the VLAN,

and enable IGMP snooping in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port gigabitethernet 3/0/2 to gigabitethernet 3/0/3

[SwitchA-vlan100] igmp-snooping enable

[SwitchA-vlan100] quit

3.

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

<SwitchB> system-view

[SwitchB] vlan 10

[SwitchB-vlan10] port gigabitethernet 3/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

# Specify extended VLANs on the EVI tunnel interface.

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

# Configure Switch B as an ENDC of Switch A.

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

[SwitchB-Tunnel0] quit

# Enable EVI on GigabitEthernet 3/0/1.

[SwitchB] interface gigabitethernet 3/0/1

[SwitchB-GigabitEthernet3/0/1] evi enable

[SwitchB-GigabitEthernet3/0/1] quit

Advertising