arvinjing 发表于 2018-1-5 17:39
如果用的是本地用户名和密码,可以使用
aaa local authentication attempts max-fail 3
如果使用的是rad ...
这个命令我敲了但是不生效啊
下面是我的配置
hostname cisco
domain-name cisco
enable password 8Ry2YjIyt7RRXU24 encrypted
names
!
interface GigabitEthernet0/0
nameif outside
security-level 0
ip address 192.168.1.1 255.255.255.0
!
interface GigabitEthernet0/1
nameif inside
security-level 100
ip address 100.0.0.1 255.255.255.0
!
interface GigabitEthernet0/2
shutdown
no nameif
no security-level
no ip address
!
interface GigabitEthernet0/3
shutdown
no nameif
no security-level
no ip address
!
interface Management0/0
shutdown
no nameif
no security-level
no ip address
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
dns server-group DefaultDNS
domain-name cisco
access-list ssl-acl standard permit 192.168.1.0 255.255.255.0
pager lines 24
mtu outside 1500
mtu inside 1500
ip local pool ssl-pool 100.0.0.2-100.0.0.10
no failover
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout uauth 0:05:00 absolute
dynamic-access-policy-record DfltAccessPolicy
aaa local authentication attempts max-fail 2
aaa authentication listener https outside port https redirect
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0
threat-detection basic-threat
threat-detection statistics access-list
webvpn
enable outside
default-idle-timeout 60
tunnel-group-list enable
error-recovery disable
group-policy ssl-policy internal
group-policy ssl-policy attributes
vpn-tunnel-protocol svc webvpn
split-tunnel-policy tunnelspecified
split-tunnel-network-list value ssl-acl
webvpn
svc ask enable
username cisco password 3USUcOPFUiMCO4Jk encrypted
tunnel-group ssl-group type remote-access
tunnel-group ssl-group general-attributes
address-pool ssl-pool
default-group-policy ssl-policy
tunnel-group ssl-group webvpn-attributes
group-alias cisco enable
!
!
prompt hostname context
Cryptochecksum:d2c79b105331e5d309fdd3a7f50b8d30