用juniper vmx17.2做VPLS测试











vmx1的配置

root> show configuration | display set | except dhcp | except syslog

set version 17.2R1.13

set system root-authentication encrypted-password "$6$KWt7snue$bbsPCimbXj5ziyOhFuJahPdAL63/YgE2F5OinzUVHWdRZtJEsJJe.tENcUVGLAQwJ5bhjBsOGbU5vjR2VWM6G0"

set system services ssh protocol-version v2

set chassis fpc 0 pic 0 tunnel-services bandwidth 1g

set chassis network-services enhanced-ip

set interfaces ge-0/0/1 vlan-tagging

set interfaces ge-0/0/1 encapsulation vlan-vpls

set interfaces ge-0/0/1 unit 803 description "SW-INT-1 facing interface"

set interfaces ge-0/0/1 unit 803 encapsulation vlan-vpls

set interfaces ge-0/0/1 unit 803 vlan-id 803

set interfaces ge-0/0/1 unit 803 family vpls

set interfaces ge-0/0/9 unit 0 family inet address 192.168.23.1/24

set interfaces ge-0/0/9 unit 0 family mpls

set interfaces fxp0 unit 0 family inet address 10.5.39.241/24

set interfaces lo0 unit 0 family inet address 1.1.1.1/32

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

set routing-options autonomous-system 65001

set protocols mpls interface ge-0/0/9.0

set protocols bgp group ibgp type internal

set protocols bgp group ibgp local-address 1.1.1.1

set protocols bgp group ibgp family inet unicast

set protocols bgp group ibgp family l2vpn signaling

set protocols bgp group ibgp neighbor 2.2.2.2

set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols ospf area 0.0.0.0 interface ge-0/0/9.0

set protocols ldp interface ge-0/0/9.0

set routing-instances blue instance-type vpls

set routing-instances blue interface ge-0/0/1.803

set routing-instances blue route-distinguisher 65001:12

set routing-instances blue vrf-target target:65001:15

set routing-instances blue protocols vpls site-range 2

set routing-instances blue protocols vpls no-tunnel-services

set routing-instances blue protocols vpls site blue1 site-identifier 1

vmx2的配置

root> show configuration | display set | except dhcp | except syslog

set version 17.2R1.13

set system root-authentication encrypted-password "$6$BKa1kVFA$2sJPJZHCcWANsee6obn..pQc3Sgdpnvht2HvbFcVGLx7AkWwxKb0ZhmZkNqCx7kyVkqBlv8uw/By0ANVfkp0k."

set system services ssh protocol-version v2

set chassis fpc 0 pic 0 tunnel-services bandwidth 1g

set chassis network-services enhanced-ip

set interfaces ge-0/0/1 vlan-tagging

set interfaces ge-0/0/1 encapsulation vlan-vpls

set interfaces ge-0/0/1 unit 803 description "SW-INT-2 facing interface"

set interfaces ge-0/0/1 unit 803 encapsulation vlan-vpls

set interfaces ge-0/0/1 unit 803 vlan-id 803

set interfaces ge-0/0/1 unit 803 family vpls

set interfaces ge-0/0/9 unit 0 family inet address 192.168.23.2/24

set interfaces ge-0/0/9 unit 0 family mpls

set interfaces fxp0 unit 0 family inet address 10.5.39.242/24

set interfaces lo0 unit 0 family inet address 2.2.2.2/32

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

set routing-options autonomous-system 65001

set protocols mpls interface ge-0/0/9.0

set protocols bgp group ibgp type internal

set protocols bgp group ibgp local-address 2.2.2.2

set protocols bgp group ibgp family inet unicast

set protocols bgp group ibgp family l2vpn signaling

set protocols bgp group ibgp neighbor 1.1.1.1

set protocols ospf area 0.0.0.0 interface lo0.0 passive

set protocols ospf area 0.0.0.0 interface ge-0/0/9.0

set protocols ldp interface ge-0/0/9.0

set routing-instances blue instance-type vpls

set routing-instances blue interface ge-0/0/1.803

set routing-instances blue route-distinguisher 65001:12

set routing-instances blue vrf-target target:65001:15

set routing-instances blue protocols vpls site-range 2

set routing-instances blue protocols vpls no-tunnel-services

set routing-instances blue protocols vpls site blue1 site-identifier 2    

开始验证







最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容