Advertisement
Guest User

Untitled

a guest
Jan 27th, 2020
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.29 KB | None | 0 0
  1. =================================================== S W I T C H
  2.  
  3. ena
  4. config t
  5. hostname S3
  6. banner motd # Warning!! Unauthorized Access in Prohibited!!! #
  7. line con 0
  8. pass cisco
  9. login
  10. line vty 0 4
  11. pass cisco
  12. login
  13. transport input telnet
  14. exit
  15. enable secret cisco
  16. service password-encryption
  17. int vlan 1
  18. ip add 178.3.224.129 255.255.255.128
  19. no shut
  20.  
  21. ----------------------- Port Security
  22.  
  23. int ra fa0/24
  24. switchport mode access
  25. switchport port-security
  26. switchport port-security max 1
  27. switchport port-security mac-address sticky
  28. switchport port-security violation shutdown
  29. exit
  30.  
  31. int rang fa0/16-23, g0/1-2
  32. shutdown
  33.  
  34. int fa0/1
  35. switchport mode access
  36. switchport port-security
  37. switchport port-security max 1
  38. switchport port-security mac-address 00D0.BA8B.1E83
  39. switchport port-security violation restrict
  40. exit
  41.  
  42. int ra fa0/1-15
  43. switchport mode access
  44. switchport access vlan 10
  45. switchport voice vlan 160
  46. exit
  47.  
  48.  
  49.  
  50. ----------------------- V L A N S
  51.  
  52. vlan 10
  53. name HR
  54. vlan 20
  55. name Mktng
  56. vlan 30
  57. name Audit
  58. vlan 40
  59. name DirectorsTeam
  60. vlan 50
  61. name Sales
  62. vlan 60
  63. name TechSupport
  64. vlan 70
  65. name Utility
  66. vlan 80
  67. name CustomerService
  68. vlan 90
  69. name Production
  70. vlan 100
  71. name Research
  72. vlan 110
  73. name Legal
  74. vlan 120
  75. name Cashier
  76. vlan 130
  77. name CEO
  78. vlan 140
  79. name Assistant
  80. vlan 150
  81. name Director
  82. vlan 160
  83. name Voice
  84.  
  85. int ra fa0/1-5
  86. switchport mode access
  87. switchport access vlan 130
  88. int ra fa0/6-10
  89. switchport mode access
  90. switchport access vlan 140
  91. int ra fa0/11-15
  92. switchport mode access
  93. switchport access vlan 150
  94. int ra fa0/1-15
  95. switchport voice vlan 160
  96.  
  97. interface vlan 99
  98. ip add 178.3.224.128 255.255.255.128
  99. description management vlan
  100.  
  101. int ra fa0/5-20
  102. switchport mode trunk
  103. switchport trunk native vlan 99
  104.  
  105. show vlan brief
  106.  
  107.  
  108. int ra fa0/16-24
  109. switchport mode access
  110. switchport access vlan 10
  111. shutdown
  112. ---------------------- T r u n k i n g
  113.  
  114. int se0/3/0
  115. switchport mode trunk
  116.  
  117. int g0/1
  118. switchport mode trunk
  119. switchport trunk allowed vlan 1-160
  120.  
  121. int g0/2
  122. switchport mode trunk
  123. switchport trunk allowed vlan 1-190
  124.  
  125. do show interfaces trunk
  126.  
  127. =================================================== R O U T E R
  128. ena
  129. config t
  130. hostname DLSU_Router
  131. banner motd # Warning!! Unauthorized Access in Prohibited!!! #
  132. line con 0
  133. pass cisco
  134. login
  135. line vty 0 4
  136. pass cisco
  137. login
  138. transport input telnet
  139. exit
  140. enable secret cisco
  141. service password-encryption
  142. int g0/0
  143. ip add 200.120.224.1 255.255.255.224
  144. no shut
  145. int g0/1
  146. ip add 200.120.224.33 255.255.255.240
  147. no shut
  148. int g0/2
  149. ip add 199.200.194.1 255.255.255.0
  150. no shut
  151. int se0/0/0
  152. ip add 198.3.225.2 255.255.255.128
  153. no shut
  154. int se0/0/1
  155. ip add 220.158.193.1 255.255.255.192
  156. no shut
  157.  
  158. -------------------------- T r u n k i n g
  159.  
  160. int fa0/0.10
  161. encapsulation dot1Q 10
  162. ip add 198.200.0.1 255.255.240.0
  163. no shut
  164. int fa0/0.20
  165. encapsulation dot1Q 20
  166. ip add 198.200.16.1 255.255.240.0
  167. no shut
  168. int fa0/0.30
  169. encapsulation dot1Q 30
  170. ip add 198.200.32.1 255.255.240.0
  171. no shut
  172. int fa0/0.40
  173. encapsulation dot1Q 40
  174. ip add 198.200.48.1 255.255.240.0
  175. no shut
  176. int fa0/0.50
  177. encapsulation dot1Q 50
  178. ip add 198.200.64.1 255.255.240.0
  179. no shut
  180. int fa0/0.60
  181. encapsulation dot1Q 60
  182. ip add 198.200.80.1 255.255.240.0
  183. no shut
  184. int fa0/0.70
  185. encapsulation dot1Q 70
  186. ip add 198.200.96.1 255.255.240.0
  187. no shut
  188. int fa0/0.80
  189. encapsulation dot1Q 80
  190. ip add 198.200.112.1 255.255.240.0
  191. no shut
  192. int fa0/0.90
  193. encapsulation dot1Q 90
  194. ip add 198.200.128.1 255.255.240.0
  195. no shut
  196. int fa0/0.100
  197. encapsulation dot1Q 100
  198. ip add 198.200.144.1 255.255.240.0
  199. no shut
  200. int fa0/0.110
  201. encapsulation dot1Q 110
  202. ip add 198.200.160.1 255.255.240.0
  203. no shut
  204. int fa0/0.120
  205. encapsulation dot1Q 120
  206. ip add 198.200.176.1 255.255.240.0
  207. no shut
  208. int fa0/0.130
  209. encapsulation dot1Q 130
  210. ip add 198.200.192.1 255.255.240.0
  211. no shut
  212. int fa0/0.140
  213. encapsulation dot1Q 140
  214. ip add 198.200.208.1 255.255.240.0
  215. no shut
  216. int fa0/0.150
  217. encapsulation dot1Q 150
  218. ip add 198.200.224.1 255.255.240.0
  219. no shut
  220. int fa0/0.160
  221. encapsulation dot1Q 160
  222. ip add 198.200.240.1 255.255.240.0
  223. no shut
  224. int fa0/0.170
  225. encapsulation dot1Q 170
  226. ip add 192.15.140.1 255.255.252.0
  227. no shut
  228. int fa0/0.180
  229. encapsulation dot1Q 180
  230. ip add 192.15.144.1 255.255.252.0
  231. no shut
  232. int fa0/0.190
  233. encapsulation dot1Q 190
  234. ip add 192.15.148.1 255.255.252.0
  235. no shut
  236. ------------------------- IP helper address
  237.  
  238. int g0/0
  239. ip helper-address 10.95.7.6
  240. ip helper-address 10.10.10.1 unicast
  241.  
  242. ------------------------- L o o p b a c k
  243.  
  244. int loopback0
  245. ip add 10.0.0.1 255.0.0.0
  246. no shut
  247.  
  248. --------------------------- S t a t i c r o u t i n g
  249.  
  250. dest network subnet mask exit int
  251. ip route 192.168.10.0 255.255.255.0 10.0.0.1
  252.  
  253. --------------------------- R I P V 2
  254.  
  255. router rip
  256. version 2
  257. no auto-sum
  258. network 192.168.10.0 255.255.255.0
  259.  
  260. --------------------------- E I G R P
  261.  
  262. router eigrp 1
  263. no auto-sum
  264. network 192.15.128.0 0.0.3.255
  265. network 192.15.132.0 0.0.3.255
  266.  
  267.  
  268.  
  269. show ip eigrp neighbors
  270.  
  271. +++++++++++++ Redistribution
  272.  
  273. router eigrp 1
  274. redistribute ospf 10 metric 10000 10 255 1 1500
  275. exit
  276.  
  277. +++++++++++++ Redistribute static
  278.  
  279. router eigrp 1
  280. redistribute static metric 10000 100 255 1 1500
  281. network
  282.  
  283.  
  284. --------------------------- O S P F
  285.  
  286. router ospf 1
  287. network 198.200.0.0 0.0.15.255 area 0
  288. network 198.200.16.0 0.0.15.255 area 0
  289. network 198.200.32.0 0.0.15.255 area 0
  290. network 198.200.48.0 0.0.15.255 area 0
  291. network 198.200.64.0 0.0.15.255 area 0
  292. network 198.200.80.0 0.0.15.255 area 0
  293. network 198.200.96.0 0.0.15.255 area 0
  294. network 198.200.112.0 0.0.15.255 area 0
  295. network 198.200.128.0 0.0.15.255 area 0
  296. network 198.200.144.0 0.0.15.255 area 0
  297. network 198.200.160.0 0.0.15.255 area 0
  298. network 198.200.176.0 0.0.15.255 area 0
  299. network 198.200.192.0 0.0.15.255 area 0
  300. network 198.200.208.0 0.0.15.255 area 0
  301. network 198.200.224.0 0.0.15.255 area 0
  302. network 198.200.240.0 0.0.15.255 area 0
  303. network 199.200.200.0 0.0.15.255 area 0
  304. network 192.15.128.0 0.0.3.255 area 0
  305. +++++++++++++ Redistribution
  306.  
  307. router ospf 1
  308. redistribute eigrp 100 subnets
  309. exit
  310.  
  311. ------------------------ R o u t e r D H C P
  312.  
  313. ip dhcp excluded-address 198.200.0.1 198.200.0.9
  314. ip dhcp pool F1LAN1
  315. network 198.200.0.0 255.255.240.0
  316. default-router 198.200.0.1
  317. dns-server 198.201.0.2
  318. domain-name www.HR.com
  319.  
  320. ip dhcp excluded-address 198.200.16.1 198.200.16.9
  321. ip dhcp pool F1LAN2
  322. network 198.200.16.0 255.255.240.0
  323. default-router 198.200.16.1
  324. dns-server 198.201.0.2
  325. domain-name www.Mktng.com
  326.  
  327. ip dhcp excluded-address 198.200.32.1 198.200.32.9
  328. ip dhcp pool F1LAN3
  329. network 198.200.32.0 255.255.240.0
  330. default-router 198.200.32.1
  331. dns-server 198.201.0.2
  332. domain-name www.Audit.com
  333.  
  334. ip dhcp excluded-address 198.200.48.1 198.200.48.9
  335. ip dhcp pool F1LAN4
  336. network 198.200.48.0 255.255.240.0
  337. default-router 198.200.48.1
  338. dns-server 198.201.0.2
  339. domain-name www.DirectorsTeam.com
  340.  
  341. ip dhcp excluded-address 198.200.64.1 198.200.64.9
  342. ip dhcp pool F1LAN5
  343. network 198.200.64.0 255.255.240.0
  344. default-router 198.200.64.1
  345. dns-server 198.201.0.2
  346. domain-name www.Sales.com
  347.  
  348. ip dhcp excluded-address 198.200.80.1 198.200.80.9
  349. ip dhcp pool F1LAN6
  350. network 198.200.80.0 255.255.240.0
  351. default-router 198.200.80.1
  352. dns-server 198.201.0.2
  353. domain-name www.TechSupport.com
  354.  
  355. ip dhcp excluded-address 198.200.96.1 198.200.96.9
  356. ip dhcp pool F2LAN7
  357. network 198.200.96.0 255.255.240.0
  358. default-router 198.200.96.1
  359. dns-server 198.201.0.2
  360. domain-name www.Utility.com
  361.  
  362. ip dhcp excluded-address 198.200.112.1 198.200.112.9
  363. ip dhcp pool F2LAN8
  364. network 198.200.112.0 255.255.240.0
  365. default-router 198.200.112.1
  366. dns-server 198.201.0.2
  367. domain-name www.CustomerService.com
  368.  
  369. ip dhcp excluded-address 198.200.128.1 198.200.128.9
  370. ip dhcp pool F2LAN9
  371. network 198.200.128.0 255.255.240.0
  372. default-router 198.200.128.1
  373. dns-server 198.201.0.2
  374. domain-name www.Production.com
  375.  
  376. ip dhcp excluded-address 198.200.144.1 198.200.144.9
  377. ip dhcp pool F3LAN10
  378. network 198.200.144.0 255.255.240.0
  379. default-router 198.200.144.1
  380. dns-server 198.201.0.2
  381. domain-name www.ResearchDept.com
  382.  
  383. ip dhcp excluded-address 198.200.160.1 198.200.160.9
  384. ip dhcp pool F3LAN11
  385. network 198.200.160.0 255.255.240.0
  386. default-router 198.200.160.1
  387. dns-server 198.201.0.2
  388. domain-name www.LegalDept.com
  389.  
  390. ip dhcp excluded-address 198.200.176.1 198.200.176.9
  391. ip dhcp pool F3LAN12
  392. network 198.200.176.0 255.255.240.0
  393. default-router 198.200.176.1
  394. dns-server 198.201.0.2
  395. domain-name www.CashierDept.com
  396.  
  397. ip dhcp excluded-address 198.200.192.1 198.200.192.9
  398. ip dhcp pool F4LAN13
  399. network 198.200.192.0 255.255.240.0
  400. default-router 198.200.192.1
  401. dns-server 198.201.0.2
  402. domain-name www.CEO.com
  403.  
  404. ip dhcp excluded-address 198.200.208.1 198.200.208.9
  405. ip dhcp pool F4LAN14
  406. network 198.200.208.0 255.255.240.0
  407. default-router 198.200.208.1
  408. dns-server 198.201.0.2
  409. domain-name www.Assistant.com
  410.  
  411. ip dhcp excluded-address 198.200.224.1 198.200.224.9
  412. ip dhcp pool F4LAN15
  413. network 198.200.224.0 255.255.240.0
  414. default-router 198.200.224.1
  415. dns-server 198.201.0.2
  416. domain-name www.Director.com
  417.  
  418. ip dhcp pool VOICE
  419. network 198.200.240.0 255.255.240.0
  420. default-router 198.200.240.1
  421. option 150 ip 198.200.240.1
  422.  
  423. ip dhcp excluded-address 192.15.140.1 192.15.140.9
  424. ip dhcp pool BR1LAN1
  425. network 192.15.140.0 255.255.252.0
  426. default-router 192.15.140.1
  427. dns-server 198.201.0.2
  428. domain-name www.FrontDesk.com
  429.  
  430. ip dhcp excluded-address 192.15.144.1 192.15.144.9
  431. ip dhcp pool BR1LAN2
  432. network 192.15.144.0 255.255.252.0
  433. default-router 192.15.144.1
  434. dns-server 198.201.0.2
  435. domain-name www.IT.com
  436.  
  437. ip dhcp excluded-address 192.15.148.1 192.15.148.9
  438. ip dhcp pool BR1LAN3
  439. network 192.15.148.0 255.255.252.0
  440. default-router 192.15.148.1
  441. dns-server 198.201.0.2
  442. domain-name www.Manager.com
  443.  
  444. ================================TELEPHONY SERVICE
  445. telephony-service
  446. max-dn 30
  447. max-ephones 30
  448. ip source-address 198.200.240.1 port 2000
  449. ephone-dn 1
  450. number 1010
  451. ephone-dn 2
  452. number 1020
  453. ephone-dn 3
  454. number 1030
  455. ephone-dn 4
  456. number 1040
  457. ephone-dn 5
  458. number 1050
  459. ephone-dn 6
  460. number 1060
  461. ephone-dn 7
  462. number 1070
  463. ephone-dn 8
  464. number 1080
  465. ephone-dn 9
  466. number 1090
  467. ephone-dn 10
  468. number 1100
  469. ephone-dn 11
  470. number 1110
  471. ephone-dn 12
  472. number 1120
  473. ephone-dn 13
  474. number 1130
  475. ephone-dn 14
  476. number 1140
  477. ephone-dn 15
  478. number 1150
  479. ephone-dn 16
  480. number 1160
  481. ephone-dn 17
  482. number 1170
  483. ephone-dn 18
  484. number 1180
  485. ephone-dn 19
  486. number 1190
  487. ephone-dn 20
  488. number 1200
  489. ephone-dn 21
  490. number 1210
  491. ephone-dn 22
  492. number 1220
  493. ephone-dn 23
  494. number 1230
  495. ephone-dn 24
  496. number 1240
  497. ephone-dn 25
  498. number 1250
  499. ephone-dn 26
  500. number 1260
  501. ephone-dn 27
  502. number 1270
  503. ephone-dn 28
  504. number 1280
  505. ephone-dn 29
  506. number 1290
  507. ephone-dn 30
  508. number 1300
  509. =============================telephony type number
  510. ephone 1
  511. type 7960
  512. button 1:1
  513. ephone 2
  514. type 7960
  515. button 1:2
  516. ephone 3
  517. type 7960
  518. button 1:3
  519. ephone 4
  520. type 7960
  521. button 1:4
  522. ephone 5
  523. type 7960
  524. button 1:5
  525. ephone 6
  526. type 7960
  527. button 1:6
  528. ephone 7
  529. type 7960
  530. button 1:7
  531. ephone 8
  532. type 7960
  533. button 1:8
  534. ephone 9
  535. type 7960
  536. button 1:9
  537. ephone 10
  538. type 7960
  539. button 1:10
  540. ephone 11
  541. type 7960
  542. button 1:11
  543. ephone 12
  544. type 7960
  545. button 1:12
  546. ephone 13
  547. type 7960
  548. button 1:13
  549. ephone 14
  550. type 7960
  551. button 1:14
  552. ephone 15
  553. type 7960
  554. button 1:15
  555. ephone 16
  556. type 7960
  557. button 1:16
  558. ephone 17
  559. type 7960
  560. button 1:17
  561. ephone 18
  562. type 7960
  563. button 1:18
  564. ephone 19
  565. type 7960
  566. button 1:19
  567. ephone 20
  568. type 7960
  569. button 1:20
  570. ephone 21
  571. type 7960
  572. button 1:21
  573. ephone 22
  574. type 7960
  575. button 1:22
  576. ephone 23
  577. type 7960
  578. button 1:23
  579. ephone 24
  580. type 7960
  581. button 1:24
  582. ephone 25
  583. type 7960
  584. button 1:25
  585. ephone 26
  586. type 7960
  587. button 1:26
  588. ephone 27
  589. type 7960
  590. button 1:27
  591. ephone 28
  592. type 7960
  593. button 1:28
  594. ephone 29
  595. type 7960
  596. button 1:29
  597. ephone 30
  598. type 7960
  599. button 1:30
  600. ========================================================= S S H
  601.  
  602. ip domain-name com
  603. crypto key generate rsa
  604. 1024
  605. username administrator password cisco
  606. line vty 0 4
  607. login local
  608. transport input ssh
  609. no password cisco
  610. exit
  611.  
  612. ip ssh version 2
  613. line vty 0 4
  614. transport input ssh
  615.  
  616. ======================================================ACCESS LISTS
  617.  
  618. access-list 11 deny host 12.198.224.26
  619. access-list 11 permit any
  620. int g0/0
  621. ip access-group 11 out / out
  622.  
  623.  
  624. 0.0.0.0 0.0.0.0 - specific
  625. 0.0.0.0 255.255.255.255 - any
  626.  
  627.  
  628. ++++++++++++++++++++++++++++ STANDARD
  629.  
  630. ip access-list standard one
  631. 10 deny 198.3.226.10 0.0.0.0
  632. permit any
  633. exit
  634. int se0/0/0
  635. ip access-group one out
  636.  
  637. ++++++++++++++++++++++++++++ EXTENDED
  638.  
  639. access-list 101 deny tcp host 209.191.88.3 156.220.213.0 0.0.0.31
  640. access-list 101 deny tcp host 209.191.88.3 156.220.213.32 0.0.0.31
  641. access-list 101 permit ip any any
  642. int g0/0
  643. ip access-group 101 out
  644.  
  645. access-list 102 deny ip 156.220.213.0 0.0.0.31 host 198.112.160.3
  646. access-list 102 deny ip 156.220.213.32 0.0.0.31 host 198.112.160.3
  647. access-list 102 deny ip 199.178.11.0 0.0.0.127 host 198.112.160.3
  648. access-list 102 deny ip 156.220.213.0 0.0.0.31 host 124.215.18.3
  649. access-list 102 deny ip 156.220.213.32 0.0.0.31 host 124.215.18.3
  650. access-list 102 deny ip 199.178.11.0 0.0.0.127 host 124.215.18.3
  651. access-list 102 permit ip any any
  652.  
  653. int se0/1/0
  654. ip access-group 102 in
  655. int se0/0/1
  656. ip access-group 102 in
  657.  
  658. int g0/0
  659. ip access-group 102 out
  660.  
  661. +++++++++++++++++++++++++ FTP (DENY EXTENDED)
  662. access-list 101 deny tcp 156.220.213.0 0.0.0.31 host 209.191.88.3 eq ftp
  663. access-list 101 deny tcp 156.220.213.32 0.0.0.31 host 209.191.88.3 eq ftp
  664. access-list 101 deny tcp 156.220.213.0 0.0.0.31 host 199.178.11.3 eq ftp
  665. access-list 101 deny tcp 156.220.213.32 0.0.0.31 host 199.178.11.3 eq ftp
  666. access-list 101 permit ip any any
  667.  
  668. int g0/0
  669. ip access-group 101 in
  670. int g0/1
  671. ip access-group 101 in
  672.  
  673. show ip access-list
  674.  
  675. ++++++++++++++++++++++++ WWW (DENY EXTENDED)
  676. access-list 105 deny tcp 199.178.11.0 0.0.0.127 host 209.191.88.3 eq www
  677. access-list 105 deny tcp 199.178.11.0 0.0.0.127 host 220.11.179.3 eq www
  678. access-list 105 deny tcp 199.178.11.0 0.0.0.127 host 198.112.160.3 eq www
  679. access-list 105 deny tcp 199.178.11.0 0.0.0.127 host 124.215.18.3 eq www
  680. access-list 105 deny tcp 199.178.11.0 0.0.0.127 host 156.220.213.34 eq www
  681. access-list 105 permit ip any any
  682.  
  683. int g0/0
  684. ip access-group 105 in
  685.  
  686. ++++++++++++++++++++++ SMTP (DENY EXTENDED)
  687.  
  688. access-list 103 deny tcp 199.178.11.0 0.0.0.127 host 138.220.16.3 eq smtp
  689. access-list 103 permit ip any any
  690.  
  691. int g0/0
  692. ip access-group 103 in
  693.  
  694. int g0/1
  695. ip access-group 102 in
  696.  
  697. +++++++++++++++++++++++++++++ FILTERING VTY TRAFFIC (STANDARD)
  698.  
  699. access-list 10 deny 198.3.226.10 0.0.0.255
  700. access-list 10 permit any
  701. line vty 0 4
  702. access-class 10 in
  703.  
  704. +++++++++++++++++++++++++++++ FILTERING VTY TRAFFIC (EXTENDED)
  705.  
  706. access-list 103 deny ip host 198.3.226.10 host 198.3.226.1
  707. access-list 103 permit ip any any
  708. line vty 0 4
  709. access-class 103 in
  710.  
  711. access-list 103 deny ip host 198.3.224.10 host 198.3.224.1
  712. access-list 103 permit ip any any
  713. line vty 0 4
  714. access-class 103 in
  715.  
  716. +++++++++++++++++++++++++++ FTP
  717.  
  718. access-list 101 deny tcp 192.168.10.32 0.0.0.255 any eq www
  719.  
  720. cmd> dir
  721. cmd > ftp 192.168.10.1 or usc.edu.ph
  722. put
  723. get
  724.  
  725.  
  726. ===================================================== I P V 6
  727.  
  728. ipv6 unicast-routing
  729. ipv6 router rip Petri
  730. int g0/0
  731. ipv6 add
  732. ipv6 rip Petri enable
  733.  
  734. int g0/1
  735. ipv6 add 2001:DB8:ACAD:AAAA::1/64
  736. ipv6 rip Group4 enable
  737. ipv6 dhcp server Lan6
  738. ipv6 nd other-config-flag
  739. no shut
  740.  
  741. +++++++++++++ Router D H C P
  742.  
  743. ipv6 dhcp pool Lan6
  744. address prefix 2001:DB8:ACAD:AAA9::/64
  745. exit
  746. ipv6 dhcp pool Lan7
  747. address prefix 2001:DB8:ACAD:AAAA::/64
  748. exit
  749.  
  750. ++++++++++++ R I P V 2
  751.  
  752. int g0/0
  753. ipv6 rip Group4 enable
  754. ipv6 enable
  755.  
  756. ipv6 router rip Group4
  757. redistribute eigrp 100 metric 1
  758.  
  759. ++++++++++++ EIGRP
  760.  
  761. int g0/0
  762. ipv6 eigrp 1
  763. ipv6 enable
  764.  
  765. ipv6 router eigrp 100
  766. eigrp router-id 3.3.3.3
  767. no shut
  768. redistribute rip Group4 metric 1544 100 255 1 100
  769.  
  770. ++++++++++++++++++++++++++ L O O P B A C K
  771. int lo0
  772. ipv6 ospf 1 area 0
  773.  
  774. int g0/0
  775. int lo0
  776. ipv6 ospf 1 area 0
  777.  
  778. int lo0
  779. ipv6 eigrp 1
  780.  
  781.  
  782. ipv6 rip Group4 enable
  783. no shut
  784. ex
  785.  
  786. PC1
  787. ipv6 add 2001:DB8:ACAD:4002::2/64
  788. PC2
  789. ipv6 add 2001:DB8:ACAD:4002::3/64
  790.  
  791. ========================= O S P F
  792. ipv6 router ospf 1
  793. redistribute eigrp 1 include-connected metric 3
  794.  
  795.  
  796. ===========================ISP
  797. 198.200.0.0 255.255.240.0
  798. se0/3/0 192.15.128.0/22 255.255.252.0
  799. se0/3/0 192.15.132.0/22 255.255.252.0
  800. se0/3/0 192.15.136.0/22 255.255.252.0
  801.  
  802. ====kuwang
  803. ospf sa tanan networks
  804.  
  805. ===main branch rtr
  806. dial-peer voice 10 voip
  807. destination-pattern 10..
  808. session-target ipv4:192.15.136.2
  809.  
  810. === branch 1 rtr
  811. dial-peer voice 10 voip
  812. destination-pattern 20..
  813. session-target ipv4:192.15.128.1
  814.  
  815. ==============branch 1
  816. vlan 170
  817. name FrontDesk
  818. vlan 180
  819. name IT
  820. vlan 190
  821. name Manager
  822.  
  823. int ra fa0/2-3
  824. switchport mode access
  825. switchport access vlan 170
  826.  
  827. int ra fa0/4-5
  828. switchport mode access
  829. switchport access vlan 180
  830.  
  831. int ra fa0/6-7
  832. switchport mode access
  833. switchport access vlan 190
  834.  
  835. telephony-service
  836. max-dn 30
  837. max-ephones 30
  838. ip source-address 198.200.240.1 port 2000
  839. ephone-dn 1
  840. number 1310
  841. ephone-dn 2
  842. number 1320
  843. ephone-dn 3
  844. number 1330
  845. ephone-dn 4
  846. number 130
  847. ephone-dn 5
  848. number 1350
  849. ephone-dn 6
  850. number 1360
  851. =========
  852. ephone 1
  853. type 7960
  854. button 1:1
  855. ephone 2
  856. type 7960
  857. button 1:2
  858. ephone 3
  859. type 7960
  860. button 1:3
  861. ephone 4
  862. type 7960
  863. button 1:4
  864. ephone 5
  865. type 7960
  866. button 1:5
  867. ephone 6
  868. type 7960
  869. button 1:6
  870.  
  871. ==============
  872. router ospf 1
  873. network 192.15.152.0 0.0.3.255 area 0
  874. network 192.15.140.0 0.0.3.255 area 0
  875. network 192.15.144.0 0.0.3.255 area 0
  876. network 192.15.148.0 0.0.3.255 area 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement