Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DLS2#show run
  2. Building configuration...
  3.  
  4. Current configuration : 3770 bytes
  5. !
  6. version 12.2
  7. no service pad
  8. service timestamps debug datetime msec
  9. service timestamps log datetime msec
  10. no service password-encryption
  11. !
  12. hostname DLS2
  13. !
  14. boot-start-marker
  15. boot-end-marker
  16. !
  17. !
  18. no aaa new-model
  19. system mtu routing 1500
  20. vtp domain SWPOD
  21. vtp mode transparent
  22. udld enable
  23.  
  24. ip subnet-zero
  25. ip routing
  26. ip dhcp relay information trust-all
  27. !
  28. !
  29. !
  30. !
  31. !
  32. !
  33. !
  34. !
  35. !
  36. !
  37. spanning-tree mode pvst
  38. spanning-tree extend system-id
  39. spanning-tree vlan 1,100 priority 28672
  40. spanning-tree vlan 200 priority 24576
  41. !
  42. vlan internal allocation policy ascending
  43. !
  44. vlan 100
  45.  name Staff
  46. !
  47. vlan 150
  48.  name server-farm
  49.   private-vlan primary
  50.   private-vlan association 151-152
  51. !
  52. vlan 151
  53.   private-vlan isolated
  54. !
  55. vlan 152
  56.   private-vlan community
  57. !
  58. vlan 200
  59.  name Student
  60. !
  61. !
  62. !
  63. !
  64. interface FastEthernet0/1
  65.  udld port aggressive
  66. !
  67. interface FastEthernet0/2
  68.  udld port aggressive
  69. !
  70. interface FastEthernet0/3
  71.  udld port aggressive
  72. !
  73. interface FastEthernet0/4
  74.  udld port aggressive
  75. !
  76. interface FastEthernet0/5
  77.  udld port aggressive
  78. !
  79. interface FastEthernet0/6
  80.  switchport private-vlan host-association 150 151
  81.  switchport mode private-vlan host
  82.  udld port aggressive
  83. !
  84. interface FastEthernet0/7
  85.  switchport trunk encapsulation dot1q
  86.  switchport mode trunk
  87.  udld port aggressive
  88. !
  89. interface FastEthernet0/8
  90.  switchport trunk encapsulation dot1q
  91.  switchport mode trunk
  92.  udld port aggressive
  93. !
  94. interface FastEthernet0/9
  95.  switchport trunk encapsulation dot1q
  96.  switchport mode trunk
  97.  udld port aggressive
  98. !
  99. interface FastEthernet0/10
  100.  switchport trunk encapsulation dot1q
  101.  switchport mode trunk
  102.  udld port aggressive
  103. !
  104. interface FastEthernet0/11
  105.  switchport trunk encapsulation dot1q
  106.  switchport mode trunk
  107.  udld port aggressive
  108. !
  109. interface FastEthernet0/12
  110.  switchport trunk encapsulation dot1q
  111.  switchport mode trunk
  112.  udld port aggressive
  113. !
  114. interface FastEthernet0/13
  115.  udld port aggressive
  116.  spanning-tree guard root
  117. !
  118. interface FastEthernet0/14
  119.  udld port aggressive
  120.  spanning-tree guard root
  121. !
  122. interface FastEthernet0/15
  123.  udld port aggressive
  124. !
  125. interface FastEthernet0/16
  126.  udld port aggressive
  127. !
  128. interface FastEthernet0/17
  129.  udld port aggressive
  130. !
  131. interface FastEthernet0/18
  132.  switchport private-vlan host-association 150 152
  133.  switchport mode private-vlan host
  134.  udld port aggressive
  135. !
  136. interface FastEthernet0/19
  137.  switchport private-vlan host-association 150 152
  138.  switchport mode private-vlan host
  139.  udld port aggressive
  140. !
  141. interface FastEthernet0/20
  142.  switchport private-vlan host-association 150 152
  143.  switchport mode private-vlan host
  144.  udld port aggressive
  145. !
  146. interface FastEthernet0/21
  147.  udld port aggressive
  148. !
  149. interface FastEthernet0/22
  150.  udld port aggressive
  151. !
  152. interface FastEthernet0/23
  153.  udld port aggressive
  154. !
  155. interface FastEthernet0/24
  156.  udld port aggressive
  157. !
  158. interface GigabitEthernet0/1
  159. !
  160. interface GigabitEthernet0/2
  161. !
  162. interface Vlan1
  163.  ip address 172.16.1.4 255.255.255.0
  164.  standby 1 ip 172.16.1.1
  165.  standby 1 preempt
  166. !
  167. interface Vlan100
  168.  ip address 172.16.100.4 255.255.255.0
  169.  ip access-group 100 in
  170.  standby 1 ip 172.16.100.1
  171.  standby 1 preempt
  172. !
  173. interface Vlan150
  174.  ip address 172.16.150.4 255.255.255.0
  175.  private-vlan mapping 151-152
  176.  standby 1 ip 172.16.150.1
  177.  standby 1 preempt
  178. !
  179. interface Vlan200
  180.  ip address 172.16.200.4 255.255.255.0
  181.  ip access-group 100 in
  182.  standby 1 ip 172.16.200.1
  183.  standby 1 priority 150
  184.  standby 1 preempt
  185. !
  186. ip classless
  187. ip http server
  188. ip http secure-server
  189. !
  190. !
  191. access-list 100 permit tcp 172.16.200.0 0.0.0.255 172.16.100.0 0.0.0.255 establi
  192. shed
  193. access-list 100 permit icmp 172.16.200.0 0.0.0.255 172.16.100.0 0.0.0.255 echo-r
  194. eply
  195. access-list 100 permit icmp 172.16.200.0 0.0.0.255 172.16.100.0 0.0.0.255 echo
  196. access-list 100 deny   ip 172.16.200.0 0.0.0.255 172.16.100.0 0.0.0.255
  197. access-list 100 permit ip any any
  198. !
  199. control-plane
  200. !
  201. !
  202. line con 0
  203. line vty 5 15
  204. !
  205. end
  206.  
  207. DLS2#
  208.  
  209. ALS2#show run
  210. Building configuration...
  211.  
  212. Current configuration : 3657 bytes
  213. !
  214. version 12.2
  215. no service pad
  216. service timestamps debug datetime msec
  217. service timestamps log datetime msec
  218. no service password-encryption
  219. !
  220. hostname ALS2
  221. !
  222. boot-start-marker
  223. boot-end-marker
  224. !
  225. !
  226. !
  227. !
  228. no aaa new-model
  229. system mtu routing 1500
  230. authentication mac-move permit
  231. udld enable
  232.  
  233. ip subnet-zero
  234. !
  235. !
  236. ip dhcp snooping vlan 100,200
  237. ip dhcp snooping
  238. !
  239. !
  240. !
  241. !
  242. !
  243. !
  244. spanning-tree mode pvst
  245. spanning-tree portfast bpduguard default
  246. spanning-tree etherchannel guard misconfig
  247. spanning-tree extend system-id
  248. !
  249. vlan internal allocation policy ascending
  250. !
  251. !
  252. !
  253. interface FastEthernet0/1
  254.  udld port aggressive
  255. !
  256. interface FastEthernet0/2
  257.  udld port aggressive
  258. !
  259. interface FastEthernet0/3
  260.  udld port aggressive
  261. !
  262. interface FastEthernet0/4
  263.  udld port aggressive
  264. !
  265. interface FastEthernet0/5
  266.  udld port aggressive
  267. !
  268. interface FastEthernet0/6
  269.  udld port aggressive
  270. !
  271. interface FastEthernet0/7
  272.  switchport mode trunk
  273.  udld port aggressive
  274.  ip dhcp snooping trust
  275. !
  276. interface FastEthernet0/8
  277.  switchport mode trunk
  278.  udld port aggressive
  279.  ip dhcp snooping trust
  280. !
  281. interface FastEthernet0/9
  282.  switchport mode trunk
  283.  udld port aggressive
  284.  ip dhcp snooping trust
  285. !
  286. interface FastEthernet0/10
  287.  switchport mode trunk
  288.  udld port aggressive
  289.  ip dhcp snooping trust
  290. !
  291. interface FastEthernet0/11
  292.  switchport mode trunk
  293.  udld port aggressive
  294.  ip dhcp snooping trust
  295. !
  296. interface FastEthernet0/12
  297.  switchport mode trunk
  298.  udld port aggressive
  299.  ip dhcp snooping trust
  300. !
  301. interface FastEthernet0/13
  302.  udld port aggressive
  303.  spanning-tree guard root
  304. !
  305. interface FastEthernet0/14
  306.  udld port aggressive
  307.  spanning-tree guard root
  308. !
  309. interface FastEthernet0/15
  310.  switchport access vlan 200
  311.  switchport mode access
  312.  udld port aggressive
  313.  ip dhcp snooping limit rate 20
  314. !
  315. interface FastEthernet0/16
  316.  switchport access vlan 200
  317.  switchport mode access
  318.  switchport port-security
  319.  udld port aggressive
  320.  spanning-tree portfast
  321.  ip dhcp snooping limit rate 20
  322. !
  323. interface FastEthernet0/17
  324.  switchport access vlan 200
  325.  switchport mode access
  326.  switchport port-security
  327.  udld port aggressive
  328.  spanning-tree portfast
  329.  ip dhcp snooping limit rate 20
  330. !
  331. interface FastEthernet0/18
  332.  switchport access vlan 200
  333.  switchport mode access
  334.  switchport port-security
  335.  udld port aggressive
  336.  spanning-tree portfast
  337.  ip dhcp snooping limit rate 20
  338. !
  339. interface FastEthernet0/19
  340.  switchport access vlan 200
  341.  switchport mode access
  342.  switchport port-security
  343.  udld port aggressive
  344.  spanning-tree portfast
  345.  ip dhcp snooping limit rate 20
  346. !
  347. interface FastEthernet0/20
  348.  switchport access vlan 200
  349.  switchport mode access
  350.  switchport port-security
  351.  udld port aggressive
  352.  spanning-tree portfast
  353.  ip dhcp snooping limit rate 20
  354. !
  355. interface FastEthernet0/21
  356.  switchport access vlan 200
  357.  switchport mode access
  358.  switchport port-security
  359.  udld port aggressive
  360.  spanning-tree portfast
  361.  ip dhcp snooping limit rate 20
  362. !
  363. interface FastEthernet0/22
  364.  switchport access vlan 200
  365.  switchport mode access
  366.  switchport port-security
  367.  udld port aggressive
  368.  spanning-tree portfast
  369.  ip dhcp snooping limit rate 20
  370. !
  371. interface FastEthernet0/23
  372.  switchport access vlan 200
  373.  switchport mode access
  374.  switchport port-security
  375.  udld port aggressive
  376.  spanning-tree portfast
  377.  ip dhcp snooping limit rate 20
  378. !
  379. interface FastEthernet0/24
  380.  switchport access vlan 200
  381.  switchport mode access
  382.  switchport port-security
  383.  udld port aggressive
  384.  spanning-tree portfast
  385.  ip dhcp snooping limit rate 20
  386. !
  387. interface GigabitEthernet0/1
  388. !
  389. interface GigabitEthernet0/2
  390. !
  391. interface Vlan1
  392.  ip address 172.16.1.102 255.255.255.0
  393.  no ip route-cache
  394. !
  395. ip default-gateway 172.16.1.1
  396. ip http server
  397. ip http secure-server
  398. ip sla enable reaction-alerts
  399. !
  400. line con 0
  401. line vty 5 15
  402. !
  403. end
  404.  
  405. ALS2#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement