Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata


NOTE:

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


Topology


SW1 Configure


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 vlan-interface loopback address 10.10.10.1 prefix-length 32
set vlan-interface interface 1000 vif 1000 address 100.10.1.1 prefix-length 24
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 interface te-1/1/10
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

SW2 Configure

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 vlan-interface loopback address 20.20.20.1 prefix-length 32
set vlan-interface interface 1000 vif 1000 address 100.10.2.1 prefix-length 24
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 interface te-1/1/10
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

SW3 Configure

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 vlan-interface loopback address 30.30.30.1 prefix-length 32
set vlan-interface interface 1000 vif 1000 address 100.10.3.1 prefix-length 24
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 interface te-1/1/10
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




  • No labels