root# run show configuration ## Last commit: 2013-09-29 11:14:55 UTC by root version 10.1R1.8; groups { Redix { routing-instances { REDIXJ { protocols { bgp { group EBGP { 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 { family inet { address 192.168.10.1/30; } family mpls; } } em1 { unit 0 { family inet { address 192.168.11.1/30; } family mpls; } } em2 { unit 0 { family inet { address 192.168.12.1/30; } family mpls; } } em3 { unit 0 { 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 2 { family inet { address 21.21.21.21/32; } } } } routing-options { autonomous-system 9498; } protocols { mpls { interface all; } bgp { group JUNOS { type external; local-address 63.63.63.2; neighbor 63.63.63.1 { peer-as 7473; } } } ospf { area 0.0.0.0 { interface em0.0; interface em1.0; interface em2.0; interface em3.0; } } ldp { keepalive-interval 10; interface em0.0; interface em1.0; interface em2.0; interface em3.0; targeted-hello { hello-interval 5; hold-time 10; } } } policy-options { policy-statement EXPORT { term 1 { from protocol bgp; then accept; } term 2 { then reject; } } policy-statement EXPORT1 { term 1 { from protocol bgp; then { community add RT; accept; } } term 2 { then reject; } } policy-statement IMPORT { term 1 { from protocol bgp; then 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; 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; } } } } [edit] root# run show system uptime Current time: 2013-09-29 11:37:29 UTC System booted: 2013-09-29 11:28:42 UTC (00:08:47 ago) Protocols started: 2013-09-29 11:33:49 UTC (00:03:40 ago) Last configured: 2013-09-29 11:14:55 UTC (00:22:34 ago) by root 11:37AM up 9 mins, 1 user, load averages: 10.70, 4.82, 1.96 [edit] root# run show route inet.0: 26 destinations, 26 routes (26 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 1.1.1.1/32 *[OSPF/10] 00:01:14, metric 3 > to 192.168.10.2 via em0.0 2.2.2.2/32 *[OSPF/10] 00:01:14, metric 4 > to 192.168.10.2 via em0.0 to 192.168.11.2 via em1.0 3.3.3.3/32 *[OSPF/10] 00:01:14, metric 3 to 192.168.10.2 via em0.0 > to 192.168.11.2 via em1.0 4.4.4.4/32 *[OSPF/10] 00:01:14, metric 2 > to 192.168.11.2 via em1.0 5.5.5.5/32 *[OSPF/10] 00:01:14, metric 2 > to 192.168.10.2 via em0.0 6.6.6.6/32 *[OSPF/10] 00:01:14, metric 3 to 192.168.10.2 via em0.0 > to 192.168.11.2 via em1.0 7.7.7.7/32 *[OSPF/10] 00:01:14, metric 12 > to 192.168.11.2 via em1.0 21.21.21.21/32 *[Direct/0] 00:01:39 > via lo0.2 192.168.1.0/30 *[OSPF/10] 00:01:14, metric 2 > to 192.168.10.2 via em0.0 192.168.2.0/30 *[OSPF/10] 00:01:14, metric 3 > to 192.168.10.2 via em0.0 192.168.3.0/30 *[OSPF/10] 00:01:14, metric 2 > to 192.168.10.2 via em0.0 192.168.4.0/30 *[OSPF/10] 00:01:14, metric 3 > to 192.168.10.2 via em0.0 to 192.168.11.2 via em1.0 192.168.5.0/30 *[OSPF/10] 00:01:14, metric 2 > to 192.168.11.2 via em1.0 192.168.6.0/30 *[OSPF/10] 00:01:14, metric 2 > to 192.168.11.2 via em1.0 192.168.7.0/30 *[OSPF/10] 00:01:14, metric 12 > to 192.168.10.2 via em0.0 to 192.168.11.2 via em1.0 192.168.8.0/30 *[OSPF/10] 00:01:14, metric 11 > to 192.168.11.2 via em1.0 192.168.10.0/30 *[Direct/0] 00:01:39 > via em0.0 192.168.10.1/32 *[Local/0] 00:01:39 Local via em0.0 192.168.11.0/30 *[Direct/0] 00:01:39 > via em1.0 192.168.11.1/32 *[Local/0] 00:01:39 Local via em1.0 192.168.12.0/30 *[Direct/0] 00:01:39 > via em2.0 192.168.12.1/32 *[Local/0] 00:01:39 Local via em2.0 192.168.13.0/30 *[Direct/0] 00:01:39 > via em3.0 192.168.13.1/32 *[Local/0] 00:01:39 Local via em3.0 192.168.14.0/30 *[OSPF/10] 00:01:14, metric 2 > to 192.168.10.2 via em0.0 224.0.0.5/32 *[OSPF/10] 00:02:31, metric 1 MultiRecv 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:01:26 > via em4.0 63.63.1.2/32 *[Local/0] 00:01:26 Local via em4.0 63.63.63.0/30 *[Direct/0] 00:01:26 > via em4.0 [BGP/170] 00:01:01, MED 0, localpref 100 AS path: 7473 ? > to 63.63.63.1 via em4.0 63.63.63.2/32 *[Local/0] 00:01:26 Local via em4.0 mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 0 *[MPLS/0] 00:02:17, metric 1 Receive 1 *[MPLS/0] 00:02:17, metric 1 Receive 2 *[MPLS/0] 00:02:17, metric 1 Receive [edit] root# run show system u ^ 'u' is ambiguous. Possible completions: uptime Show time since system and processes started users Show users who are currently logged in [edit] root# run show system uptime Current time: 2013-09-29 11:37:53 UTC System booted: 2013-09-29 11:28:42 UTC (00:09:11 ago) Protocols started: 2013-09-29 11:33:49 UTC (00:04:04 ago) Last configured: 2013-09-29 11:14:55 UTC (00:22:58 ago) by root 11:37AM up 9 mins, 1 user, load averages: 9.05, 4.66, 1.94 [edit] root# root# run show bgp summary instance REDIXJ Groups: 1 Peers: 1 Down peers: 0 Table Tot Paths Act Paths Suppressed History Damp State Pending REDIX.inet.0 1 0 0 0 0 0 Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped... 63.63.63.1 7473 10 7 0 0 2:07 Establ REDIXJ.inet.0: 0/1/1/0 [edit] root# show system up ^ syntax error. root# show system up ^ syntax error. [edit] root# run show system up Current time: 2013-09-29 11:38:39 UTC System booted: 2013-09-29 11:28:42 UTC (00:09:57 ago) Protocols started: 2013-09-29 11:33:49 UTC (00:04:50 ago)