Was this helpful?
Configuration Example
The following example assumes that one VTEP resides on the generic switch and the other VTEP resides on a Pluribus Networks switch. Also, the nodes connect on a L3 IP network, and the tunnel forms between the generic switch and the Pluribus Networks switch.
Figure 5:VTEP Generic Switch-VTEP Pluribus Networks Switch
The example also includes VLAN 10 and port 47 on Host2 as well as the vNET fab-global.
1. Create the vRouter using the vrouter-create command:
CLI (server-switch)>vrouter-create name vx-vrouter vnet fab-global router-type hardware
2. Add the vRouter interface:
CLI (server-switch)>vrouter-interface-add vrouter-name vx-vrouter ip 192.168.0.1 netmask 255.255.255.0 vlan 10
3. Create the tunnel:
CLI (server-switch)>tunnel-create name vx-tunnel scope local local-ip 192.168.0.1 remote-ip 192.168.5.1 next-hop 192.168.0.2 next-hop-mac 00:01:02:03:04:05 router-if vx-router.eth0
4. Create the VXLAN:
CLI (server-switch)>vlan-create vnid 14593470 scope local name vxlan1 vlan 10
If VLAN 10 does not exist, then the vlan-create command creates the VLAN on the switch, but you may need to add local ports to the VLAN.
5. Add port 47 to the VXLAN:
CLI (server-switch)>vlan-port-add vxlan-name vxlan1 ports 47
The configuration associates all packets from port 47 on VLAN 10 with the VXLAN ID, 14593470.
6. Add the tunnel to the VXLAN:
CLI (server-switch)>tunnel-vxlan-add vxlan-name vxlan1 tunnel-name vx-tunnel
To display the configuration, use the vlan-show command.
You cannot configure different VLANs for the tunnel and the local hosts, and you cannot associate different VLANs on different ports for the same VXLAN.
VXLAN Head End Replication Counters
This feature introduces support for collecting statistics (stats) for head end replication (HER) packets to tunnels, on VXLAN VLANs and enhances the tunnel stats output to display counter for head replicated packets. When Broadcast/UnknownUnicast/UnknownMcast traffic floods on VXLAN VLANs, the traffic head end replicates to tunnels part of the VXLAN. Currently, Netvisor ONE uses vxlan-loopback-trunk port stats counters for HER packets statistics. Although all tunnels use the same vxlan-loopback-trunk ports, this provides a very cumulative view of the system. This feature provides additional counters for HER packets per tunnel.
Netvisor ONE attaches statistical objects and flexible counters to multicast VPs created for head end replication for each tunnel. Packet (pkt) and byte counts for HER statistics displays per tunnel. Two new fields added to tunnel-stats-show output as HER-pkts, HER-bytes and provides flood packet counters per tunnel. Netvisor ONE updates tunnels local to each node and therefore no impact to High Availability (HA).
CLI (network-admin@Spine1) > tunnel-stats-show show-diff-interval 1 format all