device.tmpl 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. service nagle
  2. no service pad
  3. service tcp-keepalives-in
  4. service tcp-keepalives-out
  5. service timestamps debug datetime msec localtime show-timezone
  6. service timestamps log datetime msec localtime show-timezone
  7. service password-encryption
  8. !
  9. hostname %%HOSTNAME%%
  10. !
  11. boot-start-marker
  12. boot-end-marker
  13. !
  14. !
  15. !
  16. logging count
  17. logging buffered 32768
  18. !
  19. username admin privilege 15 secret 5 %%ADMIN_SECRET%%
  20. aaa new-model
  21. !
  22. !
  23. aaa group server tacacs+ ACS
  24. server-private 63.231.220.18 key 7 %%TACACS_KEY%%
  25. server-private 63.231.220.19 key 7 %%TACACS_KEY%%
  26. ip tacacs source-interface %%MGMT_VLAN%%
  27. !
  28. aaa authentication login default group ACS local
  29. aaa authentication enable default group ACS enable
  30. aaa authorization exec default group ACS if-authenticated
  31. !
  32. !
  33. !
  34. !
  35. !
  36. aaa session-id common
  37. clock timezone PST -8 0
  38. clock summer-time PDT recurring
  39. %%STACK_CONFIG%%
  40. system mtu routing 1500
  41. no ip source-route
  42. ip icmp rate-limit unreachable 20
  43. ip options drop
  44. ip dhcp relay information trust-all
  45. !
  46. !
  47. !
  48. ip dhcp snooping vlan 2-4094
  49. ip dhcp snooping information option allow-untrusted
  50. ip dhcp snooping information option format remote-id hostname
  51. ip dhcp snooping
  52. no ip domain-lookup
  53. ip domain-name noc.ciscolive.com
  54. login on-failure log
  55. vtp domain %%VTP_DOMAIN%%
  56. vtp mode transparent
  57. !
  58. ipv6 nd raguard policy uplink-policy
  59. device-role router
  60. trusted-port
  61. !
  62. !
  63. mls qos
  64. !
  65. energywise domain %%EW_DOMAIN%% security shared-secret 0 %%EW_SHARED_SECRET%% protocol udp port 43440 interface %%MGMT_VLAN%%
  66. energywise role %%EW_ROLE%%
  67. energywise management security shared-secret 0 %%EW_MGMT_SHARED_SECRET%%
  68. energywise keywords %%EW_KEYWORDS%%
  69. energywise allow query save
  70. !
  71. energywise endpoint security none
  72. !
  73. !
  74. !
  75. !
  76. !
  77. !
  78. spanning-tree mode rapid-pvst
  79. spanning-tree extend system-id
  80. spanning-tree vlan 1-4094 priority 61440
  81. !
  82. !
  83. !
  84. !
  85. !
  86. errdisable recovery cause udld
  87. errdisable recovery cause bpduguard
  88. errdisable recovery cause psecure-violation
  89. errdisable recovery cause storm-control
  90. errdisable recovery cause inline-power
  91. errdisable recovery interval 30
  92. !
  93. !
  94. !
  95. !
  96. vlan internal allocation policy ascending
  97. !
  98. %%VLAN_TMPL%%
  99. !
  100. !
  101. ip tcp selective-ack
  102. ip tcp window-size 65535
  103. ip tcp queuemax 50
  104. ip tcp synwait-time 5
  105. ip tcp path-mtu-discovery age-timer 10
  106. ip telnet source-interface %%MGMT_VLAN%%
  107. ip ftp source-interface %%MGMT_VLAN%%
  108. ip ssh source-interface %%MGMT_VLAN%%
  109. ip ssh logging events
  110. ip ssh version 2
  111. ip ssh dscp 48
  112. lldp run
  113. !
  114. !
  115. %%PORT_CONFIG%%
  116. !
  117. interface Vlan1
  118. no ip address
  119. no ip route-cache
  120. shutdown
  121. !
  122. interface %%MGMT_VLAN%%
  123. ip address %%MGMT_IP%% %%MGMT_MASK%%
  124. no ip redirects
  125. no ip unreachables
  126. no ip proxy-arp
  127. no ip route-cache
  128. no ipv6 redirects
  129. no ipv6 unreachables
  130. !
  131. ip default-gateway %%MGMT_GW%%
  132. !
  133. no ip http server
  134. no ip http secure-server
  135. !
  136. !
  137. ip access-list standard MGMT
  138. permit 63.231.220.0 0.0.0.127
  139. permit 10.101.0.0 0.0.255.255
  140. permit 10.63.231.0 0.0.0.255
  141. permit 10.111.0.0 0.0.255.255
  142. permit 10.112.0.0 0.0.255.255
  143. permit 10.113.0.0 0.0.255.255
  144. permit 10.114.0.0 0.0.255.255
  145. permit 10.121.0.0 0.0.255.255
  146. permit 10.102.0.0 0.0.255.255
  147. permit 10.103.0.0 0.0.255.255
  148. permit 10.104.0.0 0.0.255.255
  149. !
  150. ip sla responder
  151. ip sla enable reaction-alerts
  152. logging trap debugging
  153. logging source-interface %%MGMT_VLAN%%
  154. logging 63.231.220.47
  155. cdp timer 5
  156. cdp holdtime 15
  157. !
  158. !
  159. snmp-server group CLNOC v3 priv write v1default notify v1default access MGMT
  160. snmp-server group CLNOC v3 priv context vlan- match prefix access MGMT
  161. snmp-server user %%SNMPV3_USER%% CLNOC v3 auth sha %%SNMPV3_PASS%% priv des %%SNMPV3_PASS%% access MGMT
  162. snmp-server trap-source %%MGMT_VLAN%%
  163. snmp-server system-shutdown
  164. snmp-server location %%SNMP_LOCATION%%
  165. snmp-server contact ciscolivenoc@cisco.com
  166. snmp ifmib ifindex persist
  167. !
  168. !
  169. !
  170. banner login &
  171. ##############################################################
  172. ## Hostname: $(hostname) ##
  173. ## ##
  174. ## Cisco Live 2015 Team ##
  175. ## ##
  176. ## UNAUTHORIZED ACCESS IS PROHIBITED ##
  177. ## ##
  178. ## All sessions to this device are being monitored. ##
  179. ## If unauthorized access is detected, your address ##
  180. ## will be logged and the authorities will be ##
  181. ## notified to take appropriate actions. ##
  182. ## ##
  183. ## If you require access to this device please ##
  184. ## email the NOC team on ciscolivenoc@cisco.com ##
  185. ## ##
  186. ## For urgent issues contact: ##
  187. ## - Joe Clarke +1-919-345-5369 ##
  188. ## ##
  189. ##############################################################
  190. &
  191. !
  192. !
  193. line con 0
  194. logging synchronous
  195. privilege level 15
  196. line vty 0 4
  197. access-class MGMT in
  198. logging synchronous
  199. exec prompt timestamp
  200. privilege level 15
  201. transport input telnet ssh
  202. transport output telnet ssh
  203. line vty 5 15
  204. access-class MGMT in
  205. logging synchronous
  206. exec prompt timestamp
  207. privilege level 15
  208. transport input telnet ssh
  209. transport output telnet ssh
  210. !
  211. event manager scheduler applet thread class default number 8
  212. %%EEM_CONFIG%%
  213. !
  214. no exception crashinfo
  215. ntp server 63.231.220.15 source %%MGMT_VLAN%%