...
Code Block |
---|
admin@R1# set vlans vlan-id 10 l3-interface "vlan10" admin@R1# set vlans vlan-id 30 l3-interface "vlan30" admin@R1# set vlans vlan-id 1111 l3-interface "vlan1111" admin@R1# set vlans vlan-id 4094 l3-interface "vlan4094" admin@R1# set interface gigabit-ethernet te-1/1/115 family ethernet-switching native-vlan-id 10 admin@R1# set interface gigabit-ethernet te-1/1/151 family ethernet-switching native-vlan-id 4094 admin@R1# set l3-interface loopback lo address 1.1.1.1 prefix-length 32 admin@R1# set l3-interface loopback vrf1 address 201.201.201.201 prefix-length 32 admin@R1# set l3-interface vlan-interface vlan4094 address 40.94.0.2 prefix-length 24 admin@R1# set l3-interface vlan-interface vlan1111 vrf "vrf1" admin@R1# set l3-interface vlan-interface vlan10 vrf "vrf1" admin@R1# set l3-interface vlan-interface vlan10 router-mac 00:00:10:00:00:FE admin@R1# set l3-interface vlan-interface vlan10 address 10.1.1.10 prefix-length 24 admin@R1# set l3-interface vlan-interface vlan30 vrf "vrf1" admin@R1# set l3-interface vlan-interface vlan30 router-mac 00:00:30:00:00:FE admin@R1# set l3-interface vlan-interface vlan30 address 30.1.1.30 prefix-length 24 |
...
Code Block |
---|
admin@R2# set vlans vlan-id 10 l3-interface "vlan10" admin@R2# set vlans vlan-id 30 l3-interface "vlan30" admin@R2# set vlans vlan-id 1111 l3-interface "vlan1111" admin@R2# set vlans vlan-id 4094 l3-interface "vlan4094" admin@R2# set interface gigabit-ethernet ge-1/1/115 family ethernet-switching native-vlan-id 30 admin@R2# set interface gigabit-ethernet ge-1/1/151 family ethernet-switching native-vlan-id 4094 admin@R2# set l3-interface loopback lo address 2.2.2.2 prefix-length 32 admin@R2# set l3-interface loopback vrf1 address 134.134.134.134 prefix-length 32 admin@R2# set l3-interface vlan-interface vlan1111 vrf "vrf1" admin@R2# set l3-interface vlan-interface vlan4094 address 40.94.0.1 prefix-length 24 admin@R2# set l3-interface vlan-interface vlan10 vrf "vrf1" admin@R2# set l3-interface vlan-interface vlan10 router-mac 00:00:10:00:00:FE admin@R2# set l3-interface vlan-interface vlan10 address 10.1.1.10 prefix-length 24 admin@R2# set l3-interface vlan-interface vlan30 vrf "vrf1" admin@R2# set l3-interface vlan-interface vlan30 router-mac 00:00:30:00:00:FE admin@R2# set l3-interface vlan-interface vlan30 address 30.1.1.30 prefix-length 24 |
...
Code Block |
---|
admin@R1# run show vxlan arp IP-ADDRESS MAC-ADDRESS VNI REMOTE-VTEP Interface Status Age --------------- ----------------- -------- --------------- ---------- ------- ---- 10.1.1.2 00:1e:c9:bb:c0:3c 10 te-1/1/115 Dynamic 135 30.1.1.2 00:0c:29:77:8b:15 30 2.2.2.2 Static admin@R2# run show vxlan arp IP-ADDRESS MAC-ADDRESS VNI REMOTE-VTEP Interface Status Age --------------- ----------------- -------- --------------- ---------- ------- ---- 10.1.1.2 00:1e:c9:bb:c0:3c 10 1.1.1.1 Static 30.1.1.2 00:0c:29:77:8b:15 30 ge-1/1/1 15 Dynamic 168 |
- Run the command run show vxlan address-table to display the VXLAN address table.
Code Block |
---|
admin@R1# run show vxlan address-table VNID MAC address Type Interface VTEP ----------- ----------------- ------- ---------------- --------------- 10 00:1e:c9:bb:c0:3c Dynamic te-1/1/115 30 00:0c:29:77:8b:15 Dynamic 2.2.2.2 30 00:50:56:65:5c:b2 Dynamic 2.2.2.2 Entries in access port: 1 Entries in network port: 2 admin@R2# run show vxlan address-table VNID MAC address Type Interface VTEP ----------- ----------------- ------- ---------------- --------------- 10 00:1e:c9:bb:c0:3c Dynamic 1.1.1.1 30 00:0c:29:77:8b:15 Dynamic ge-1/1/115 30 00:50:56:65:5c:b2 Dynamic ge-1/1/115 Entries in access port: 2 Entries in network port: 1 |
...
Code Block |
---|
admin@R1# run show vxlan tunnel Total number of tunnels: 2 VNI 10, Encap:service-vlan-delete, Decap:service-vlan-per-port src addr:1.1.1.1, dst addr:2.2.2.2, state:UP traffic type:all Vtep type:EVPN nexthops:40.94.0.1 output ports:te-1/1/151 VNI 30, Encap:service-vlan-delete, Decap:service-vlan-per-port src addr:1.1.1.1, dst addr:2.2.2.2, state:UP traffic type:all Vtep type:EVPN nexthops:40.94.0.1 output ports:te-1/1/151 admin@R2# run show vxlan tunnel Total number of tunnels: 2 VNI 10, Encap:service-vlan-delete, Decap:service-vlan-per-port src addr:2.2.2.2, dst addr:1.1.1.1, state:UP traffic type:all Vtep type:EVPN nexthops:40.94.0.2 output ports:ge-1/1/151 VNI 30, Encap:service-vlan-delete, Decap:service-vlan-per-port src addr:2.2.2.2, dst addr:1.1.1.1, state:UP traffic type:all Vtep type:EVPN nexthops:40.94.0.2 output ports:ge-1/1/151 |