322
VLAN pairs (1 in total):
Outer VLAN 100 Inner VLAN 0 (00:01:24)
MLD snooping configuration example (for VXLANs)
Network requirements
As shown in
•
VXLAN 10 provides Layer 2 connectivity for VM 1, VM 2, and VM 3 across the network sites.
•
VXLAN 10 uses the unicast mode for flood traffic.
Configure MLD snooping on the switches to implement IPv6 Layer 2 multicast forwarding and reduce
the burden of replicating known multicast traffic for VTEPs in VXLAN 10.
Figure 94 Network diagram
Table 24 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
Switch A
Vlan-int11
11.1.1.1/24
Switch C
Vlan-int13
13.1.1.3/24
Switch A
Loop0
1.1.1.1/32
Switch C
Loop0
3.3.3.3/32
Switch B
Vlan-int12
12.1.1.2/24
Switch D
Vlan-int11
11.1.1.4/24
Switch B
Loop0
2.2.2.2/32
Switch D
Vlan-int12
12.1.1.4/24
Switch D
Vlan-int13
13.1.1.4/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface on the transport network, as shown
in
. (Details not shown.)
2.
Configure OSPF on all the switches in the transport network. (Details not shown.)
3.
Configure Switch A:
# Enable L2VPN.
<SwitchA> system-view
[SwitchA] l2vpn enable
# Enable Layer 2 forwarding for VXLANs.
[SwitchA] undo vxlan ip-forwarding
# Create a VSI named
vpna
, and create VXLAN 10.
Switch A
Switch C
Transport network
Switch D
HGE1/0/1
HGE1/0/1
Switch B
Server 2
VM 2
Server 1
VM 1
Server 3
VM 3
HGE1/0/1
Loop0
Loop0
Loop0
VLAN 2
VLAN 2
VLAN 2
Vlan-int11
Vlan-int13
Vlan-int12
Vlan-int11
Vlan-int13
Vlan-int12