Advertisement
Guest User

Untitled

a guest
Dec 18th, 2023
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.76 KB | None | 0 0
  1. hexin#show run
  2. !
  3. no service password-encryption
  4. !
  5. hostname hexin
  6. !
  7. web language english
  8. !
  9. service dhcp
  10. !
  11. ip forward-protocol udp bootps
  12. !
  13. !
  14. !
  15. !
  16. !
  17. !
  18. Interface Ethernet0
  19. !
  20. loopback-detection interval-time 35 15
  21. !
  22. loopback-detection control-recovery timeout 300
  23. !
  24. !
  25. vlan 1-23;30;55-56;70;100;397
  26. !
  27. ip access-list extended to85
  28. permit ip 10.0.4.0 0.0.0.255 any-destination
  29. permit ip any-source 10.0.4.0 0.0.0.255
  30. exit
  31. ip access-list extended to84
  32. permit ip any-source any-destination
  33. deny ip 10.0.4.0 0.0.0.255 any-destination
  34. exit
  35. !
  36. class-map to84
  37. match access-group to84
  38. !
  39. class-map to85
  40. match access-group to85
  41. !
  42. policy-map to85
  43. class to85
  44. set ip nexthop 11.0.0.1
  45. exit
  46. !
  47. policy-map to84
  48. class to84
  49. set ip nexthop 10.0.3.254
  50. exit
  51. !
  52. Interface Ethernet1/1
  53. switchport access vlan 3
  54. loopback-detection specified-vlan 3
  55. loopback-detection control shutdown
  56. !
  57. Interface Ethernet1/2
  58. switchport access vlan 15
  59. loopback-detection specified-vlan 15
  60. loopback-detection control shutdown
  61. !
  62. Interface Ethernet1/3
  63. switchport mode trunk
  64. !
  65. Interface Ethernet1/4
  66. switchport mode trunk
  67. !
  68. Interface Ethernet1/5
  69. switchport mode trunk
  70. !
  71. Interface Ethernet1/6
  72. switchport mode trunk
  73. !
  74. Interface Ethernet1/7
  75. !
  76. Interface Ethernet1/8
  77. !
  78. Interface Ethernet1/9
  79. !
  80. Interface Ethernet1/10
  81. switchport access vlan 9
  82. loopback-detection specified-vlan 4
  83. loopback-detection control shutdown
  84. !
  85. Interface Ethernet1/11
  86. switchport access vlan 22
  87. loopback-detection specified-vlan 22
  88. loopback-detection control shutdown
  89. !
  90. Interface Ethernet1/12
  91. switchport access vlan 4
  92. loopback-detection specified-vlan 4
  93. loopback-detection control shutdown
  94. !
  95. Interface Ethernet1/13
  96. switchport access vlan 3
  97. loopback-detection specified-vlan 3
  98. loopback-detection control shutdown
  99. !
  100. Interface Ethernet1/14
  101. switchport mode trunk
  102. !
  103. Interface Ethernet1/15
  104. switchport mode trunk
  105. switchport trunk allowed vlan 8
  106. loopback-detection specified-vlan 8
  107. loopback-detection control shutdown
  108. !
  109. Interface Ethernet1/16
  110. switchport access vlan 3
  111. loopback-detection specified-vlan 3
  112. loopback-detection control shutdown
  113. !
  114. Interface Ethernet1/17
  115. switchport access vlan 4
  116. loopback-detection specified-vlan 4
  117. loopback-detection control shutdown
  118. !
  119. Interface Ethernet1/18
  120. switchport access vlan 4
  121. loopback-detection specified-vlan 4
  122. loopback-detection control shutdown
  123. !
  124. Interface Ethernet1/19
  125. switchport access vlan 4
  126. loopback-detection specified-vlan 4
  127. loopback-detection control shutdown
  128. !
  129. Interface Ethernet1/20
  130. switchport access vlan 4
  131. loopback-detection specified-vlan 4
  132. loopback-detection control shutdown
  133. !
  134. Interface Ethernet1/21
  135. switchport access vlan 4
  136. loopback-detection specified-vlan 4
  137. loopback-detection control shutdown
  138. !
  139. Interface Ethernet1/22
  140. switchport access vlan 4
  141. loopback-detection specified-vlan 4
  142. loopback-detection control shutdown
  143. !
  144. Interface Ethernet1/23
  145. switchport access vlan 10
  146. loopback-detection specified-vlan 10
  147. loopback-detection control shutdown
  148. !
  149. Interface Ethernet1/24
  150. switchport access vlan 4
  151. loopback-detection specified-vlan 4
  152. loopback-detection control shutdown
  153. !
  154. Interface Ethernet5/1
  155. switchport mode trunk
  156. !
  157. Interface Ethernet5/2
  158. switchport mode trunk
  159. !
  160. Interface Ethernet5/3
  161. switchport mode trunk
  162. !
  163. Interface Ethernet5/4
  164. switchport mode trunk
  165. !
  166. Interface Ethernet5/5
  167. switchport mode trunk
  168. !
  169. Interface Ethernet5/6
  170. switchport mode trunk
  171. !
  172. Interface Ethernet5/7
  173. switchport mode trunk
  174. !
  175. Interface Ethernet5/8
  176. switchport mode trunk
  177. !
  178. Interface Ethernet5/9
  179. switchport mode trunk
  180. !
  181. Interface Ethernet5/10
  182. switchport mode trunk
  183. !
  184. Interface Ethernet5/11
  185. switchport access vlan 4
  186. loopback-detection specified-vlan 4
  187. loopback-detection control shutdown
  188. !
  189. Interface Ethernet5/12
  190. !
  191. Interface Ethernet5/13
  192. flow control
  193. rate-violation 300000
  194. switchport mode trunk
  195. !
  196. Interface Ethernet5/14
  197. switchport mode trunk
  198. !
  199. Interface Ethernet5/15
  200. switchport mode trunk
  201. !
  202. Interface Ethernet5/16
  203. switchport mode trunk
  204. !
  205. Interface Ethernet5/17
  206. switchport mode trunk
  207. !
  208. Interface Ethernet5/18
  209. switchport mode trunk
  210. !
  211. Interface Ethernet5/19
  212. switchport mode trunk
  213. !
  214. Interface Ethernet5/20
  215. switchport mode trunk
  216. !
  217. Interface Ethernet5/21
  218. switchport mode trunk
  219. !
  220. Interface Ethernet5/22
  221. switchport access vlan 9
  222. loopback-detection specified-vlan 9
  223. loopback-detection control shutdown
  224. !
  225. Interface Ethernet5/23
  226. switchport mode trunk
  227. !
  228. Interface Ethernet5/24
  229. switchport access vlan 4
  230. loopback-detection specified-vlan 4
  231. loopback-detection control shutdown
  232. !
  233. interface Vlan1
  234. ip address 10.0.1.2 255.255.255.0
  235. !
  236. interface Vlan2
  237. ip address 10.0.2.2 255.255.255.0
  238. !
  239. interface Vlan3
  240. ip address 10.0.3.2 255.255.255.0
  241. !
  242. interface Vlan4
  243. ip address 10.0.4.2 255.255.255.0
  244. !
  245. interface Vlan5
  246. ip address 10.0.5.2 255.255.255.0
  247. !
  248. interface Vlan6
  249. ip address 10.0.6.2 255.255.255.0
  250. !
  251. interface Vlan7
  252. ip address 10.0.7.2 255.255.255.0
  253. !
  254. interface Vlan8
  255. ip address 10.0.8.2 255.255.255.0
  256. !forward protocol udp 67(active)!
  257. ip helper-address 10.0.1.8
  258. shutdown
  259. !
  260. interface Vlan9
  261. ip address 10.0.9.2 255.255.255.0
  262. shutdown
  263. !
  264. interface Vlan10
  265. ip address 10.0.10.2 255.255.255.0
  266. !
  267. interface Vlan11
  268. ip address 10.0.11.2 255.255.255.0
  269. !
  270. interface Vlan12
  271. ip address 10.0.12.2 255.255.255.0
  272. !
  273. interface Vlan13
  274. ip address 10.0.13.2 255.255.255.0
  275. !forward protocol udp 67(active)!
  276. ip helper-address 10.0.1.8
  277. !
  278. interface Vlan14
  279. ip address 10.0.14.2 255.255.255.0
  280. !
  281. interface Vlan15
  282. ip address 10.0.15.2 255.255.255.0
  283. !
  284. interface Vlan16
  285. ip address 10.0.16.2 255.255.255.0
  286. !
  287. interface Vlan17
  288. ip address 10.0.17.2 255.255.255.0
  289. !
  290. interface Vlan18
  291. ip address 10.0.18.2 255.255.255.0
  292. !
  293. interface Vlan19
  294. ip address 10.0.19.2 255.255.255.0
  295. !
  296. interface Vlan20
  297. ip address 10.0.20.2 255.255.255.0
  298. !
  299. interface Vlan21
  300. ip address 10.0.21.2 255.255.255.0
  301. !
  302. interface Vlan22
  303. ip address 10.0.22.2 255.255.255.0
  304. !
  305. interface Vlan30
  306. ip address 10.0.30.2 255.255.255.0
  307. !
  308. interface Vlan100
  309. ip address 11.0.0.2 255.255.255.0
  310. !
  311. ip route 0.0.0.0/0 10.0.3.254 5
  312. ip route 10.0.1.99/32 10.0.9.28
  313. ip route 10.0.50.0/24 10.0.9.28
  314. ip route 10.0.51.0/24 10.0.9.28
  315. ip route 10.0.52.0/24 10.0.9.28
  316. ip route 10.0.53.0/24 10.0.9.28
  317. ip route 10.0.55.0/24 10.0.9.28
  318. ip route 10.0.56.0/24 10.0.9.28
  319. ip route 10.0.61.0/24 10.0.9.28
  320. ip route 10.0.62.0/24 10.0.9.28
  321. ip route 10.0.63.0/24 10.0.9.28
  322. ip route 10.0.64.0/24 10.0.9.28
  323. ip route 10.0.65.0/24 10.0.9.28
  324. ip route 10.0.70.0/24 10.0.9.28
  325. ip route 10.0.71.0/24 10.0.9.28
  326. ip route 10.0.72.0/24 10.0.9.28
  327. ip route 10.0.73.0/24 10.0.9.28
  328. ip route 10.0.74.0/24 10.0.9.28
  329. !
  330. !
  331. no login
  332. !
  333. end
  334.  
  335.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement