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.
Info
titleNOTE:

Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.

  • As long as VXLAN is enabled on the device, the MTU value of all L3 interfaces must not be greater than 1450 bytes.

  • Topology


    SW1 Configure


    Code Block
    set vlans vlan-id 10
    set vlans vlan-id 1000 l3-interface 1000
    set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
    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 1000 mtu 1450
    set protocols static route 20.20.20.1/32 next-hop 100.10.1.2
    set protocols static route 30.30.30.1/32 next-hop 100.10.1.3
    set vxlans source-interface loopback address 10.10.10.1
    set vxlans vni 1000 flood vtep 20.20.20.1
    set vxlans vni 1000 flood vtep 30.30.30.1
    set vxlans vni 1000 decapsulation mode none
    set vxlans vni 1000 encapsulation mode none
    set ip routing enable true

    ...

    Code Block
    set vlans vlan-id 10
    set vlans vlan-id 1000 l3-interface 1000
    set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
    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 1000 mtu 1450
    set protocols static route 10.10.10.1/32 next-hop 100.10.2.2
    set vxlans source-interface loopback address 20.20.20.1
    set vxlans vni 1000 flood vtep 10.10.10.1
    set vxlans vni 1000 decapsulation mode none
    set vxlans vni 1000 encapsulation mode none
    set ip routing enable true

    ...

    Code Block
    set vlans vlan-id 10
    set vlans vlan-id 1000 l3-interface 1000
    set interface gigabit-ethernet te-1/1/1 family ethernet-switching native-vlan-id 1000
    set interface gigabit-ethernet te-1/1/10 family ethernet-switching native-vlan-id 10
    set l3-interface loopback lo address 30.30.30.1 prefix-length 32
    set l3-interface vlan-interface 1000 address 100.10.3.1 prefix-length 24
    set l3-interface vlan-interface 1000 mtu 1450
    set protocols static route 10.10.10.1/32 next-hop 100.10.3.2
    set vxlans source-interface loopback address 30.30.30.1
    set vxlans vni 1000 flood vtep 10.10.10.1
    set vxlans vni 1000 decapsulation mode none
    set vxlans vni 1000 encapsulation mode none
    set ip routing enable true

    ...