root> show configuration ## Last commit: 2013-10-01 15:07:39 UTC by root version 10.1R1.8; groups { Redix { routing-instances { REDIXJ { protocols { bgp { group EBGP { neighbor 63.63.63.1; } } } } } } redix { policy-options { policy-statement EXPORT1 { term 1 { from protocol bgp; then { community add RT; accept; } } term 2 { then reject; } } policy-statement IMPORT1 { term 1 { from { protocol [ bgp direct ]; community RT; } then accept; } term 2 { then reject; } } } routing-instances { REDIXJ { instance-type vrf; interface em4.0; vrf-import IMPORT1; vrf-export EXPORT1; vrf-table-label; protocols { bgp { local-address 63.63.63.2; peer-as 7473; local-as 9498; group CE { neighbor 63.63.63.1; } } } } } } vpn { routing-options { router-id 21.21.21.21; autonomous-system 200; } protocols { mpls { interface em0.0; interface em1.0; interface em2.0; interface em3.0; } bgp { local-address 21.21.21.21; peer-as 9498; local-as 9498; group VPN { type internal; family inet-vpn { any; } neighbor 4.4.4.4; neighbor 5.5.5.5; } group 2 { neighbor 4.4.4.4; neighbor 5.5.5.5; } } } routing-instances { REDIXJ { instance-type vrf; interface em4.0; vrf-import IMPORT1; vrf-export EXPORT1; vrf-table-label; protocols { bgp { local-address 63.63.63.2; peer-as 7473; local-as 9498; group CE { neighbor 63.63.63.1; } } } } } } } system { root-authentication { encrypted-password "$1$ge4c.NJS$DW.d58EWY8cGLJMBbxY8f1"; ## SECRET-DATA } login { user gaurav { uid 12345; class read-only; authentication { encrypted-password "$1$hSkeRrQf$9eqb1xZpl./peFKvIm7vr/"; ## SECRET-DATA } } } syslog { user * { any emergency; } file messages { any notice; authorization info; } file interactive-commands { interactive-commands any; } } } interfaces { em0 { unit 0 { apply-groups vpn; family inet { address 192.168.10.1/30; } family mpls; } } em1 { unit 0 { apply-groups vpn; family inet { address 192.168.11.1/30; } family mpls; } } em2 { unit 0 { apply-groups vpn; family inet { address 192.168.12.1/30; } family mpls; } } em3 { unit 0 { apply-groups vpn; family inet { address 192.168.13.1/30; } family mpls; } } em4 { unit 0 { family inet { address 63.63.1.2/30; address 63.63.63.2/30 { preferred; } } family mpls; } } lo0 { unit 0 { family inet { address 21.21.21.21/32; } } } } routing-options { autonomous-system 9498; } protocols { mpls { explicit-null; interface all; } bgp { group vpn { type internal; local-address 21.21.21.21; peer-as 9498; local-as 9498; neighbor 4.4.4.4 { multihop { ttl 10; } local-address 21.21.21.21; } neighbor 5.5.5.5 { multihop { ttl 10; } local-address 21.21.21.21; } } } ospf { area 0.0.0.0 { interface em0.0; interface em1.0; interface em2.0; interface em3.0; interface lo0.0; } } ldp { transport-address router-id; interface em0.0; interface em1.0; interface em2.0; interface em3.0; targeted-hello { hello-interval 5; hold-time 10; } } } policy-options { policy-statement EXPORT1 { term 1 { from protocol bgp; then { community add RT; accept; } } term 2 { then reject; } } policy-statement IMPORT1 { term 1 { from { protocol bgp; community RT; } then accept; } term 2 { then reject; } } community RT members target:7473:1; } routing-instances { REDIXJ { instance-type vrf; interface em4.0; route-distinguisher 7473:4; vrf-import IMPORT1; vrf-export EXPORT1; vrf-target target:7473:1; vrf-table-label; protocols { bgp { local-address 63.63.63.2; peer-as 7473; local-as 9498; group CE { neighbor 63.63.63.1; } } } } } services { rpm { probe GDS { test CHERRY { target address 5.5.5.5; } } } } root> show route table REDIXJ REDIXJ.inet.0: 4 destinations, 5 routes (4 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 63.63.1.0/30 *[Direct/0] 00:58:55 > via em4.0 63.63.1.2/32 *[Local/0] 00:58:55 Local via em4.0 63.63.63.0/30 *[Direct/0] 00:58:55 > via em4.0 [BGP/170] 00:42:35, MED 0, localpref 100 AS path: 7473 ? > to 63.63.63.1 via em4.0 63.63.63.2/32 *[Local/0] 00:58:55 Local via em4.0 root> show system uptime | match cu Current time: 2013-10-01 15:14:14 UTC root>