Você está na página 1de 3

do wr (guarda todo)

do show run (Te muestra toda la conf. hecha


show ip interface brief (muestra de forma resumida los interfaces que tienes)

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)

#commands exec include all show


#commands exec include traceroute
#commands exec include ping

#commands configure include hostname


#commands exec include configure terminal (conf t)
#poner ip ala interfaz y verificar la ruta que sigue el paquete traceroute
#commands configure include interface
#commands configure include banner
#commands configure include enable secret
#commands configure include line console
#commands configure include line vty
#commands configure include router ospf
#commands configure include router eigrp
#commands router include network
#commands router include area
#commands configuere include ip or all ip
#commands configure include all router
#commands exec include configure terminal
#router ?
#router eigrp 100

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

Secret Password Algorithms


Configure all secret passwords using type 8 or type 9 passwords
Use the enable algorithm-type command syntax to enter an unencrypted password
enable algorithm-type { md5 | scrypt | sha256 } secret [password]

Use the username name algorithm-type command to specify type 9 encryption


username [name] algorithm-type { md5 | scrypt | sha256 } secret [password]

Securing Line Access


username Bob algorithm-type scrypt secret cisco54321
line con 0
no password
login local
exit
line aux 0
no password
login local
exit
line vty 0 4
login local
transport input ssh

Você também pode gostar