Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
set vlans vlan-id 10
set vlans vlan-id 1000 l3-interface 1000
set vlans vlan-id 2000 l3-interface 2000
set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
set l3-interface loopback lo address 10.10.10.1 prefix-length 32
set l3-interface vlan-interface 1000 address 100.10.1.1 prefix-length 24
set l3-interface vlan-interface 2000 address 100.20.1.1 prefix-length 24
set l3-interface vlan-interface 1000 mtu 1450
set l3-interface vlan-interface 2000 mtu 1450
set protocols static route 20.20.20.1/32 next-hop 100.10.1.2
set protocols static route 20.20.20.1/32 next-hop 100.20.1.2
set vxlans source-interface loopback address 10.10.10.1
set vxlans vni 1000 vlan 10
set vxlans vni 1000 flood vtep 20.20.20.1


...

Code Block
set vlans vlan-id 10
set vlans vlan-id 1000 l3-interface 1000
set vlans vlan-id 2000 l3-interface 2000
set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
set l3-interface loopback lo address 20.20.20.1 prefix-length 32
set l3-interface vlan-interface 1000 address 100.10.2.1 prefix-length 24
set l3-interface vlan-interface 2000 address 100.20.2.1 prefix-length 24
set l3-interface vlan-interface 1000 mtu 1450
set l3-interface vlan-interface 2000 mtu 1450
set protocols static route 10.10.10.1/32 next-hop 100.10.2.2
set protocols static route 10.10.10.1/32 next-hop 100.20.2.2
set vxlans source-interface loopback address 20.20.20.1
set vxlans vni 1000 vlan 10
set vxlans vni 1000 flood vtep 10.10.10.1

...

  1. Configure the VLAN ID to 10 for vxlan domain. 

    Code Block
    set vlans vlan-id 10
  2. Configure the VLAN ID to 1000 and 2000 for ip routing.

    Code Block
    set vlans vlan-id 1000 l3-interface 1000
    set vlans vlan-id 2000 l3-interface 2000
  3. Configure the te-1/1/1 interface VLAN ID to 1000.

    Code Block
    set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
  4. Configure the te-1/1/2 interface VLAN ID to 2000.

    Code Block
    set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
  5. Configure the te-1/1/10 interface VLAN ID to 10

    Code Block
    set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
  6. Configure ip address for the loopback interface.

    Code Block
    set l3-interface loopback lo address 10.10.10.1 prefix-length 32
  7. Configure ip address and MTU for the vlan-interface 1000.

    Code Block
    set l3-interface vlan-interface 1000 address 100.10.1.1 prefix-length 24
    set l3-interface vlan-interface 1000 mtu 1450
  8. Configure ip address and MTU for the vlan-interface 2000.

    Code Block
    set l3-interface vlan-interface 2000 address 100.20.1.1 prefix-length 24
    set l3-interface vlan-interface 2000 mtu 1450
  9. Configure static route for the VXLAN ECMP.

    Code Block
    set protocols static route 20.20.20.1/32 next-hop 100.10.1.2
    set protocols static route 20.20.20.1/32 next-hop 100.20.1.2
  10. Configure VTEP interface sources ip address.

    Code Block
    set vxlans source-interface loopback address 10.10.10.1
  11. Configure a VLAN ID 10 to a VNI 1000

    Code Block
    set vxlans vni 1000 vlan 10
  12. Configure flood vtep ip address for a VNI

    Code Block
    set vxlans vni 1000 flood vtep 20.20.20.1

...

  1. Configure the VLAN ID to 10 for vxlan domain. 

    Code Block
    set vlans vlan-id 10
  2. Configure the VLAN ID to 1000 and 2000 for ip routing.

    Code Block
    set vlans vlan-id 1000 l3-interface 1000
    set vlans vlan-id 2000 l3-interface 2000
  3. Configure the te-1/1/1 interface VLAN ID to 1000.

    Code Block
    set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
  4. Configure the te-1/1/2 interface VLAN ID to 2000.

    Code Block
    set interface gigabit-ethernet te-1/1/2 family ethernet-switching native-vlan-id 2000
  5. Configure the te-1/1/10 interface VLAN ID to 10

    Code Block
    set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
  6. Configure ip address for the loopback interface.

    Code Block
    set l3-interface loopback lo address 20.20.20.1 prefix-length 32
  7. Configure ip address and MTU for the vlan-interface 1000.

    Code Block
    set l3-interface vlan-interface 1000 address 100.10.2.1 prefix-length 24
    set l3-interface vlan-interface 1000 mtu 1450
  8. Configure ip address and MTU for the vlan-interface 2000.

    Code Block
    set l3-interface vlan-interface 2000 address 100.20.2.1 prefix-length 24
    set l3-interface vlan-interface 2000 mtu 1450
  9. Configure static route for the VXLAN ECMP.

    Code Block
    set protocols static route 10.10.10.1/32 next-hop 100.10.2.2
    set protocols static route 10.10.10.1/32 next-hop 100.20.2.2
  10. Configure VTEP interface sources ip address.

    Code Block
    set vxlans source-interface loopback address 20.20.20.1
  11. Configure a VLAN ID 10 to a VNI 1000

    Code Block
    set vxlans vni 1000 vlan 10
  12. Configure flood vtep ip address for a VNI

    Code Block
    set vxlans vni 1000 flood vtep 10.10.10.1

...