Advertisement
Guest User

ccnpsw

a guest
Sep 19th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 20.15 KB | None | 0 0
  1.  
  2. Switch DLS1
  3. hostname DLS1
  4. !
  5. enable secret 5 $1$JPpG$V2H6KfhZX7i5Ui0R0DKWx/
  6. !
  7. username SMITH password 0 cisco
  8. vtp domain LAB_TEST
  9. vtp mode transparent
  10. ip routing
  11. ip domain-name cisco.com
  12. !
  13. ip dhcp excluded-address 10.10.10.1 10.10.10.10
  14. !
  15. ip dhcp pool VLAN_10_STUDENT network 10.10.10.0 255.255.255.0 default-router 10.10.10.1 dns-server 200.200.200.1
  16. !
  17. !
  18. ip dhcp snooping vlan 10,30 ip dhcp snooping
  19. !
  20. !
  21. spanning-tree mode mst spanning-tree extend system-id
  22. ! spanning-tree mst configuration name TEST_LAB instance 1 vlan 10, 20 instance 2 vlan 30, 199
  23. !
  24. spanning-tree mst 1 priority 24576
  25. !
  26. vlan internal allocation policy ascending
  27. !
  28. vlan 10 name Student
  29. !
  30. vlan 20 name Voice
  31. !
  32. vlan 30 name Faculty
  33. !
  34. vlan 199 name Management
  35. !
  36. vlan 777 name NATIVE_VLAN
  37. !
  38. vlan 900 name Parking_Lot
  39. !
  40. track 10 ip sla 1
  41. !
  42. ip ssh version 2
  43. !
  44. interface Loopback0 ip address 200.200.200.1 255.255.255.0 shutdown
  45. !
  46. interface Port-channel1
  47. description connected to PO1 connected to ALS1 switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk ip dhcp snooping trust
  48. !
  49. interface Port-channel2 switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk ip dhcp snooping trust
  50. !
  51. interface Port-channel3
  52. no switchport
  53. ip address 10.10.12.1 255.255.255.0
  54. !
  55. interface FastEthernet0/1
  56. switchport access vlan 900
  57. switchport mode access
  58. shutdown
  59. !
  60. interface FastEthernet0/2
  61. switchport access vlan 900
  62. switchport mode access
  63. shutdown
  64. !
  65. interface FastEthernet0/3
  66. switchport access vlan 900
  67. switchport mode access
  68. shutdown
  69. !
  70. interface FastEthernet0/4
  71. switchport access vlan 900
  72. switchport mode access
  73. shutdown
  74. !
  75. interface FastEthernet0/5
  76. switchport access vlan 900
  77. switchport mode access
  78. shutdown
  79. !
  80. interface FastEthernet0/6
  81.  
  82. switchport access vlan 199
  83. switchport mode access
  84. spanning-tree portfast
  85. !
  86. interface FastEthernet0/7
  87. switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 1 mode active ip dhcp snooping trust
  88. !
  89. interface FastEthernet0/8
  90. switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 1 mode active ip dhcp snooping trust
  91. !
  92. interface FastEthernet0/9
  93. switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 2 mode active ip dhcp snooping trust
  94. !
  95. interface FastEthernet0/10
  96. switchport trunk encapsulation dot1q switchport trunk native vlan 777 switchport trunk allowed vlan 10,20,30,199 switchport mode trunk channel-group 2 mode active ip dhcp snooping trust
  97. !
  98. interface FastEthernet0/11
  99. no switchport no ip address channel-group 3 mode on
  100. !
  101. interface FastEthernet0/12
  102. no switchport no ip address channel-group 3 mode on
  103. !
  104. interface FastEthernet0/13
  105. switchport access vlan 900 switchport mode access shutdown
  106. !
  107. interface FastEthernet0/14
  108. switchport access vlan 900
  109. switchport mode access
  110. shutdown
  111. !
  112. interface FastEthernet0/15
  113. switchport access vlan 900
  114. switchport mode access
  115. shutdown
  116. !
  117. interface FastEthernet0/16
  118. switchport access vlan 900
  119. switchport mode access
  120. shutdown
  121. !
  122. interface FastEthernet0/17
  123. switchport access vlan 900
  124. switchport mode access
  125. shutdown
  126. !
  127. interface FastEthernet0/18
  128. switchport access vlan 900
  129. switchport mode access
  130. shutdown
  131. !
  132. interface FastEthernet0/19
  133. switchport access vlan 900
  134. switchport mode access
  135. shutdown
  136. !
  137. interface FastEthernet0/20
  138. switchport access vlan 900
  139. switchport mode access
  140. shutdown
  141. !
  142. interface FastEthernet0/21
  143. switchport access vlan 900
  144. switchport mode access
  145. shutdown
  146. !
  147. interface FastEthernet0/22
  148. switchport access vlan 900
  149. switchport mode access
  150. shutdown
  151. !
  152. interface FastEthernet0/23
  153. switchport access vlan 900
  154. switchport mode access
  155. shutdown
  156. !
  157. interface FastEthernet0/24
  158. switchport access vlan 900
  159. switchport mode access
  160. shutdown
  161. !
  162. interface GigabitEthernet0/1
  163. switchport access vlan 900
  164. switchport mode access
  165. shutdown
  166. !
  167. interface GigabitEthernet0/2
  168. switchport access vlan 900
  169. switchport mode access
  170. shutdown
  171. !
  172. interface Vlan1
  173. no ip address
  174. shutdown
  175. !
  176. interface Vlan10
  177. ip address 10.10.10.2 255.255.255.0
  178. standby 10 ip 10.10.10.1
  179. standby 10 priority 120 standby 10 preempt standby 10 track 10 decrement 30
  180. !
  181. interface Vlan20
  182. ip address 10.10.20.2 255.255.255.0 standby 20 ip 10.10.20.1 standby 20 priority 120 standby 20 preempt standby 20 track 10 decrement 30
  183. !
  184. interface Vlan30
  185. ip address 10.10.30.2 255.255.255.0 standby 30 ip 10.10.30.1 standby 30 preempt
  186. !
  187. interface Vlan199
  188. ip address 10.10.199.2 255.255.255.0 standby 199 ip 10.10.199.1 standby 199 preempt
  189. !
  190. router ospf 1
  191. router-id 1.1.1.1
  192. passive-interface default no passive-interface Port-channel3 network 10.10.0.0 0.0.255.255 area 0
  193. !
  194. ip http server
  195. ip http secure-server
  196. !
  197. ip sla 1 icmp-echo 200.200.200.1 frequency 5 ip sla schedule 1 life forever start-time now access-list 10 permit 10.10.199.0 0.0.0.255
  198. !
  199. !
  200. line con 0
  201. line vty 0 4
  202. access-class 10 in password cisco login local transport input ssh line vty 5 15 login
  203.  
  204. transport input all
  205. ntp authentication-key 1 md5 105D5A1A100517 7 ntp authenticate ntp trusted-key 1 ntp master 5 end
  206.  
  207.  
  208.  
  209. Switch DLS2
  210. hostname DLS2
  211. !
  212. enable secret 5 $1$plO0$k8H0Snb0FhHpugba3Lu3Q.
  213. !
  214. username smith password 0 cisco
  215. vtp domain LAB_TEST
  216. vtp mode transparent
  217. ip routing
  218. ip domain-name cisco.com
  219. !
  220. ip dhcp excluded-address 10.10.30.1 10.10.30.10
  221. !
  222. ip dhcp pool VLAN_30_FACULTY network 10.10.30.0 255.255.255.0 default-router 10.10.30.1 dns-server 200.200.200.1
  223. !
  224. !
  225. ip dhcp snooping vlan 10,30 ip dhcp snooping
  226. !
  227. !
  228. spanning-tree mode mst
  229. spanning-tree extend
  230. system-id
  231. !
  232. spanning-tree mst configuration
  233. name TEST_LAB
  234. instance 1 vlan 10, 20
  235. instance 2 vlan 30, 199
  236. !
  237. spanning-tree mst 1 priority 28672
  238. spanning-tree mst 2 priority 24576 !
  239. vlan internal allocation policy ascending
  240. !
  241. vlan 10 name Student
  242. !
  243. vlan 20
  244. name Voice
  245. !
  246. vlan 30 name Faculty
  247. !
  248. vlan 199
  249. name Management
  250. vlan 777
  251. name NATIVE_VLAN
  252. !
  253. vlan 900
  254. name Parking_Lot
  255. !
  256. ip ssh version 2
  257. !
  258. interface Loopback0
  259. ip address 200.200.200.1 255.255.255.0
  260. !
  261. interface Port-channel1
  262. switchport trunk encapsulation dot1q
  263. switchport trunk native vlan 777
  264. switchport trunk allowed vlan 10,20,30,199
  265. switchport mode trunk
  266. switchport nonegotiate
  267. ip dhcp snooping trust
  268. !
  269. interface Port-channel2
  270. switchport trunk encapsulation
  271. dot1q switchport trunk native vlan 777
  272. switchport trunk allowed vlan 10,20,30,199
  273. switchport mode trunk
  274. switchport nonegotiate
  275. ip dhcp snooping trust
  276. !
  277. interface Port-channel3
  278. no switchport
  279. ip address 10.10.12.2 255.255.255.0
  280. !
  281. interface FastEthernet0/1
  282. switchport access vlan 900
  283. switchport mode access
  284. shutdown
  285. !
  286. interface FastEthernet0/2
  287. switchport access vlan 900
  288. switchport mode access
  289. shutdown
  290. !
  291. interface FastEthernet0/3
  292. switchport access vlan 900
  293. switchport mode access
  294. shutdown
  295. !
  296. interface FastEthernet0/4
  297. switchport access vlan 900
  298. switchport mode access
  299. shutdown
  300. !
  301. interface FastEthernet0/5
  302. switchport access vlan 900
  303. switchport mode access
  304. shutdown
  305. !
  306. interface FastEthernet0/6
  307. switchport access vlan 900
  308. switchport mode access
  309. shutdown
  310. !
  311. interface FastEthernet0/7
  312. switchport trunk encapsulation dot1q
  313. switchport trunk native vlan 777
  314. switchport trunk allowed vlan 10,20,30,199
  315. switchport mode trunk
  316. switchport nonegotiate
  317. channel-group 1 mode active
  318. ip dhcp snooping trust
  319. !
  320. interface FastEthernet0/8
  321. switchport trunk encapsulation dot1q
  322. switchport trunk native vlan 777
  323. switchport trunk allowed vlan 10,20,30,199
  324. switchport mode trunk
  325. switchport nonegotiate
  326. channel-group 1 mode active
  327. ip dhcp snooping trust
  328. !
  329. interface FastEthernet0/9
  330. switchport trunk encapsulation dot1q
  331. switchport trunk native vlan 777
  332. switchport trunk allowed vlan 10,20,30,199
  333. switchport mode trunk
  334. switchport nonegotiate
  335. channel-group 2 mode active
  336. ip dhcp snooping trust
  337. !
  338. interface FastEthernet0/10
  339. switchport trunk encapsulation dot1q
  340. switchport trunk native vlan 777
  341. switchport trunk allowed vlan 10,20,30,199
  342. switchport mode trunk
  343. switchport nonegotiate
  344. channel-group 2 mode active
  345. ip dhcp snooping trust
  346. !
  347. interface FastEthernet0/11
  348. no switchport
  349. no ip address
  350. channel-group 3 mode on
  351. !
  352. interface FastEthernet0/12
  353. no switchport
  354. no ip address channel-group 3 mode on
  355. !
  356. interface FastEthernet0/13
  357. switchport access vlan 900
  358. switchport mode access
  359. shutdown
  360. !
  361. interface FastEthernet0/14
  362. switchport access vlan 900
  363. switchport mode access
  364. shutdown
  365. !
  366. interface FastEthernet0/15
  367. switchport access vlan 900 switchport
  368. mode access
  369. shutdown
  370. !
  371. interface FastEthernet0/16
  372. switchport access vlan 900
  373. switchport mode access
  374. shutdown
  375. !
  376. interface FastEthernet0/17
  377. switchport access vlan 900
  378. switchport mode access
  379. shutdown
  380. !
  381. interface FastEthernet0/18
  382. switchport access vlan 900
  383. switchport mode access
  384. shutdown
  385. !
  386. interface FastEthernet0/19
  387. switchport access vlan 900
  388. switchport mode access
  389. shutdown
  390. !
  391. interface FastEthernet0/20
  392. switchport access vlan 900
  393. switchport mode access
  394. shutdown
  395. !
  396. interface FastEthernet0/21
  397. switchport access vlan 900
  398. switchport mode access
  399. shutdown
  400. !
  401. interface FastEthernet0/22
  402. switchport access vlan 900
  403. switchport mode access
  404. shutdown
  405. !
  406. interface FastEthernet0/23
  407. switchport access vlan 900
  408. switchport mode access
  409. shutdown
  410. !
  411. interface FastEthernet0/24
  412. switchport access vlan 900
  413. switchport mode access
  414. shutdown
  415.  
  416. interface GigabitEthernet 0/1
  417. switchport access vlan 900
  418. switchport mode access
  419. shutdown
  420. !
  421. interface GigabitEthernet 0/2
  422. switchport access vlan 900
  423. switchport mode access
  424. shutdown
  425. !
  426. interface Vlan1
  427. no ip address shutdown
  428. !
  429. interface Vlan10
  430. ip address 10.10.10.3 255.255.255.0
  431. standby 10 ip 10.10.10.1
  432. standby 10 preempt
  433. !
  434. interface Vlan20
  435. ip address 10.10.20.3 255.255.255.0
  436. standby 20 ip 10.10.20.1
  437. standby 20 preempt
  438. !
  439. interface Vlan30
  440. ip address 10.10.30.3 255.255.255.0
  441. standby 30 ip 10.10.30.1 standby 30 priority 120
  442. standby 30 preempt
  443. !
  444. interface Vlan199
  445. ip address 10.10.199.3 255.255.255.0
  446. tandby 199 ip 10.10.199.1 standby 199 priority 120
  447. standby 199 preempt
  448. !
  449. router ospf 1
  450. router-id 2.2.2.2
  451. passive-interface default no passive-interface Port-channel3 network 10.10.0.0 0.0.255.255 area 0
  452. !
  453. access-list 10 permit 10.10.199.0 0.0.0.255
  454. ! line con 0 line vty 0 4 access-class 10 in password cisco login local
  455. transport input ssh
  456. line vty 5 15 login
  457. !
  458. End
  459.  
  460.  
  461.  
  462.  
  463. Switch ALS1
  464. Note: When the auto qos voip cisco-phone command is used by itself on Fa0/6, it generates many global and some interface-specific QoS-related commands in the running configuration. The Fa0/6 interface-specific QoS-related commands are highlighted below.
  465.  
  466. hostname ALS1
  467. !
  468. enable secret 5 $1$ayIP$YDI6nAUvI/st.fa9G8kQH1
  469. !
  470. username smith password 0 cisco
  471. vtp domain TEST_LAB
  472. vtp mode transparent
  473. !
  474. !
  475. ip dhcp snooping vlan 10,30
  476. ip dhcp snooping
  477. ip domain-name cisco.com
  478. !
  479. errdisable recovery cause psecure-violation
  480. errdisable recovery interval 30
  481. !
  482. spanning-tree mode mst
  483. spanning-tree portfast default
  484. spanning-tree extend system-id
  485. !
  486. spanning-tree mst configuration
  487. name TEST_LAB
  488. instance 1 vlan 10, 20
  489. instance 2 vlan 30, 199
  490. !
  491. !
  492. vlan internal allocation policy ascending
  493. !
  494. vlan 10
  495. name Student
  496. !
  497. vlan 12
  498. name EXECUTIVES
  499. !
  500. vlan 20
  501. name Voice
  502. !
  503. vlan 30
  504. name Faculty
  505. !
  506. vlan 199
  507. name Management
  508. !
  509. vlan 777
  510. name NATIVE_VLAN
  511. !
  512. vlan 900
  513. name Parking_Lot
  514. !
  515. ip ssh version 2
  516. interface Port-channel1
  517. switchport trunk native vlan 777
  518. switchport trunk allowed vlan 10,20,30,199
  519. switchport mode trunk
  520. switchport nonegotiate
  521. ip dhcp snooping trust
  522. !
  523. interface Port-channel2
  524. switchport trunk native vlan 777
  525. switchport trunk allowed vlan 10,20,30,199
  526. switchport mode trunk
  527. switchport nonegotiate
  528. ip dhcp snooping trust
  529. !
  530. interface FastEthernet0/1
  531. switchport access vlan 900
  532. switchport mode access
  533. shutdown
  534. !
  535. interface FastEthernet0/2
  536. switchport access vlan 900
  537. switchport mode access
  538. shutdown
  539. !
  540. interface FastEthernet0/3
  541. switchport access vlan 900
  542. switchport mode access
  543. shutdown
  544. !
  545. interface FastEthernet0/4
  546. switchport access vlan 900
  547. switchport mode access
  548. shutdown
  549. !
  550. interface FastEthernet0/5
  551. switchport access vlan 900
  552. switchport mode access
  553. shutdown
  554. !
  555. interface FastEthernet0/6
  556. switchport access vlan 10
  557. switchport mode access
  558. switchport port-security maximum 2
  559. switchport port-security
  560. switchport port-security mac-address sticky
  561. switchport port-security mac-address sticky 000c.29e0.5091
  562. switchport port-security mac-address sticky 001b.2171.e081
  563. spanning-tree portfast ip dhcp snooping limit rate 10
  564. !
  565. interface FastEthernet0/7
  566. switchport trunk native vlan 777
  567. switchport trunk allowed vlan 10,20,30,199
  568. switchport mode trunk
  569. switchport nonegotiate
  570. channel-group 1 mode active
  571. ip dhcp snooping trust
  572. !
  573. interface FastEthernet0/8
  574. switchport trunk native vlan 777
  575. switchport trunk allowed vlan 10,20,30,199
  576. switchport mode trunk
  577. switchport nonegotiate
  578. channel-group 1 mode active
  579. ip dhcp snooping trust
  580. !
  581. interface FastEthernet0/9
  582. switchport trunk native vlan 777
  583. switchport trunk allowed vlan 10,20,30,199
  584. switchport mode trunk
  585. switchport nonegotiate
  586. channel-group 2 mode active
  587. ip dhcp snooping trust
  588. !
  589. interface FastEthernet0/10
  590. switchport trunk native vlan 777
  591. switchport trunk allowed vlan 10,20,30,199
  592. switchport mode trunk
  593. switchport nonegotiate
  594. hannel-group 2 mode active
  595. ip dhcp snooping trust
  596. !
  597. interface FastEthernet0/11
  598. switchport access vlan 900
  599. switchport mode access
  600. shutdown
  601. !
  602. interface FastEthernet0/12
  603. switchport access vlan 900
  604. switchport mode access
  605. shutdown
  606. !
  607. interface FastEthernet0/13
  608. switchport access vlan 900
  609. switchport mode access
  610. shutdown
  611. !
  612. interface FastEthernet0/14
  613. switchport access vlan 900
  614. switchport mode access
  615. shutdown
  616. !
  617. interface FastEthernet0/15
  618. switchport access vlan 900
  619. switchport mode access
  620. shutdown
  621. !
  622. interface FastEthernet0/16
  623. switchport access vlan 900
  624. switchport mode access
  625. shutdown
  626. interface FastEthernet0/17
  627. switchport access vlan 900
  628. switchport mode access
  629. shutdown
  630. !
  631. interface FastEthernet0/18
  632. switchport access vlan 900
  633. switchport mode access
  634. shutdown
  635. !
  636. interface FastEthernet0/19
  637. switchport access vlan 900
  638. switchport mode access
  639. shutdown
  640. !
  641. interface FastEthernet0/20
  642. switchport access vlan 900
  643. switchport mode access
  644. shutdown
  645. !
  646. interface FastEthernet0/2
  647. switchport access vlan 900
  648. switchport mode access
  649. shutdown
  650. !
  651. interface FastEthernet0/22
  652. switchport access vlan 900
  653. switchport mode access
  654. shutdown
  655. !
  656. interface FastEthernet0/23
  657. switchport access vlan 900
  658. switchport mode access
  659. shutdown
  660. !
  661. interface FastEthernet0/24
  662. switchport access vlan 900
  663. switchport mode access
  664. shutdown
  665. !
  666. interface GigabitEthernet0/1
  667. switchport access vlan 900
  668. switchport mode access
  669. shutdown
  670. !
  671. interface GigabitEthernet0/2
  672. switchport access vlan 900
  673. switchport mode access
  674. shutdown
  675. !
  676. interface Vlan1
  677. no ip address
  678. shutdown
  679. !
  680. interface Vlan199
  681.  
  682. ip address 10.10.199.4 255.255.255.0
  683. ip default-gateway 10.10.199.1
  684. ip http server
  685. ip http secure-server
  686. access-list 10 permit 10.10.199.0 0.0.0.255
  687. !
  688. !
  689. line con 0
  690. line vty 0 4
  691. access-class 10 in
  692. password cisco
  693. login local
  694. transport input ssh
  695. line vty 5 15
  696. login
  697. !
  698. End
  699.  
  700. Switch ALS2
  701. hostname ALS2
  702. !
  703. enable secret 5 $1$tIDp$YoXHrUs/A0oq2FqjiEjC9.
  704. !
  705. username smith password 0 cisco
  706. no aaa new-model
  707. system mtu routing 1500
  708. vtp domain TEST_LAB
  709. vtp mode transparent
  710. !
  711. !
  712. ip dhcp snooping vlan 10,30
  713. ip dhcp snooping
  714. ip domain-name cisco.com
  715. !
  716. !
  717. spanning-tree mode mst
  718. spanning-tree portfast default
  719. spanning-tree extend system-id
  720. !
  721. spanning-tree mst configuration
  722. name TEST_LAB
  723. instance 1 vlan 10, 20
  724. instance 2 vlan 30, 199
  725. !
  726. !
  727. vlan internal allocation policy ascending
  728. !
  729. vlan 10
  730. name Student
  731. !
  732. vlan 20
  733. name Voice
  734. !
  735. vlan 30
  736. name Faculty
  737. !
  738. vlan 199
  739. name Management
  740. !
  741. vlan 777
  742. name NATIVE_VLAN
  743. !
  744. vlan 900
  745. name Parking_Lot
  746. !
  747. ip ssh version 2
  748. !
  749. interface Port-channel1
  750. switchport trunk native vlan 777
  751. switchport trunk allowed vlan 10,20,30,199
  752. switchport mode trunk
  753. switchport nonegotiate
  754. ip dhcp snooping trust
  755. !
  756. interface Port-channel2
  757. switchport trunk native vlan 777
  758. switchport trunk allowed vlan 10,20,30,199
  759. switchport mode trunk
  760. switchport nonegotiate
  761. ip dhcp snooping trust
  762. !
  763. interface FastEthernet0/1
  764. switchport access vlan 900
  765. switchport mode access
  766. shutdown
  767. !
  768. interface FastEthernet0/2
  769. switchport access vlan 900
  770. switchport mode access
  771. shutdown
  772. !
  773. interface FastEthernet0/3
  774. switchport access vlan 900
  775. switchport mode access
  776. shutdown
  777. !
  778. interface FastEthernet0/4
  779. switchport access vlan 900
  780. switchport mode access
  781. shutdown
  782. !
  783. interface FastEthernet0/5
  784. switchport access vlan 900
  785. switchport mode access
  786. shutdown
  787. !
  788. interface FastEthernet0/6
  789. switchport access vlan 30
  790. switchport mode access
  791. spanning-tree portfast
  792. !
  793. interface FastEthernet0/7
  794. switchport trunk native vlan 777
  795. switchport trunk allowed vlan 10,20,30,199
  796. switchport mode trunk
  797. switchport nonegotiate
  798. channel-group 1 mode active
  799. ip dhcp snooping trust
  800. !
  801. interface FastEthernet0/8
  802. switchport trunk native vlan 777
  803. switchport trunk allowed vlan 10,20,30,199
  804. switchport mode trunk
  805. switchport nonegotiate
  806. channel-group 1 mode active
  807. ip dhcp snooping trust
  808. !
  809. interface FastEthernet0/9
  810. switchport trunk native vlan 777
  811. switchport trunk allowed vlan 10,20,30,199
  812. switchport mode trunk
  813. switchport nonegotiate
  814. channel-group 2 mode active
  815. ip dhcp snooping trust
  816. !
  817. interface FastEthernet0/10
  818. switchport trunk native vlan 777
  819. switchport trunk allowed vlan 10,20,30,199
  820. switchport mode trunk
  821. switchport nonegotiate
  822. channel-group 2 mode active
  823. ip dhcp snooping trust
  824. !
  825. interface FastEthernet0/11
  826. switchport access vlan 900
  827. switchport mode access
  828. shutdown
  829. !
  830. interface FastEthernet0/12
  831. switchport access vlan 900
  832. switchport mode access
  833. shutdown
  834. !
  835. interface FastEthernet0/13
  836. switchport access vlan 900
  837. switchport mode access
  838. shutdown
  839. !
  840. interface FastEthernet0/14
  841. switchport access vlan 900
  842. switchport mode access
  843. shutdown
  844. !
  845. interface FastEthernet0/15
  846. switchport access vlan 900
  847. switchport mode access
  848. shutdown
  849. !
  850. interface FastEthernet0/16
  851. switchport access vlan 900
  852. switchport mode access
  853. shutdown
  854. !
  855. interface FastEthernet0/17
  856. switchport access vlan 900
  857. switchport mode access
  858. shutdown
  859. !
  860. interface FastEthernet0/18
  861. switchport access vlan 900
  862. switchport mode access
  863. shutdown
  864. !
  865. interface FastEthernet0/19
  866. switchport access vlan 900
  867. switchport mode access
  868. shutdown
  869. !
  870. interface FastEthernet0/20
  871. switchport access vlan 900
  872. switchport mode access
  873. shutdown
  874. !
  875. interface FastEthernet0/21
  876. switchport access vlan 900
  877. switchport mode access
  878. shutdown
  879. !
  880. interface FastEthernet0/22
  881. switchport access vlan 900
  882. switchport mode access
  883. shutdown
  884. !
  885. interface FastEthernet0/23
  886. switchport access vlan 900
  887. switchport mode access
  888. shutdown
  889. !
  890. interface FastEthernet0/24
  891. switchport access vlan 900
  892. switchport mode access
  893. shutdown
  894. !
  895. interface GigabitEthernet0/1
  896. switchport access vlan 900
  897. switchport mode access
  898. shutdown
  899. !
  900. interface GigabitEthernet0/2
  901. switchport access vlan 900
  902. switchport mode access
  903. shutdown
  904. !
  905. interface Vlan1
  906. no ip address
  907. shutdown
  908. !
  909. interface Vlan199
  910. ip address 10.10.199.5 255.255.255.0
  911. !
  912. ip default-gateway 10.10.199.1
  913. ip http server
  914. ip http secure-server
  915. access-list 10 permit 10.10.199.0 0.0.0.255
  916. !
  917. !
  918. line con 0 line
  919. vty 0 4
  920. access-class 10 in
  921. password cisco
  922. login local
  923. transport input ssh
  924. line vty 5 15
  925. login
  926. !
  927. End
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement