############################ aa (SRX650) ## Last changed: 2010-10-18 08:00:57 CEST version 10.3R1.9; system { host-name aa; root-authentication { encrypted-password "xxx; ## SECRET-DATA } syslog { archive size 10m files 3; user * { any emergency; } file messages { any info; authorization info; } file interactive-commands { interactive-commands any; archive size 10m files 3; } } max-configurations-on-flash 5; max-configuration-rollbacks 49; license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } chassis { aggregated-devices { ethernet { device-count 1; } } } interfaces { ge-0/0/0 { description BCKBN; vlan-tagging; mtu 1600; unit 10 { vlan-id 10; family inet { address 10.0.10.1/29; } family mpls; } } ge-0/0/1 { description BCKBN; vlan-tagging; mtu 1600; unit 11 { vlan-id 11; family inet { address 10.0.11.1/29; } family mpls; } } ge-2/0/1 { flexible-vlan-tagging; encapsulation extended-vlan-vpls; unit 600 { vlan-id 6; family vpls; } } lo0 { unit 0 { family inet { address 172.28.1.1/32; } } } } routing-options { router-id 172.28.1.1; autonomous-system 65512; forwarding-table { export [ lb-vpls600 vpls600-forcelsp ]; } } protocols { rsvp { interface ge-0/0/0.10; interface ge-0/0/1.11; } mpls { traceoptions { file mpls.log size 1000000 files 2 world-readable; flag cspf; flag lsping; flag state; } label-switched-path dcd1-old-str { to 172.28.1.3; oam { bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } link-protection; fast-reroute { hop-limit 3; } primary old-str { priority 4 4; } secondary new-str { standby; } } label-switched-path dcd1-new-str { to 172.28.1.3; oam { bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } link-protection; fast-reroute { hop-limit 3; } primary new-str { priority 4 4; } secondary old-str { standby; } } path old-str { 10.0.10.3 strict; } path new-str { 10.0.11.3 strict; } interface all; } bgp { group vpls-peering { type internal; local-address 172.28.1.1; family l2vpn { signaling; } neighbor 172.28.1.3; } } ospf { traffic-engineering; area 0.0.0.0 { interface lo0.0 { passive; } interface ge-0/0/0.10 { authentication { simple-password "abc"; ## SECRET-DATA } bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } interface ge-0/0/1.11 { authentication { simple-password "def"; ## SECRET-DATA } bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } } } bfd { traceoptions { file bdf.log size 1000000 files 2 world-readable; flag error; flag event; flag state; } } rstp; } policy-options { policy-statement lb-vpls600 { term 1 { from community vpls-desk-main; then { load-balance per-packet; } } } policy-statement vpls600-forcelsp { term 1 { from instance vpls-desk-main; then { install-nexthop lsp [ dcd1-old-str dcd1-new-str ]; } } } community vpls-desk-main members target:65512:1; } security { zones { security-zone trust { interfaces { all; } } } alg { dns disable; ftp disable; h323 disable; mgcp disable; msrpc disable; sunrpc disable; real disable; rsh disable; rtsp disable; sip disable; sql disable; talk disable; tftp disable; pptp disable; } forwarding-options { family { inet6 { mode packet-based; } mpls { mode packet-based; } iso { mode packet-based; } } } } routing-instances { vpls-desk-main { description "Routing instance fro VPLS rou"; instance-type vpls; interface ge-2/0/1.600; route-distinguisher 172.28.1.1:1; vrf-target target:65512:1; protocols { vpls { site-range 10; no-tunnel-services; site DirectCust { site-identifier 1; interface ge-2/0/1.600; } } } } } ############################ bb (J-Series) ## Last changed: 2010-10-18 08:34:53 CEST version 10.3R1.9; system { host-name bb; root-authentication { encrypted-password "..."; ## SECRET-DATA } syslog { archive size 10m files 3; user * { any emergency; } file messages { any info; authorization info; } file interactive-commands { interactive-commands any; archive size 10m files 3; } } license { autoupdate { url https://ae1.juniper.net/junos/key_retrieval; } } } interfaces { ge-0/0/0 { vlan-tagging; mtu 1600; unit 10 { vlan-id 10; family inet { address 10.0.10.3/29; } family mpls; } ge-0/0/1 { vlan-tagging; mtu 1600; unit 11 { vlan-id 11; family inet { address 10.0.11.3/29; } family mpls; } } ge-0/0/3 { description VPLS; vlan-tagging; encapsulation extended-vlan-vpls; unit 600 { vlan-id 6; family vpls; } } lo0 { unit 0 { family inet { address 172.28.1.3/32; } } } } routing-options { router-id 172.28.1.3; autonomous-system 65512; forwarding-table { export [ lb-vpls600 vpls600-forcelsp ]; } } protocols { rsvp { interface all; } mpls { traceoptions { file mpls.log size 1000000 files 2 world-readable; flag cspf; flag lsping; flag state; } label-switched-path str-old-dcd1 { to 172.28.1.1; oam { bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } link-protection; fast-reroute { hop-limit 3; } primary old-dcd1 { priority 4 4; } secondary new-dcd1 { standby; } } label-switched-path str-new-dcd1 { to 172.28.1.1; oam { bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } link-protection; fast-reroute { hop-limit 3; } primary new-dcd1 { priority 4 4; } secondary old-dcd1 { standby; } } path old-dcd1 { 10.0.10.1 strict; } path new-dcd1 { 10.0.11.1 strict; } interface all; } bgp { group vpls-peering { type internal; local-address 172.28.1.3; family l2vpn { signaling; } neighbor 172.28.1.1; } } ospf { traffic-engineering; area 0.0.0.0 { interface lo0.0 { passive; } interface ge-0/0/0.10 { authentication { simple-password "abc"; ## SECRET-DATA } bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } interface ge-0/0/1.11 { authentication { simple-password "def"; ## SECRET-DATA } bfd-liveness-detection { minimum-interval 1000; minimum-receive-interval 1000; transmit-interval { minimum-interval 1000; } } } } } bfd { traceoptions { file bdf.log size 1000000 files 2 world-readable; flag error; flag event; flag state; } } } policy-options { policy-statement lb-vpls600 { term 1 { from community vpls-desk-main; then { load-balance per-packet; } } } policy-statement vpls600-forcelsp { term 1 { from instance vpls-desk-main; } then { install-nexthop lsp [ str-old-dcd1 str-new-dcd1 ]; } } community vpls-desk-main members target:65512:1; } security { zones { security-zone trust { interfaces { all; } } } alg { dns disable; ftp disable; h323 disable; mgcp disable; msrpc disable; sunrpc disable; real disable; rsh disable; rtsp disable; sccp disable; sip disable; sql disable; talk disable; tftp disable; pptp disable; } forwarding-options { family { inet6 { mode packet-based; } mpls { mode packet-based; } iso { mode packet-based; } } } } routing-instances { vpls-desk-main { description "routing pre vpls"; instance-type vpls; interface ge-0/0/3.600; route-distinguisher 172.28.1.3:1; vrf-target target:65512:1; protocols { vpls { site-range 10; no-tunnel-services; site DirectCust { site-identifier 3; interface ge-0/0/3.600; } } } } ############################## root@bb# run show mpls lsp Ingress LSP: 2 sessions To From State Rt P ActivePath LSPname 172.28.1.1 172.28.1.3 Up 0 * old-dcd1 str-old-dcd1 172.28.1.1 172.28.1.3 Up 0 * new-dcd1 str-new-dcd1 Total 2 displayed, Up 2, Down 0 Egress LSP: 4 sessions, 4 detours To From State Rt Style Labelin Labelout LSPname 172.28.1.3 172.28.1.1 Up 0 1 SE 3 - dcd1-new-str 172.28.1.3 172.28.1.1 Up 0 1 SE 3 - dcd1-old-str 172.28.1.3 172.28.1.1 Up 0 1 SE 3 - dcd1-new-str 172.28.1.3 172.28.1.1 Up 0 1 SE 3 - dcd1-old-str Total 4 displayed, Up 4, Down 0 Transit LSP: 0 sessions Total 0 displayed, Up 0, Down 0 ############################# root@bb# run show vpls connections Instance: vpls-desk-main Local site: DirectCust (3) connection-site Type St Time last up # Up trans 1 rmt Up Oct 18 08:36:19 2010 1 Remote PE: 172.28.1.1, Negotiated control-word: No Incoming label: 262145, Outgoing label: 262147 Local interface: lsi.1048576, Status: Up, Encapsulation: VPLS Description: Intf - vpls vpls-desk-main local site 3 remote site 1