美文网首页
用juniper vqfx实践EVPN-VXLAN

用juniper vqfx实践EVPN-VXLAN

作者: 严炎2016 | 来源:发表于2017-11-10 17:53 被阅读0次

MGMT交换机用作管理2台vqfx和2台ubuntu

vqfx-1的配置

root@vqfx-re> show configuration | display set | except dhcp

set version 15.1X53-D63.9

set system host-name vqfx-re

set interfaces xe-0/0/3 description "DEV=TOR-SW IF=3"

set interfaces xe-0/0/3 unit 0 family ethernet-switching interface-mode trunk

set interfaces xe-0/0/3 unit 0 family ethernet-switching vlan members all

set interfaces xe-0/0/4 unit 0 family inet address 192.168.13.1/24

set interfaces em0 unit 0 family inet address 10.5.39.241/24

set interfaces em1 unit 0 family inet address 169.254.0.2/24

set interfaces lo0 unit 0 family inet address 1.1.1.1/32

set forwarding-options storm-control-profiles default all

set routing-options static route 10.5.0.0/16 next-hop 10.5.39.254

set routing-options router-id 1.1.1.1

set routing-options autonomous-system 65001

set protocols bgp group underlay type external

set protocols bgp group underlay advertise-peer-as

set protocols bgp group underlay export POLICY_EXPORT_LO0

set protocols bgp group underlay neighbor 192.168.13.3 peer-as 65003

set protocols bgp group overlay type internal

set protocols bgp group overlay local-address 1.1.1.1

set protocols bgp group overlay family evpn signaling

set protocols bgp group overlay local-as 64512

set protocols bgp group overlay neighbor 3.3.3.3

set protocols evpn encapsulation vxlan

set protocols evpn extended-vni-list 100

set protocols evpn multicast-mode ingress-replication

set protocols evpn vni-options vni 100 vrf-target export target:64512:100

set protocols igmp-snooping vlan default

set policy-options policy-statement POLICY_EXPORT_LO0 from family inet

set policy-options policy-statement POLICY_EXPORT_LO0 from protocol direct

set policy-options policy-statement POLICY_EXPORT_LO0 from route-filter 0.0.0.0/0 prefix-length-range /32-/32

set policy-options policy-statement POLICY_EXPORT_LO0 then accept

set policy-options policy-statement POLICY_VRF_IMPORT term T_100 from community COM_100

set policy-options policy-statement POLICY_VRF_IMPORT term T_100 then accept

set policy-options policy-statement POLICY_VRF_IMPORT term T_999 then reject

set policy-options community COM_100 members target:64512:100

set switch-options service-id 1

set switch-options vtep-source-interface lo0.0

set switch-options route-distinguisher 1.1.1.1:1

set switch-options vrf-import POLICY_VRF_IMPORT

set switch-options vrf-target target:64512:1

set switch-options vrf-target auto

set vlans default vlan-id 1

set vlans v100 vlan-id 100

set vlans v100 vxlan vni 100

set vlans v100 vxlan ingress-node-replication

vqfx-2的配置

root@vqfx-re> show configuration | display set | except dhcp

set version 15.1X53-D63.9

set system host-name vqfx-re

set interfaces xe-0/0/3 description "DEV=TOR-SW IF=3"

set interfaces xe-0/0/3 unit 0 family ethernet-switching interface-mode trunk

set interfaces xe-0/0/3 unit 0 family ethernet-switching vlan members all

set interfaces xe-0/0/4 unit 0 family inet address 192.168.13.3/24

set interfaces em0 unit 0 family inet address 10.5.39.242/24

set interfaces em1 unit 0 family inet address 169.254.0.2/24

set interfaces lo0 unit 0 family inet address 3.3.3.3/32

set forwarding-options storm-control-profiles default all

set routing-options static route 10.5.0.0/16 next-hop 10.5.39.254

set routing-options router-id 3.3.3.3

set routing-options autonomous-system 65003

