VXLAN二層配置

概述dom

圖片.png

靜態方式工做原理
ide

圖片.png

圖例oop

圖片.png

配置ui

<HUAWEI> system-view
[~HUAWEI]vlan 10
[*HUAWEI-vlan10] name vxlan
[*HUAWEI-vlan10] quit
[*HUAWEI] interface Vlanif10
[*HUAWEI-Vlanif10]ip address 192.168.10.10 24
[*HUAWEI-Vlanif10]quit
[~HUAWEI]interface loopback10
[~HUAWEI-loopback10]ip address 192.168.10.100 32
[~HUAWEI-loopback10]quit
[~HUAWEI] interface nve 1
[*HUAWEI-Nve1] source 192.168.10.100
[*HUAWEI-Nve1] vni 1 head-end peer-list 192.168.10.101
[*HUAWEI-Nve1] vni 100 head-end peer-list 192.168.10.101
[*HUAWEI-Nve1]quit
[*HUAWEI] bridge-domain 100
[*HUAWEI-bd100] l2 binding vlan 100
[*HUAWEI-bd100] vxlan vni 1
[*HUAWEI-bd100]quit
[*HUAWEI] bridge-domain 101
[*HUAWEI-bd101] l2 binding vlan 101
[*HUAWEI-bd101] vxlan vni 101
[*HUAWEI] ip route-static 192.168.10.101 255.255.255.255 Vlanif10 192.168.10.11 permanentblog


<HUAWEI> system-view
[~HUAWEI]vlan 10
[*HUAWEI-vlan10] name vxlan
[*HUAWEI-vlan10] quit
[*HUAWEI] interface Vlanif10
[*HUAWEI-Vlanif10]ip address 192.168.10.11 24
[*HUAWEI-Vlanif10]quit
[~HUAWEI]interface loopback10
[~HUAWEI-loopback10]ip address 192.168.10.101 32
[~HUAWEI-loopback10]quit
[~HUAWEI] interface nve 1
[*HUAWEI-Nve1] source 192.168.10.101
[*HUAWEI-Nve1] vni 1 head-end peer-list 192.168.10.100
[*HUAWEI-Nve1] vni 100 head-end peer-list 192.168.10.100
[*HUAWEI-Nve1]quit
[*HUAWEI] bridge-domain 100
[*HUAWEI-bd100] l2 binding vlan 100
[*HUAWEI-bd100] vxlan vni 1
[*HUAWEI-bd100]quit
[*HUAWEI] bridge-domain 101
[*HUAWEI-bd101] l2 binding vlan 101
[*HUAWEI-bd101] vxlan vni 101
[*HUAWEI] ip route-static 192.168.10.100 255.255.255.255 Vlanif10 192.168.10.10 permanent圖片

相關文章
相關標籤/搜索