Advertisement
Guest User

Untitled

a guest
Jun 4th, 2013
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.89 KB | None | 0 0
  1. !
  2. hostname sw1.xxx
  3. !
  4. username xxxx secret 5xxxx
  5. aaa new-model
  6. !
  7. aaa authentication login default group tacacs+ local
  8. aaa authentication login CONSOLE group tacacs+ local
  9. aaa authentication enable default group tacacs+ enable
  10. aaa authorization exec default group tacacs+ local
  11. aaa authorization commands 0 default group tacacs+ local
  12. aaa authorization commands 4 default group tacacs+ local
  13. aaa authorization commands 15 default group tacacs+ local
  14. !
  15. aaa session-id common
  16. system mtu routing 1500
  17. ip subnet-zero
  18. !
  19. ip domain-name xxxx
  20. !
  21. !
  22. crypto key generate rsa
  23. ip ssh version 2
  24. !
  25. interface FastEthernet1/0/1
  26.  
  27. !
  28. interface FastEthernet1/0/2
  29. !
  30. interface FastEthernet1/0/3
  31. description span.xxx:ipmi
  32. switchport access vlan 10
  33. switchport mode access
  34. spanning-tree portfast
  35. !
  36. !
  37. interface Gi1/0/3
  38. description Trunk to rtr1.
  39. switchport trunk allowed vlan 10
  40. switchport mode trunk
  41. switchport nonegotiate
  42. !
  43. !
  44. interface Vlan1
  45. no ip address
  46. no ip route-cache
  47. !
  48. interface Vlan10
  49. ip address x.x.x.x 255.255.255.0
  50. no ip route-cache
  51. !
  52. ip default-gateway y.y.y.y
  53. no ip http server
  54. no ip http secure-server
  55. logging trap notifications
  56. logging source-interface Vlan10
  57. logging x.x.x.x
  58. access-list 22 remark SSH access list
  59. access-list 22 permit x.x.x.x 0.0.0.255
  60. access-list 22 deny any log
  61.  
  62. snmp-server community xxxx RO
  63. snmp-server location xx
  64. snmp-server contact noxc@xxx.com
  65.  
  66. tacacs-server host x.x.x.x
  67. tacacs-server timeout 2
  68. tacacs-server directed-request
  69. tacacs-server key key 7 <removed this >
  70. !
  71. control-plane
  72. !
  73. !
  74. line con 0
  75. session-timeout 60
  76. exec-timeout 60 0
  77. login authentication CONSOLE
  78. line vty 0 4
  79. session-timeout 60
  80. access-class 22 in
  81. exec-timeout 60 9
  82. history size 256
  83. transport input ssh
  84. line vty 5 15
  85. session-timeout 60
  86. access-class 22 in
  87. exec-timeout 60 9
  88. history size 256
  89. transport input ssh
  90. !
  91. ntp server x.x.x.x
  92. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement