zoukankan      html  css  js  c++  java
  • 二层VXLAN静态配置

    拓扑图:

    配置:
    `[~leaf1]display current-configuration
    sysname leaf1
    bridge-domain 10
    vxlan vni 10

    interface GE1/0/0
    undo portswitch
    undo shutdown
    ip address 13.1.1.1 255.255.255.0
    ospf network-type p2p
    ospf enable 1 area 0.0.0.0

    interface GE1/0/1
    undo shutdown

    interface GE1/0/1.1 mode l2
    encapsulation dot1q vid 10
    bridge-domain 10

    interface LoopBack0
    ip address 1.1.1.1 255.255.255.0
    ospf enable 1 area 0.0.0.0

    interface Nve1
    source 1.1.1.1
    vni 10 head-end peer-list 2.2.2.2

    ospf 1 router-id 1.1.1.1
    area 0.0.0.0

    [~leaf2]display current-configuration

    sysname leaf2

    bridge-domain 10
    vxlan vni 10

    interface GE1/0/0
    undo portswitch
    undo shutdown
    ip address 23.1.1.2 255.255.255.0
    ospf network-type p2p
    ospf enable 1 area 0.0.0.0

    interface GE1/0/1
    undo shutdown

    interface GE1/0/1.1 mode l2
    encapsulation dot1q vid 10
    bridge-domain 10

    interface LoopBack0
    ip address 2.2.2.2 255.255.255.0
    ospf enable 1 area 0.0.0.0

    interface Nve1
    source 2.2.2.2
    vni 10 head-end peer-list 1.1.1.1

    ospf 1 router-id 2.2.2.2
    area 0.0.0.0

    [~spine]display current-configuration
    sysname spine
    interface GE1/0/0
    undo portswitch
    undo shutdown
    ip address 13.1.1.3 255.255.255.0
    ospf network-type p2p
    ospf enable 1 area 0.0.0.0

    interface GE1/0/1
    undo portswitch
    undo shutdown
    ip address 23.1.1.3 255.255.255.0
    ospf network-type p2p
    ospf enable 1 area 0.0.0.0

    interface LoopBack0
    ip address 3.3.3.3 255.255.255.0
    ospf enable 1 area 0.0.0.0

    ospf 1 router-id 3.3.3.3
    area 0.0.0.0

    [~access1]display current-configuration
    sysname access1
    vlan batch 10
    interface GE1/0/0
    undo shutdown
    port link-type trunk
    port trunk allow-pass vlan 10

    interface GE1/0/1
    undo shutdown
    port default vlan 10

    [~access2]display current-configuration
    sysname access1
    vlan batch 10
    interface GE1/0/0
    undo shutdown
    port link-type trunk
    port trunk allow-pass vlan 10

    interface GE1/0/1
    undo shutdown
    port default vlan 10

    `
    验证:

    抓包:

  • 相关阅读:
    跟我学android—01.SplashActivity
    eclipse android : A project with that name already exists in the workspace
    冬吴相对论锦言佳句--0005.薄伽梵歌与“印度式管理”
    [转载]Jquery Form插件表单参数
    Form表单学习网站
    [转载]JQuery获取元素文档大小、偏移和位置和滚动条位置的方法集合
    jquery捕捉文本域输入事件
    [转载]js 遍历数组对象
    C#跳出循环的几种方法的区别
    [转载]MVC3缓存:使用页面缓存
  • 原文地址:https://www.cnblogs.com/ykblogs/p/13337855.html
Copyright © 2011-2022 走看看