Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 1st, 2012  |  syntax: None  |  size: 6.74 KB  |  hits: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Rack1R1#wr t
  2. Building configuration...
  3.  
  4. Current configuration : 3172 bytes
  5. !
  6. version 12.4
  7. no service pad
  8. no service timestamps debug uptime
  9. no service timestamps log uptime
  10. no service password-encryption
  11. !
  12. hostname Rack1R1
  13. !
  14. boot-start-marker
  15. boot-end-marker
  16. !
  17. logging buffered 4096
  18. !
  19. no aaa new-model
  20. dot11 syslog
  21. ip cef
  22. !
  23. !
  24. !
  25. !
  26. ip vrf B  
  27.  rd 1.1.1.1:8
  28.  route-target export 1:8
  29.  route-target import 4:7
  30.  route-target import 2:6
  31. !
  32. no ip domain lookup
  33. !
  34. multilink bundle-name authenticated
  35. !
  36. !
  37. !
  38. !
  39. archive
  40.  log config
  41.   hidekeys
  42. !
  43. !
  44. !
  45. !
  46. ip tcp synwait-time 5
  47. !
  48. class-map match-all BGP
  49.  match access-group name TASK3.3
  50. !
  51. !
  52. policy-map BGP
  53.  class BGP
  54.    drop
  55. !
  56. !
  57. !
  58. !
  59. interface Loopback0
  60.  ip address 1.1.1.1 255.255.255.255
  61.  ip ospf 1 area 0
  62. !
  63. interface Loopback100
  64.  ip vrf forwarding B
  65.  ip address 14.14.14.1 255.255.255.255
  66. !
  67. interface FastEthernet0/0
  68.  ip vrf forwarding B
  69.  ip address 173.1.18.1 255.255.255.0
  70.  ip ospf 100 area 0
  71.  duplex auto
  72.  speed auto
  73. !
  74. interface FastEthernet0/1
  75.  no ip address
  76.  duplex auto
  77.  speed auto
  78. !
  79. interface FastEthernet0/1.6
  80.  encapsulation dot1Q 6
  81.  ip address 173.1.6.1 255.255.255.0
  82. !
  83. interface FastEthernet0/1.11
  84.  encapsulation dot1Q 11
  85.  ip address 54.1.1.1 255.255.255.0
  86. !
  87. interface Serial0/0/0
  88.  no ip address
  89.  encapsulation frame-relay
  90.  frame-relay lmi-type cisco
  91. !
  92. interface Serial0/0/0.12 point-to-point
  93.  ip address 173.1.12.1 255.255.255.0
  94.  ip ospf 1 area 0
  95.  snmp trap link-status
  96.  mpls ip
  97.  frame-relay interface-dlci 102  
  98. !
  99. interface Serial0/1/0
  100.  ip address 173.1.13.1 255.255.255.0
  101.  ip ospf 1 area 0
  102.  mpls ip
  103.  clock rate 128000
  104. !
  105. router ospf 100 vrf B
  106.  domain-id 0.0.0.200
  107.  log-adjacency-changes
  108.  area 0 sham-link 14.14.14.1 14.14.14.4
  109.  redistribute bgp 100 subnets
  110. !
  111. router ospf 1
  112.  router-id 1.1.1.1
  113.  log-adjacency-changes
  114.  summary-address 14.14.14.0 255.255.255.0
  115. !
  116. router bgp 100
  117.  bgp router-id 1.1.1.1
  118.  no bgp default ipv4-unicast
  119.  no bgp default route-target filter
  120.  bgp log-neighbor-changes
  121.  neighbor 2.2.2.2 remote-as 100
  122.  neighbor 2.2.2.2 update-source Loopback0
  123.  neighbor 4.4.4.4 remote-as 100
  124.  neighbor 4.4.4.4 update-source Loopback0
  125.  !
  126.  address-family vpnv4
  127.   neighbor 2.2.2.2 activate
  128.   neighbor 2.2.2.2 send-community extended
  129.   neighbor 2.2.2.2 route-reflector-client
  130.   neighbor 4.4.4.4 activate
  131.   neighbor 4.4.4.4 send-community extended
  132.   neighbor 4.4.4.4 route-reflector-client
  133.  exit-address-family
  134.  !
  135.  address-family ipv4 vrf B
  136.   redistribute connected
  137.   redistribute ospf 100 vrf B match internal external 1 external 2 route-map OSPF->BGP
  138.   no synchronization
  139.  exit-address-family
  140. !        
  141. ip forward-protocol nd
  142. !
  143. !
  144. no ip http server
  145. no ip http secure-server
  146. !
  147. ip access-list extended TASK3.3
  148.  deny   tcp any eq bgp 10.0.0.0 0.255.255.255
  149.  deny   tcp any 10.0.0.0 0.255.255.255 eq bgp
  150.  permit tcp any any eq bgp
  151.  permit tcp any eq bgp any
  152. !
  153. !
  154. ip prefix-list TEST seq 5 permit 0.0.0.0/0
  155. ip prefix-list TEST seq 10 permit 10.1.1.0/24
  156. ip prefix-list TEST seq 15 permit 10.1.1.0/24 ge 28
  157. !
  158. !
  159. !
  160. route-map OSPF->BGP deny 5
  161.  match tag 50
  162. !
  163. route-map OSPF->BGP permit 10
  164. !
  165. !
  166. !
  167. mpls ldp router-id Loopback0 force
  168. !
  169. control-plane
  170. !
  171. !
  172. !
  173. line con 0
  174.  exec-timeout 0 0
  175.  privilege level 15
  176.  logging synchronous level 0 limit 20
  177. line aux 0
  178. line vty 0 4
  179.  password cisco
  180.  login
  181. !
  182. scheduler allocate 20000 1000
  183. end
  184.  
  185. Rack1R1#
  186.  
  187.  
  188.  
  189.  
  190. Rack1R4#wr t
  191. Building configuration...
  192.  
  193. Current configuration : 3091 bytes
  194. !
  195. version 12.4
  196. no service pad
  197. no service timestamps debug uptime
  198. no service timestamps log uptime
  199. no service password-encryption
  200. !
  201. hostname Rack1R4
  202. !
  203. boot-start-marker
  204. boot-end-marker
  205. !
  206. logging buffered 4096
  207. !
  208. no aaa new-model
  209. !
  210. !
  211. ip cef
  212. !
  213. !
  214. ip vrf A
  215.  rd 4.4.4.4:77
  216.  route-target export 4:7
  217.  route-target import 2:6
  218.  route-target import 1:8
  219. !
  220. ip vrf B
  221.  rd 4.4.4.4:444
  222.  route-target export 44:44
  223. !
  224. no ip domain lookup
  225. ip auth-proxy max-nodata-conns 3
  226. ip admission max-nodata-conns 3
  227. !
  228. multilink bundle-name authenticated
  229. !
  230. !
  231. voice-card 0
  232.  no dspfarm
  233. !
  234. !
  235. !
  236. !
  237. !
  238. !        
  239. !
  240. !
  241. !
  242. !
  243. !
  244. !
  245. !
  246. !
  247. !
  248. !
  249. !
  250. !
  251. !
  252. !
  253. archive
  254.  log config
  255.   hidekeys
  256. !
  257. !
  258. !
  259. !
  260. ip tcp synwait-time 5
  261. !        
  262. !
  263. !
  264. !
  265. interface Loopback0
  266.  ip address 4.4.4.4 255.255.255.255
  267.  ip ospf 1 area 0
  268. !
  269. interface Loopback44
  270.  ip vrf forwarding A
  271.  ip address 44.44.44.44 255.255.255.0
  272.  ip ospf 100 area 0
  273. !
  274. interface Loopback100
  275.  ip vrf forwarding A
  276.  ip address 14.14.14.4 255.255.255.255
  277. !
  278. interface Loopback200
  279.  ip address 200.0.0.4 255.255.255.255
  280. !
  281. interface Loopback444
  282.  no ip address
  283. !
  284. interface FastEthernet0/0
  285.  ip vrf forwarding A
  286.  ip address 173.1.47.4 255.255.255.0
  287.  ip ospf 100 area 0
  288.  duplex auto
  289.  speed auto
  290. !
  291. interface FastEthernet0/1
  292.  ip address 204.12.1.4 255.255.255.0
  293.  duplex auto
  294.  speed auto
  295. !
  296. interface Serial0/0/0
  297.  no ip address
  298.  encapsulation frame-relay
  299.  frame-relay lmi-type cisco
  300. !
  301. interface Serial0/0/0.403 multipoint
  302.  ip address 173.1.0.4 255.255.255.0
  303.  ip ospf network broadcast
  304.  ip ospf priority 0
  305.  ip ospf 1 area 0
  306.  snmp trap link-status
  307.  mpls ip  
  308.  frame-relay map ip 173.1.0.3 403 broadcast
  309.  frame-relay map ip 173.1.0.5 403
  310. !
  311. interface Serial0/1/0
  312.  ip address 173.1.45.4 255.255.255.248
  313.  clock rate 128000
  314. !
  315. router eigrp 100
  316.  redistribute ospf 1 metric 1 1 1 1 1 route-map OSPF->EIGRP
  317.  auto-summary
  318. !
  319. router ospf 100 vrf A
  320.  domain-id 0.0.0.200
  321.  log-adjacency-changes
  322.  area 0 sham-link 14.14.14.4 14.14.14.1
  323.  redistribute bgp 100 subnets
  324. !
  325. router ospf 1
  326.  router-id 4.4.4.4
  327.  log-adjacency-changes
  328. !
  329. router bgp 100
  330.  bgp router-id 4.4.4.4
  331.  no bgp default ipv4-unicast
  332.  bgp log-neighbor-changes
  333.  neighbor 1.1.1.1 remote-as 100
  334.  neighbor 1.1.1.1 update-source Loopback0
  335.  !
  336.  address-family vpnv4
  337.   neighbor 1.1.1.1 activate
  338.   neighbor 1.1.1.1 send-community extended
  339.  exit-address-family
  340.  !
  341.  address-family ipv4 vrf B
  342.   redistribute connected
  343.   no synchronization
  344.  exit-address-family
  345.  !
  346.  address-family ipv4 vrf A
  347.   redistribute connected
  348.   redistribute ospf 100 vrf A match internal external 1 external 2
  349.   no synchronization
  350.  exit-address-family
  351. !
  352. ip forward-protocol nd
  353. !        
  354. !
  355. no ip http server
  356. no ip http secure-server
  357. !
  358. ip access-list standard OSPF
  359. !
  360. !
  361. !
  362. !
  363. route-map SET_NH permit 10
  364.  set ip next-hop 173.1.0.4
  365. !
  366. route-map LOCAL permit 10
  367.  set local-preference 400
  368. !
  369. route-map OSPF->EIGRP permit 10
  370.  match tag 90
  371. !
  372. route-map R3_OUT permit 10
  373.  set metric 100
  374.  set local-preference 200
  375. !
  376. !        
  377. mpls ldp router-id Loopback0 force
  378. !
  379. !
  380. control-plane
  381. !
  382. !
  383. !
  384. !
  385. !
  386. !
  387. !
  388. !
  389. !
  390. !
  391. line con 0
  392.  exec-timeout 0 0
  393.  privilege level 15
  394.  logging synchronous level 0 limit 20
  395. line aux 0
  396. line vty 0 4
  397.  password cisco
  398.  login
  399. !        
  400. scheduler allocate 20000 1000
  401. !
  402. end
  403.  
  404. Rack1R4#