Вы находитесь на странице: 1из 5

Comandos

Contraseas.
Enable secret cisco
Line console 0
Password cisco
Login
Line vty 0 4
Password cisco
login

Mensaje
Banner motd #Escribir mensaje aqui#

Rutas Estaticas (Por Interfaz de Salida)


R1(config)# ip route (ip de R2) (mascara de R2) (interfaz de R1)

Rutas Estaticas (Por ip del siguiente salto)


R1(config)# ip route (ip de R2) (mascara de R2) (ip de interfaz del R2)

Ruta Predeterminada
R1(config)# ip route 0.0.0.0 0.0.0.0 (ip de interfaz del R2)

Rip
R1(config)# router rip
Network (ip de redes conectadas al R1)
Versin 2
No auto-summary

Ospf
R1(config)# router ospf 1
Network (ip de redes conectadas a R1) (wildcard de redes conectadas a R1) rea 0

Eigrp
R1(config)# router eigrp 1
Network (ip de redes conectadas a R1) (wildcard de redes conectadas a R1)

Vlan
1 paso (Se hace en el switch cliente y server)
Configuracin vtp
Vtp mode server, client o transparent
Vtp domain utcj
Vtp password cisco

2 paso (Se hace en el switch cliente y server)


Enlace truncal
Int f0/0 [puerto de los switches]
Switchport mode trunk
Switchport trunk native vlan 100

3 paso (Se hace en el switch server)


Creacin de vlan
Vlan 10
Name utcj

4 paso (Se hace en el switch cliente pero nicamente cuando tenemos conectadas pc al server
tambin este paso aplica para el switch server)
Enlaces de acceso
Int f0/1 (puerto donde esta la pc conectada al switch cliente)
Switchport mode Access
Switchport Access vlan 10

5 paso (Se hace la configuracion en el router)


Subinterfazes
Int 0/0.10
Encapsulation dot1q 10
Ip address (Gateway de la vlan) (mascara del gateway de la vlan)
Exit
Int 0/0.100
Encapsulation dot1q 100 native
Ip address (Gateway de la vlan nativa) (mascara del gateway de la vlan nativa)
Exit
Int f0/0
No shutdown

Configurar rango de puertos


Interface range fa0/5-8, fa0/10

Configurar ip a switches
Int vlan 100
Ip address 10.43.100.1 255.255.255.248
Ip default-gateway 10.43.100.6

Configurar prioridad a switches


Spanning-tree vlan 10 root primary Se agregan todas las vlan en el switch primario o mas
cercano del router
Spanning-tree vlan 10 root secondary Se agregan todas las vlan en el switch secundario

Configurar seguridad de puerto


Int fa0/2
Switchport port-security
Switchport port-security maxinum 1 numero de pc
Switchport port-security mac-address sticky
Switchport port-security violation shutdown

Configuracion pap
R1(config)# int s0/0/0
Encapsulation ppp
Ppp authentication pap
Ppp pap sent-username R1 password cisco
Do wr
Exit
Username R2 password cisco

Configuracion chap
R1(config)# int s0/0/0
Encapsulation ppp
Ppp authentication chap
Do wr
Exit
Username R2 password cisco

Frame-relay basico
Int s0/0/0
Ip address 10.0.0.1 255.255.255.248
No shutdown
En frame-relay
Frame-relay lmi-type cisco
Frame-relay interface-dlci 102
Frame-relay map ip 10.0.0.2 102 broadcast cisco

Frame-relay multipunto
Int s0/0/0
En frame-relay
Frame-relay lmi-type cisco
Exit
Int 0/0/0.10 multipoint
Ip ad 10.0.0.1 255.255.255.248
Frame-relay interface-dlci 102
Frame-relay map ip 10.0.0.2 102 broadcast cisco
Exit
Int s0/0/0
No shutdown

Frame-relay punto a punto


Int s0/0/0
EN frame-relay
frame-relay lmi-type cisco
Exit
Int s0/0/0.102 point-to-point
Ip address 10.0.0.1 255.255.255.252
Frame-relay interface-dlci 102
Exit
Int s0/0/0
No shutdown

Configuracion dhcp
Ip dhcp excluded-address 10.0.66.1 10.0.66.3
Ip dhcp excluded-address 10.0.1.254
Ip dhcp pool DHCP1
Default-router 10.0.1.254
Network 10.0.66.0 255.255.255.0
Exit
Int fa0/0
Ip address 10.0.1.254 255.255.255.0
No shutdown

Access-list
Access-list 5 deny host 192.168.1.6
Access-list 5 permit any
Int f0/0
ip access-group 5 out
o
ip access-group 5 in

Cambio de ip
Ip nat inside source static 192.168.1.6 200.100.10.1
Int f0/0
Ip nat inside
Exit
Int s0/0/0
Ip nat outside

Access-list 11 permit 192.168.1.0 0.0.0.255


Ip nat pool NAT1 200.100.10.1 200.100.10.254 netmask 255.255.255.0
Ip nat inside source list 11 pool NAT1
Int f0/0
Ip nat inside
Exit
Int s0/0/0
Ip nat outside

Вам также может понравиться