Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Switch
!
aaa new-model
aaa authentication login default group tacacs+ LOGIN认证
aaa authentication enable default none 免ENABLE密码
aaa authorization commands 15 default group tacacs+ 授权级别
aaa accounting commands 15 default start-stop group tacacs+ 记帐
!
ip subnet-zero
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface VLAN1
ip address 172.16.10.250 255.255.255.0
no ip directed-broadcast
no ip route-cache
!
tacacs-server host 172.16.10.10 服务器地址
tacacs-server key 123 效验KEY
!
line con 0
transport input none
stopbits 1
line vty 5 15
!