Configuracion de interfaces
Configuracion Interface Serial (H-WIC )
Configuracion IP protocolo PPP
Router(config)#interface serial0/1Router(config-if)#description Conexion_PPP
Router(config-if)#encapsulation PPP
Router(config-if)#ip address 192.168.1.1 255.255.255.252
Router(config-if)#no shutdown
Configuracion Frame Realy
Router(config)#interface serial 0/1Router(config-if)#description Multipunto_FRAME_REALY
Router(config-if)#encapsulation Frame-relay
Router(config-if)#no shutdown
Router(config)#interface serial 0/1.16 point-to-point
Router(config-subif)#description PVC_16_SEDE_A
Router(config-subif)#ip address 192.168.10.1 255.255.255.252
Router(config-subif)#no shutdown
Router(config-subif)#frame-relay interface-dlci 16
Router(config)#interface serial 0/1.17 point-to-point
Router(config-subif)#description PVC_17_SEDE_B
Router(config-subif)#ip address 192.168.20.1 255.255.255.252
Router(config-subif)#no shutdown
Router(config-subif)#frame-relay interface-dlci 17
Configuracion Interface Ethernet
Configuracion modo acceso (vlan sin tag)
Router(config)#interface f0/0Router(config-if)#description LAN_SEDE_A
Router(config-if)#ip address 192.168.30.1 255.255.255.0
Router(config-if)#no shutdown
Configuracion modo troncal (vlan tag)
Router(config)#interface f0/0Router(config-if)#description TRONCAL_VLAN
Router(config-if)#no shutdown
Router(config)#interface f0/0.20
Router(config-subif)#description Vlan_20_DATOS
Router(config-subif)#encapsulation dot1Q 20
Router(config-subif)#ip address 192.168.20.1 255.255.255.0
Router(config-subif)#no shutdown
Router(config)#interface f0/0.30
Router(config-subif)#description Vlan_30_VIDEO
Router(config-subif)#encapsulation dot1Q 30
Router(config-subif)#ip address 192.168.30.1 255.255.255.0
Router(config-subif)#no shutdown
Configuracion de rutas
Configuracion de ruta por defecto
Router(config)#ip route 0.0.0.0 0.0.0.0 192.168.10.2 name Ruta_por_defectoConfiguracion de rutas estaticas
Router(config)#ip route 172.16.10.0 255.255.255.0 192.168.20.2 name Ruta_sede_CRouter(config)#ip route 10.168.40.0 255.255.0.0 192.168.20.2 name Ruta_sede_D
Configuracion de NAT
Configuracion de NAT Statico
Router(config)#interface f0/0Router(config-if)#description LAN_SEDE
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip nat inside
Router(config)#interface f0/1
Router(config-if)#description INTERNET
Router(config-if)#ip address 200.248.30.34 255.255.255.248
Router(config-if)#ip nat outside
Router(config)#ip route 0.0.0.0 0.0.0.0 200.248.30.33 name Ruta_por_defecto_Internet
//Configuracion NAT por IP
Router(config)#ip nat inside source static 192.168.1.200 200.248.30.36 extendable//Configuracion NAT por Puerto
Router(config)#ip nat inside source static tcp 192.168.1.30 80 200.248.30.35 80 extendableConfiguracion de NAT Dinamico
Router(config)#interface f0/0Router(config-if)#description LAN_SEDE
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config-if)#ip nat inside
Router(config)#interface f0/1
Router(config-if)#description INTERNET
Router(config-if)#ip address 200.248.30.33 255.255.255.248
Router(config-if)#ip nat outside
Router(config)#ip route 0.0.0.0 0.0.0.0 200.248.30.33 name Ruta_por_defecto_Internet
Router(config)#ip nat pool Public 200.248.30.36 200.248.30.38 prefix-length 29
Router(config)#ip nat inside source list 10 pool public overload
Router(config)#access-list 10 permit 192.168.1.0 0.0.0.255
//Solo cuando la Interface de internet tiene una ip publica
Router(config)#ip nat inside source list 10 interface fastEthernet 0/1 overload
Configuracion DHCP
Router(config)#interface f0/0Router(config-if)#description LAN_SEDE
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config)#ip dhcp excluded-address 192.168.1.1
Router(config)#ip dhcp pool RED_LAN
Router(dhcp-config)#network 192.168.1.0 255.255.255.0
Router(dhcp-config)#default-router 192.168.1.1
Router(dhcp-config)#dns-server 200.30.248.101 200.30.224.248
Router(dhcp-config)#lease 1
Configuracion de Autenticacion
Configuracion Tradicional
Router(config)#enable secret ciscoRouter(config)#line vty 0 4
Router(config-line)#password cisco
Router(config-line)#login
Router(config)#line console 0
Router(config-line)#password cisco
Router(config-line)#login
Configuracion AAA
Router(config)#aaa new-modelRouter(config)#aaa authentication login default local
Router(config)#aaa authorization console
Router(config)#aaa authorization exec default local
Router(config)#aaa session-id common
Router(config)#username cisco privilege 15 secret cisco
Configuracion variada
Router(config)#ip cefRouter(config)#hostname CLIENTE_A
Router(config)#no ip domain-lookup
Router#terminal monitor
Router(config)#logging on
Router(config)#logging buffered 1024000
Este blog ha sido eliminado por un administrador de blog.
ResponderBorrarnice blog. great work
ResponderBorraryou can find some more info @ mpls-tp.com
Amigo como declaras tu prioridad al trafico de correos (HTTP) de los de Videos..? Porfavor...
ResponderBorrarBardzo fajnie napisane. Jestem pod wrażeniem i pozdrawiam.
ResponderBorrar