Sei sulla pagina 1di 4

_____________________________________SSH________________________________________

___
RT(config)#ip domain-name cisco
RT(config)#crypto key generate rsa (ENTER)
1024
RT(config)#username ____ password ______
RT(config)#ip ssh version (VERSION SSH)
RT(config)#ip ssh time-out (TIEMPO TIME-OUT)
RT(config)#ip ssh authentication-betries 2
RT(config)#line vty 0 4
RT(config-line)#password cisco
RT(config-line)#transport input ssh
RT(config-line)#exec-timeout (TIEMPO TIME-OUT)
RT(config-line)#login
________________________________MENSAJE DEL DIA_________________________________
____
RT(config)#banner motd % (ENTER)
(Escribir mensaje %) (ENTER)
RT(config)#banner login % (ENTER)
(Escribir mensaje %) (ENTER)
_____________________________ENCAPSULACION______________________________________
_____
ENCAPSULACION HDLC
RT(config-if)#encapsulation hdlc
ENCAPSULACION PPP (CHAP)
RT(Config)#username (RT DESTINO) password ####
RT(Config)#inter se#/#/#
RT(config-if)#encapsulation ppp
RT(config-if)#ppp authentication chap
ENCAPSULACION PPP (PAP)
RT(Config)#username (RT DESTINO) password ####
RT(Config)#inter se#/#/#
RT(config-if)#encapsulation ppp
RT(config-if)#ppp authentication pap
RT(config-if)#ppp pap sent-username (RT ACTUAL) password ####

_____________________________ENCRIPTACION MD5 (OSPF)____________________________


_______
RT(Config)#Interface Serial se#/#/#
RT(config-if)#ip ospf message-digest-key (NUMERO LLAVE) md5 (PASSWD)
RT(config-if)#ip ospf authentication message-digest
RT(config-if)#exit

RT(config)#router ospf (numero)


RT(config-router)#area (N) authentication message-digest
_____________________________FRAME RELAY________________________________________
______

RT(Config)#interface se#/#/#
RT(config-if)#encapsulation frame-relay (IETF/CISCO)
RT(config-if)#frame-relay lmi-type (ANSI/CISCO/Q933A)
RT(config-if)#exit
RT(Config)#interface se#/#/#.(SUBINTER) (POINT-TO-POINT / MULTIPOINT)
RT(config-if)#ip address IP.IP.IP.IP MS.MS.MS.MS
RT(config-if)#frame-relay interface-dlci (NUMERO DEL DLCI)
MAPEO STATICO
R1(config)#interface serial0/0/0
R1(config-if)#encapsulation frame-relay
R1(config-if)#frame-relay map ip 10.10.10.2 102 broadcast
R1(config-if)#frame-relay map ip 10.10.10.3 103 broadcast
R1(config-if)#no shutdown
R1(config-if)#frame-relay lmi-type ansi
__________________________________ACL___________________________________________
_____
FTP
SSH
TELNET
SMTP

20-21
22
23
25

PUERTOS
TCP | DNS
TCP | TFTP
TCP | HTTP
TCP | POP3

53
69
80
110

TCP/UDP
UDP
TCP
TCP

|
|
|
|
|

STANDARD (Router mas cercano al destino)


RT(config)#access-list [1~99] [deny |permit] [[IP RED ORIGEN] [WILDCARD RED]| ho
st [IP HOST]|any]
RT(config)# interface [INTERFACE]
RT(config-if)#ip access-group [1~99] [in | out]
EXTENDIDA (Router mas cercano al origen)
RT(config)#access-list [100~199] [deny |permit] [tcp|udp|icmp|ip] [*1] [*2] [eq
|neg|gl|lt] [PUERTO]
RT(config)# interface [INTERFACE]
RT(config-if)#ip access-group [100~199] [in | out]
NOMBRADA (no se puede usar host al ingresar un ip de host)
RT(config)#ip access-list [standard | extended] [NAME ACL]
RT(config-std-nacl)# [deny |permit] [*1]
RT(config-std-nacl)# [deny |permit] [tcp|udp|icmp|ip] [*1] [*2] [eq|neg|gl|lt]
[PUERTO]
RT(config)# interface [INTERFACE]
RT(config-if)#ip access-group [NAME ACL] [in | out]

_______________________________ DHCP ___________________________________________


_____________________
RT(config)#ip dhcp excluded-address (PRIMERA IP) (ULTIMA IP)
RT(config)#ip dhcp pool (NOMBRE DE VLAN O POOL DADO)
RT(dhcp-config)#network (RED Y MASK DEL POOL)
RT(dhcp-config)#default-router (DIRECCION DEL GATEWAY)
RT(dhcp-config)#exit
RT(config)#ip domain-name (DOMAIN DADO)
_______________________________ DESACTIVAR BUSQUEDA DNS ________________________
______________________
RT(config)#no ip domain lookup

_______________________________ EXCLUIR IP PARA ASIGNAR EN DHCP ________________


______________________
RT(config)#ip dhcp excluded-address (IP INICIAL) (IP FINAL)
________________________________ CONFIGURAR UN POOL ____________________________
_______________________
RT(config)#ip dhcp pool (NOMBRE POOL)
RT(dhcp-config)#network (RED QUE SE USARA PARA ASIGNAR IP) (MASCARA DE LA RED)
RT(dhcp-config)#dns-server (IP DNS)
RT(dhcp-config)#default-router (IP DEL ROUTER POR DEFECTO)
VER CONFIGURACION DEL DHCP
RT#show ip dhcp binding
_________________________________ CONFIGURAR NAT _______________________________
_______________________
RT(config)#ip nat inside source static (IP ORIGEN) (IP DEL RT NAT)
RT(config)#interface serial #/#/# (INTERFAS DE SALIDA AL NAT)
RT(config-if)#ip nat outside
RT(config-if)#interface fa#/# (INTERFAS DE ORIGEN HOST)
RT(config-if)#ip nat inside

________________________________________________________________________________
________

ip domain-name duoc.cl
crypto key generate rsa
1024
ip ssh version 2
line vty 0 4
password ciscoduoc
transport input ssh
login
exec-timeout 20
exit
line vty 0 4
password classcisco
transport input ssh
transport input telnet
login
exit
line console 0
password ciscoduoc
login
exit
enable secret ciscoduoc
enable password ciscoduoc
banner motd %
ACCESO RESTRINGIDO%
banner login %
ACCESO RESTRINGIDO%
exit

Potrebbero piacerti anche