用juniper vmx17.2做VPLS測(cè)試











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????

開(kāi)始驗(yàn)證







最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書(shū)系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容