danhoutz

QFX VXLAN Fake Host

Jan 28th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. To fake a host on a leaf switch, plug two ports on switch into each other, configure one port in standard legacy VLAN and configure IP on the VLAN with irb unit. Put the the 2nd switchport into the existing VXLAN:
  2.  
  3.  
  4. xe-0/0/46 {
  5. description "To FAKEHOST";
  6. encapsulation ethernet-bridge;
  7. unit 0;
  8. }
  9. xe-0/0/47 {
  10. description FAKEHOST;
  11. encapsulation ethernet-bridge;
  12. unit 0;
  13. }
  14. irb {
  15. unit 100 {
  16. description "FAKEHOST IP";
  17. family inet {
  18. address 192.168.1.3/24;
  19. }
  20. }
  21. }
  22.  
  23. vlans {
  24. FAKEHOST {
  25. vlan-id 100;
  26. interface xe-0/0/47.0;
  27. l3-interface irb.100;
  28. }
  29. VLAN10 {
  30. interface xe-0/0/3.0;
  31. interface xe-0/0/46.0;
  32. vxlan {
  33. vni 10;
  34. ingress-node-replication;
  35. }
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment