Advertisement
Guest User

Untitled

a guest
Apr 9th, 2010
372
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.89 KB | None | 0 0
  1. root@PE1> show configuration | no-more
  2. ## Last commit: 2010-04-10 00:29:28 UTC by root
  3. version 10.1R1.8;
  4. system {
  5. host-name PE1;
  6. root-authentication {
  7. encrypted-password "$1$rCvhYHAW$hsOQZGGNTtgG7hpfIN1OV."; ## SECRET-DATA
  8. }
  9. services {
  10. ssh;
  11. web-management {
  12. http {
  13. interface ge-0/0/0.0;
  14. }
  15. }
  16. }
  17. syslog {
  18. user * {
  19. any emergency;
  20. }
  21. file messages {
  22. any any;
  23. authorization info;
  24. }
  25. file interactive-commands {
  26. interactive-commands any;
  27. }
  28. }
  29. license {
  30. autoupdate {
  31. url https://ae1.juniper.net/junos/key_retrieval;
  32. }
  33. }
  34. }
  35. interfaces {
  36. ge-0/0/0 {
  37. unit 0 {
  38. family inet {
  39. address 192.168.0.254/24;
  40. }
  41. family mpls;
  42. }
  43. }
  44. ge-0/0/1 {
  45. unit 0 {
  46. family inet {
  47. address 172.16.0.1/30;
  48. }
  49. family mpls;
  50. }
  51. }
  52. }
  53. routing-options {
  54. autonomous-system 65535;
  55. }
  56. protocols {
  57. rsvp {
  58. interface ge-0/0/1.0;
  59. }
  60. mpls {
  61. label-switched-path r1-to-r2 {
  62. from 172.16.0.1;
  63. to 172.16.0.2;
  64. }
  65. interface ge-0/0/0.0;
  66. interface ge-0/0/1.0;
  67. }
  68. bgp {
  69. group r1-to-r2 {
  70. type internal;
  71. local-address 172.16.0.1;
  72. family inet-vpn {
  73. unicast;
  74. }
  75. neighbor 172.16.0.2;
  76. }
  77. group R3 {
  78. type external;
  79. local-address 192.168.0.254;
  80. neighbor 192.168.0.100 {
  81. peer-as 100;
  82. }
  83. }
  84. }
  85. ospf {
  86. traffic-engineering;
  87. area 0.0.0.0 {
  88. interface ge-0/0/1.0;
  89. }
  90. }
  91. }
  92. security {
  93. forwarding-options {
  94. family {
  95. inet6 {
  96. mode packet-based;
  97. }
  98. mpls {
  99. mode packet-based;
  100. }
  101. iso {
  102. mode packet-based;
  103. }
  104. }
  105. }
  106. }
  107. routing-instances {
  108. VPN {
  109. instance-type vrf;
  110. interface ge-0/0/0.0;
  111. route-distinguisher 65535:1;
  112. vrf-target target:65535:5;
  113. vrf-table-label;
  114. }
  115. }
  116.  
  117. root@PE1> show route | no-more
  118.  
  119. inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
  120. + = Active Route, - = Last Active, * = Both
  121.  
  122. 172.16.0.0/30 *[Direct/0] 01:19:27
  123. > via ge-0/0/1.0
  124. 172.16.0.1/32 *[Local/0] 01:54:07
  125. Local via ge-0/0/1.0
  126. 224.0.0.5/32 *[OSPF/10] 01:54:10, metric 1
  127. MultiRecv
  128.  
  129. inet.3: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
  130. + = Active Route, - = Last Active, * = Both
  131.  
  132. 172.16.0.2/32 *[RSVP/7/1] 01:18:31, metric 65535
  133. > to 172.16.0.2 via ge-0/0/1.0, label-switched-path r1-to-r2
  134.  
  135. VPN.inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
  136. + = Active Route, - = Last Active, * = Both
  137.  
  138. 192.168.0.0/24 *[Direct/0] 01:19:23
  139. > via ge-0/0/0.0
  140. 192.168.0.254/32 *[Local/0] 01:36:50
  141. Local via ge-0/0/0.0
  142. 192.168.1.0/24 *[BGP/170] 01:18:31, localpref 100
  143. AS path: I
  144. > to 172.16.0.2 via ge-0/0/1.0, label-switched-path r1-to-r2
  145.  
  146. mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden)
  147. + = Active Route, - = Last Active, * = Both
  148.  
  149. 0 *[MPLS/0] 01:22:26, metric 1
  150. Receive
  151. 1 *[MPLS/0] 01:22:26, metric 1
  152. Receive
  153. 2 *[MPLS/0] 01:22:26, metric 1
  154. Receive
  155. 17 *[VPN/0] 01:36:51
  156. to table VPN.inet.0, Pop
  157.  
  158. bgp.l3vpn.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
  159. + = Active Route, - = Last Active, * = Both
  160.  
  161. 65535:2:192.168.1.0/24
  162. *[BGP/170] 01:18:38, localpref 100
  163. AS path: I
  164. > to 172.16.0.2 via ge-0/0/1.0, label-switched-path r1-to-r2
  165.  
  166. show bgp suroot@PE1> show bgp summary
  167. Groups: 2 Peers: 2 Down peers: 1
  168. Table Tot Paths Act Paths Suppressed History Damp State Pending
  169. bgp.l3vpn.0 1 1 0 0 0 0
  170. inet.0 0 0 0 0 0 0
  171. Peer AS InPkt OutPkt OutQ Flaps Last Up/Dwn State|#Active/Received/Accepted/Damped...
  172. 172.16.0.2 65535 202 210 0 3 1:18:40 Establ
  173. bgp.l3vpn.0: 1/1/1/0
  174. VPN.inet.0: 1/1/1/0
  175. 192.168.0.100 100 0 0 0 0 1:00:52 Idle
  176.  
  177. root@PE1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement