Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !
- hostname sw1.xxx
- !
- username xxxx secret 5xxxx
- aaa new-model
- !
- aaa authentication login default group tacacs+ local
- aaa authentication login CONSOLE group tacacs+ local
- aaa authentication enable default group tacacs+ enable
- aaa authorization exec default group tacacs+ local
- aaa authorization commands 0 default group tacacs+ local
- aaa authorization commands 4 default group tacacs+ local
- aaa authorization commands 15 default group tacacs+ local
- !
- aaa session-id common
- system mtu routing 1500
- ip subnet-zero
- !
- ip domain-name xxxx
- !
- !
- crypto key generate rsa
- ip ssh version 2
- !
- interface FastEthernet1/0/1
- !
- interface FastEthernet1/0/2
- !
- interface FastEthernet1/0/3
- description span.xxx:ipmi
- switchport access vlan 10
- switchport mode access
- spanning-tree portfast
- !
- !
- interface Gi1/0/3
- description Trunk to rtr1.
- switchport trunk allowed vlan 10
- switchport mode trunk
- switchport nonegotiate
- !
- !
- interface Vlan1
- no ip address
- no ip route-cache
- !
- interface Vlan10
- ip address x.x.x.x 255.255.255.0
- no ip route-cache
- !
- ip default-gateway y.y.y.y
- no ip http server
- no ip http secure-server
- logging trap notifications
- logging source-interface Vlan10
- logging x.x.x.x
- access-list 22 remark SSH access list
- access-list 22 permit x.x.x.x 0.0.0.255
- access-list 22 deny any log
- snmp-server community xxxx RO
- snmp-server location xx
- snmp-server contact noxc@xxx.com
- tacacs-server host x.x.x.x
- tacacs-server timeout 2
- tacacs-server directed-request
- tacacs-server key key 7 <removed this >
- !
- control-plane
- !
- !
- line con 0
- session-timeout 60
- exec-timeout 60 0
- login authentication CONSOLE
- line vty 0 4
- session-timeout 60
- access-class 22 in
- exec-timeout 60 9
- history size 256
- transport input ssh
- line vty 5 15
- session-timeout 60
- access-class 22 in
- exec-timeout 60 9
- history size 256
- transport input ssh
- !
- ntp server x.x.x.x
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement