|
password all
|
|
configure terminal
|
||
|
crypto key generate ssh
|
||
|
ip ssh
|
||
|
no telnet
|
|
sntp server x.x.x.x
|
alternatively: sntp server priority 1 x.x.x.x
|
|
sntp unicast
|
|
|
sntp 720
|
|
|
timesync sntp
|
|
|
ip ssh filetransfer
|
enable sftp & scp
|
|
no tftp server
|
|
|
no tftp client
|
|
|
management-vlan x
|
can be either VLAN number or name
|
|
ip authorized-manager x.x.x.x mask x.x.x.x operator/manager
|
|
|
logging x.x.x.x
|
|
crypto key generate certificate 1024
|
Generates RSA cert
|
|
crypto host generate self-signed
|
fill in the requested details to generate your certificate
|
|
web-m ssl
|
enables https
|
|
no web-m pla
|
disables plaintext
|
|
banner motd #
|
|
|
WARNING!!! This system is solely for the use of authorized users for official purposes. You have no expectation of privacy in its use and to ensure that the system is functioning properly, individuals using this computer system are subject to having all of their activities monitored and recorded by system personnel. Use of this system evidences an express consent to such monitoring and agreement that if such monitoring reveals evidence of possible abuse or criminal activity, system personnel may provide the results of such monitoring to appropriate officials. #
|
|
no stack
|
|
snmpv3 enable
|
|
|
snmpv3 user USERNAME auth md5 AUTHPASSWORD priv des PRIVPASSWORD
|
|
|
snmpv3 group operatorauth user USERNAME sec-model ver3
|
|
|
no snmpv3 user initial
|
|
|
snmpv3 only
|
disables snmp v1 & 2c
|
|
radius-server host x.x.x.x key Super$ecretRadiusK3y
|
|
|
aaa authentication X login radius local
|
X can be console, telnet, ssh or web
|
|
aaa authentication X enable radius local
|
|
|
aaa authentication num-attempts N
|
|
|
aaa authentication login privilege-mode
|
optional to allow operator or manager access as per RADIUS response
|
|
no front-panel-security password-clear
|
|
|
no front-panel-security factory-reset
|
No comments yet.
Cheatography n. The art of mapping complex subjects into clear, instantly navigable reference guides.