Escolar Documentos
Profissional Documentos
Cultura Documentos
CONFIG BÁSICA
no ip domain-lookup
hostname R1
enable secret class
line console 0
password cisco
login
loggin synchronous
exit
line vty 015
password cisco
login
exit
service password-encryption
banner mord #acceso restringido#
IP
int s0/0/1
ip add 100.100.100.1 255.255.255.252
clock rate 64000
no shut
VISTAS
#enable secret cisco
#aaa new-model
#enable view
#show privilege
#conf t
#parse view vista1
#secret vista1
#commands ? (para ver los comandos)
SSH
ip domain-name decimoA.com
crypto key generate rsa general-keys modulus 1024
ip ssh version 2
username admin1 algorithm-type scrypt secret cisco123
line vty 0 4
login local
transport input ssh
end
------->VERIFICAR
ssh -l admin1 192.16810.254
OSPF
router ospf 100
network 192.168.10.128 0.0.0.15 area 0
network 100.100.100.32 0.0.0.3 area 0
area 0 authentication message-digest
int s/0/0
ip ospf message-digest-key 1 md5 cisco123
ip ospf authentication message-digest
SYSLOG
#ena
#conf t
Conf#loggin host la ip del server ejemplo 192.168.10.1
Conf#int gi0/0/0
Conf#shutdown (bajamos la red)
Conf#exit
Conf#service timestamps log datetime msec
Conf#int gi0/0/0
Conf#no shutdown
R#clock set 17:54:00 07 november 2019
Increasing Access Security
security passwords min-length 10
service password-encryption
line vty 0 4
exec-timeout 3 30
line console 0
exec-timeout 3 30
service password-encryption
exit
show running-config