set protocols bgp group underlay type external

set protocols bgp group underlay advertise-peer-as

set protocols bgp group underlay export POLICY_EXPORT_LO0

set protocols bgp group underlay neighbor 192.168.13.1 peer-as 65001

set protocols bgp group overlay type internal

set protocols bgp group overlay local-address 3.3.3.3

set protocols bgp group overlay family evpn signaling

set protocols bgp group overlay local-as 64512

set protocols bgp group overlay neighbor 1.1.1.1

set protocols evpn encapsulation vxlan

set protocols evpn extended-vni-list 100

set protocols evpn multicast-mode ingress-replication

set protocols evpn vni-options vni 100 vrf-target export target:64512:100

set protocols igmp-snooping vlan default

set policy-options policy-statement POLICY_EXPORT_LO0 from family inet

set policy-options policy-statement POLICY_EXPORT_LO0 from protocol direct

set policy-options policy-statement POLICY_EXPORT_LO0 from route-filter 0.0.0.0/0 prefix-length-range /32-/32

set policy-options policy-statement POLICY_EXPORT_LO0 then accept

set policy-options policy-statement POLICY_VRF_IMPORT term T_100 from community COM_100

set policy-options policy-statement POLICY_VRF_IMPORT term T_100 then accept

set policy-options policy-statement POLICY_VRF_IMPORT term T_999 then reject

set policy-options community COM_100 members target:64512:100

set switch-options service-id 3

set switch-options vtep-source-interface lo0.0

set switch-options route-distinguisher 3.3.3.3:1

set switch-options vrf-import POLICY_VRF_IMPORT

set switch-options vrf-target target:64512:1

set switch-options vrf-target auto

set vlans default vlan-id 1

set vlans v100 vlan-id 100

set vlans v100 vxlan vni 100

set vlans v100 vxlan ingress-node-replication

面向业务的接口xe-0/0/3,需要delete操作

delete interfaces xe-0/0/3 unit 0 family inet

REF:

https://blog.noc.grnet.gr/2016/09/28/lab-on-evpn-vxlan-on-juniper-qfx5100-switches-3/

相关文章

  • 用juniper vqfx实践EVPN-VXLAN

    MGMT交换机用作管理2台vqfx和2台ubuntu vqfx-1的配置 root@vqfx-re> show c...

  • 用VMX实践EVPN-VXLAN

    root@PE1>showconfiguration|displayset|exceptsystem setver...

  • Juniper - Olive

    概念 Olive指的是运行Juniper Networks的JUNOS软件的常规PC或虚拟机。Juniper早期创...

  • juniper多路由实例OSPF与RIB-GROUP

    juniper没有ospf多进程概念,用多virtual-router来做 root@VMX-C# run sho...

  • juniper

    Juniper交换机更改端口vlan的过程 先列出交换机的配置: show configuration | dis...

  • 用juniper VMX17.1R1.8实践PBB-EVPN

    PBB-EVPN用于超大规模的MAC寻址(10万条目以上,用于减轻EVPN控制平面管理大规模mac时的负担) SW...

  • 实践EVPN-VXLAN over MPLS L3VPN

    CE1-EVPN-RR:gobgp充当vxlan overlay网的EVPN路由反射器 VMX-PE1,VMX-P...

  • Juniper - 概念介绍

    操作企业Juniper网络路由 Juniper网络企业路由 企业路由的定位 J系列路由器应用在小型企业M系列路由器...

  • Juniper - 介绍

    Juniper网络公司,中文名叫作:瞻博网络。致力于实现网络商务模式的转型。作为全球领先的联网和安全性解决方案供应...

  • Juniper - Junosphere

    基于云的网络测试和训练环境。官网:www.junosphere.net 概述 Junosphere云是一个用户可以...

网友评论

      本文标题:用juniper vqfx实践EVPN-VXLAN

      本文链接:https://www.haomeiwen.com/subject/xyfimxtx.html