HP FlexFabric 5950 series Configuration Manual page 63

Hide thumbs Also See for FlexFabric 5950 series:
Table of Contents

Advertisement

5.
Configure Switch C:
# Enable L2VPN.
<SwitchC> system-view
[SwitchC] l2vpn enable
# Enable Layer 2 forwarding for VXLANs.
[SwitchC] undo vxlan ip-forwarding
# Create a VSI named vpna, and create VXLAN 10.
[SwitchC] vsi vpna
[SwitchC-vsi-vpna] vxlan 10
[SwitchC-vsi-vpna-vxlan-10] quit
[SwitchC-vsi-vpna] quit
# Enable IGMP snooping globally.
[SwitchB] igmp-snooping
[SwitchB -igmp-snooping] quit
# Enable IGMP snooping for VSI vpna.
[SwitchC] vsi vpna
[SwitchC-vsi-vpna] igmp-snooping enable
# Enable dropping unknown multicast data packets for VSI vpna.
[SwitchC-vsi-vpna] igmp-snooping drop-unknown
# Specify 3.3.3.3 as the source IP address of IGMP general queries in VSI vpna.
[SwitchC-vsi-vpna] igmp-snooping general-query source-ip 3.3.3.3
# Enable the IGMP snooping querier.
[SwitchC-vsi-vpna] igmp-snooping querier
[SwitchC-vsi-vpna] quit
# Assign an IP address to Loopback 0. This address will be used as the source address of the
VXLAN tunnels to Switch A and Switch B.
[SwitchC] interface loopback 0
[SwitchC-Loopback0] ip address 3.3.3.3 255.255.255.255
[SwitchC-Loopback0] quit
# Create a VXLAN tunnel to Switch A.
The tunnel interface name is Tunnel 1.
The source address and destination address of the tunnel interface are 3.3.3.3 and 1.1.1.1,
respectively.
[SwitchC] interface tunnel 1 mode vxlan
[SwitchC-Tunnel1] source 3.3.3.3
[SwitchC-Tunnel1] destination 1.1.1.1
[SwitchC-Tunnel1] quit
# Create a VXLAN tunnel to Switch B.
The tunnel interface name is Tunnel 3.
The source address and destination address of the tunnel interface are 3.3.3.3 and 2.2.2.2,
respectively.
[SwitchC] interface tunnel 3 mode vxlan
[SwitchC-Tunnel3] source 3.3.3.3
[SwitchC-Tunnel3] destination 2.2.2.2
[SwitchC-Tunnel3] quit
# Assign Tunnel 1 and Tunnel 3 to VSI vpna.
[SwitchC] vsi vpna
53

Advertisement

Table of Contents
loading

Table of Contents