思科配置常用命令
网络8年前 (2015-07-22)
conf t
en conf t no ip domain-lookup line console 0 no exec-t logg s exit hostname r
SDM
ip http server ip http secure-server ip http authentication local username admin privilege 15 password admin line vty 0 4 login local transport input ssh transport output ssh exit interface e1/0 ip add 1.1.1.2 255.255.255.0 no sh
security
no cdp run no boot network no ftp-server enable no service tcp-small-servers no service udp-small-servers no service finger no service dhcp no service pad no service config no ip finger no ip identd no ip source-route no ip bootp server no ip domain lookup no ip gratuitous-arps no ip http server no ip http secure-server no ip bootp server no snmp-server community public RO no snmp-server community privatc RW no snmp-server enable traps no snmp-server system-shutdown no snmp-server trap-authentication no snmp-server service tcp-keepalives-in service tcp-keepalives-out service password-encryption service sequence-numbers service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone security authentication failure rate 3 log security passwords min-length 8 logging buffered 51200 debugging logging console critical int null 0 no ip unreachables int e1/0 no ip redirects no ip unreachables no ip proxy-arp ip route-cache flow
SSH
ip domain-name www.cisco.com username admin pri 15 password admin ip ssh time-out 60 crypto key generate rsa
本站所有文章均可随意转载,转载时请保留原文链接及作者。