Compartiendo la información con las nuevas generaciones
viernes, 13 de noviembre de 2009
Marujita lo sabe todo
Información Oculta
jueves, 17 de septiembre de 2009
CCNP Violento BSCI-642-901: IPv6
1. Descripción de la Configuración de Cada Router
Router de Lisa y Homero
Se configura las direcciones IP de sus interfaces y se las activa
Se configura las direcciones IPv6 de sus interfaces y se las activa
Se configura túneles automáticos 6to4
Se configura enrutamiento OSPFv2
Router de Nelson
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPFv2
Router de Rafa y Milhouse
Se configura las direcciones IP de sus interfaces y se las activa
Se configura túneles manuales IPv6toIPv4
Se configura enrutamiento OSPFv2
Se configura enrutamiento OSPFv3
Router de Bart
Se configura las direcciones IPv6 de sus interfaces y se las activa
Se configura enrutamiento OSPFv3
2. Configuración
A continuación se detalla la configuración de cada uno de los routers
Lisa(config)# hostname Lisa
Lisa(config)# ipv6 unicast-routing
Lisa(config)# interface FastEthernet0/0
Lisa(config-if)# ipv6 address 2002:a00:101:b::1/64
Lisa(config-if)# no shutdown
Lisa(config)# interface Serial1/0
Lisa(config-if)# ip address 10.0.1.1 255.255.255.0
Lisa(config-if)# no shutdown
Lisa(config)# interface Tunnel0
Lisa(config-if)# ipv6 address 2002:a00:101:a::1/64
Lisa(config-if)# tunnel source 10.0.1.1
Lisa(config-if)# tunnel mode ipv6ip 6to4
Lisa(config-if)# no shutdown
Lisa(config)# router ospf 11
Lisa(config-router)# network 10.0.0.0 0.255.255.255 area 0
Lisa(config)# ipv6 route 2002::/16 Tunnel0
Homero(config)# hostname Homero
Homero(config)# ipv6 unicast-routing
Homero(config)# interface FastEthernet0/0
Homero(config-if)# ipv6 address 2002:a00:202:b::1/64
Homero(config-if)# no shutdown
Homero(config)# interface Serial1/0
Homero(config-if)# ip address 10.0.2.2 255.255.255.0
Homero(config-if)# no shutdown
Homero(config)# interface Tunnel0
Homero(config-if)# ipv6 address 2002:a00:202:a::1/64
Homero(config-if)# tunnel source 10.0.2.2
Homero(config-if)# tunnel mode ipv6ip 6to4
Homero(config-if)# no shutdown
Homero(config)# router ospf 11
Homero(config-router)# network 10.0.0.0 0.255.255.255 area 0
Homero(config)# ipv6 route 2002::/16 Tunnel0
Nelson(config)# hostname Nelson
Nelson(config)# interface Serial0/0
Nelson(config-if)# ip address 10.0.2.1 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/1
Nelson(config-if)# ip address 10.0.3.2 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/2
Nelson(config-if)# ip address 10.0.1.2 255.255.255.0
Nelson(config-if)# no shutdown
Nelson(config)# interface Serial0/3
Nelson(config-if)# ip address 10.0.4.1 255.255.255.0
Nelson(config)# router ospf 11
Nelson(config-router)#network 10.0.0.0 0.255.255.255 area 0
Milhouse(config)# hostname Milhouse
Milhouse(config)# ipv6 unicast-routing
Milhouse(config)# interface Serial0/0
Milhouse(config-if)# ip address 10.0.4.2 255.255.255.0
Milhouse(config-if)# no shutdown
Milhouse(config)# interface FastEthernet1/0
Milhouse(config-if)# ipv6 address 2001:ffff:0:d::1/64
Milhouse(config-if)# ipv6 ospf 11 area 0
Milhouse(config-if)# no shutdown
Milhouse(config)# interface Tunnel0
Milhouse(config-if)# ipv6 address 2001:ffff:0:c::2/64
Milhouse(config-if)# ipv6 ospf 11 area 0
Milhouse(config-if)# tunnel source 10.0.4.2
Milhouse(config-if)# tunnel mode ipv6ip
Milhouse(config-if)# no shutdown
Milhouse(config)# router ospf 11
Milhouse(config-router)# network 10.0.0.0 0.255.255.255 area 0
Milhouse(config)# ipv6 router ospf 11
Milhouse(config-rtr)#router-id 2.2.2.2
Rafa(config)# hostname Rafa
Rafa(config)# ipv6 unicast-routing
Rafa(config)# interface Serial0/0
Rafa(config-if)# ipv6 address 2001:ffff:0b::2/64
Rafa(config-if)# ipv6 ospf 11 area 0
Rafa(config-if)# no shutdown
Rafa(config)# interface Serial0/1
Rafa(config-if)# ip address 10.0.3.1 255.255.255.0
Rafa(config-if)# no shutdown
Rafa(config)# interface Tunnel0
Rafa(config-if)# ipv6 address 2001:ffff:0:c::1/64
Rafa(config-if)# ipv6 ospf 11 area 0
Rafa(config-if)# tunnel source 10.0.3.1
Rafa(config-if)# tunnel destination 10.0.4.2
Rafa(config-if)# tunnel mode ipv6ip
Rafa(config-if)# no shutdown
Rafa(config)# router ospf 11
Rafa(config-router)# network 10.0.0.0 0.255.255.255 area 0
Rafa(config)# ipv6 router ospf 11
Rafa(config-rtr)# router-id 3.3.3.3
Bart(config)# hostname Bart
Bart(config)# ipv6 unicast-routing
Bart(config)# interface FastEthernet0/0
Bart(config-if)# ipv6 address 2001:ffff:0:b::1/64
Bart(config-if)# ipv6 ospf 11 area 0
Bart(config-if)# no shutdown
Bart(config)# interface Serial1/0
Bart(config-if)# ipv6 address 2001:ffff:0:b::1/64
Bart(config-if)# ipv6 ospf 11 area 0
Bart(config-if)# no shutdown
Bart(config)# ipv6 router ospf 11
Bart(config-rtr)# router-id 4.4.4.4
3. Comandos importantes
Algunos comandos importantes que se debe de tener en cuenta al momento de configurar IPv6
(config)# ipv6 unicast-routing
(config)# ipv6 router ospf process-id
(config-rtr)# router-id router-id
(config-if)# ipv6 address address/prefix-length [eui-64]
(config-if)# ipv6 ospf process-id area area-id [instance instance-id]
(config-if)# router ospf priority priority number
(config-if)# router ospf cost cost
(config-rtr)# area area-id range prefix/prefix-length [advertise | not-advertise] [cost cost]
#show ipv6 ospf [process-id] database link
#show ipv6 ospf [process-id] database prefix
#show ipv6 ospf [process-id] area [area-id] interface interface]
#show ipv6 ospf neighbor detail
#show ipv6 ospf database
#show ipv6 ospf database database-summary
(config-if)# tunnel source [ip-adress | interface]
(config-if)# tunnel destination [ip-address | interface]
(config-if)# tunnel mode ipv6ip [6to4]
lunes, 7 de septiembre de 2009
COINTEC 2009

CCNP Violento BSCI-642-901: BGP
CCNP Violento BSCI-642-901: BGP

Yahoo1 y Yahoo2
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Yahoo3
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura para que OSPF publique la ruta por defecto
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se configura las redes que debe publicar BGP
Se configura rutas estáticas para las redes publicadas por BGP
Yahoo4
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura para que OSPF publique la ruta por defecto
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Telmex1
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se configura las redes que debe publicar BGP
Se configura rutas estáticas para las redes publicadas por BGP
Se establece la preferencia local hacia telefónica en 50
Telmex2
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Telmex3
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se establece la métrica hacia Microsoft en 200
Telmex4
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP y IBGP
Se deshabilita la sincronización
Se establece la contraseña MD5 para IBGP
Se establece la métrica hacia Microsoft en 100
Telefónica y Microsoft
Se configura las direcciones IP de sus interfaces
Se configura enrutamiento OSPF en el área 0
Se configura la dirección IP de la interfaz de Loopback
Se configura EBGP
Se configura las redes que debe publicar BGP
2. Configuración
A continuación se presenta la configuración completa de cada uno de los equipos de este escenario
Yahoo1(config)# hostname Yahoo1
Yahoo1(config)# interface Serial0/0
Yahoo1(config-if)# ip address 10.1.3.1 255.255.255.0
Yahoo1(config-if)# no shutdown
Yahoo1(config)# interface Serial0/1
Yahoo1(config-if)# ip address 10.1.1.1255.255.255.0
Yahoo1(config-if)# no shutdown
Yahoo1(config-if)# ip address 10.1.2.1 255.255.255.0
Yahoo1(config-if)# no shutdown
Yahoo1(config)# router ospf 11
Yahoo1(config-router)#network 10.1.0.0 0.0.255.255 area 0
Yahoo2(config)# hostname Yahoo2
Yahoo2(config)# interface Serial0/0
Yahoo2(config-if)# ip address 10.1.3.2.255.255.255.0
Yahoo2(config-if)# no shutdown
Yahoo2(config)# interface Serial0/1
Yahoo2(config-if)# ip address 10.1.4.1 255.255.255.0
Yahoo2(config-if)# no shutdown
Yahoo2(config)# router ospf 11
Yahoo2(config-router)# network 10.1.0.0 0.0.255.255 area 0
Yahoo3(config)# hostname Yahoo3
Yahoo3(config)# interface Loopback0
Yahoo3(config-if)# ip address 10.4.1.3 255.255.255.255
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/0
Yahoo3(config-if)# ip address 10.1.4.2 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/1
Yahoo3(config-if)# ip address 10.1.2.2 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/2
Yahoo3(config-if)# ip address 10.3.2.1 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# interface Serial0/3
Yahoo3(config-if)# ip address 10.1.5.1 255.255.255.0
Yahoo3(config-if)# no shutdown
Yahoo3(config)# router ospf 11
Yahoo3(config-router)# network 10.1.0.0 0.0.255.255 area 0
Yahoo3(config-router)# network 10.4.1.3 0.0.0.0 area 0
Yahoo3(config-router)# default-information originate always
Yahoo3(config)# router bgp 64600
Yahoo3(config-router)# no synchronization
Yahoo3(config-router)# network 10.1.0.0 mask 255.255.0.0
Yahoo3(config-router)# network 10.4.1.0 mask 255.255.255.0
Yahoo3(config-router)# neighbor 10.3.2.2 remote-as 65000
Yahoo3(config-router)# neighbor 10.4.1.4 remote-as 64600
Yahoo3(config-router)# neighbor 10.4.1.4 update-source Loopback0
Yahoo3(config-router)# neighbor 10.4.1.4 next-hop-self
Yahoo3(config)# ip route 10.1.0.0 255.255.0.0 Null0
Yahoo3(config)# ip route 10.4.1.0 255.255.255.0 Null0
Yahoo4(config)# hostname Yahoo4
Yahoo4(config)# interface Loopback0
Yahoo4(config-if)# ip address 10.4.1.4 255.255.255.255
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/0
Yahoo4(config-if)# ip address 10.1.1.2 255.255.255.0
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/1
Yahoo4(config-if)# ip address 10.3.1.1 255.255.255.0
Yahoo4(config-if)# no shutdown
Yahoo4(config)# interface Serial0/2
Yahoo4(config-if)# ip address 10.1.5.2 255.255.255.0
Yahoo4(config-if)# no shutdown
Yahoo4(config)# router ospf 11
Yahoo4(config-router)# network 10.1.0.0 0.0.255.255 area 0
Yahoo4(config-router)# network 10.4.1.4 0.0.0.0 area 0
Yahoo4(config-router)# default-information originate always
Yahoo4(config)# router bgp 64600
Yahoo4(config-router)# no synchronization
Yahoo4(config-router)# neighbor 10.3.1.2 remote-as 64800
Yahoo4(config-router)# neighbor 10.4.1.3 remote-as 64600
Yahoo4(config-router)# neighbor 10.4.1.3 update-source Loopback0
Yahoo4(config-router)# neighbor 10.4.1.3 next-hop-self
Telmex1(config)# hostname Telmex1
Telmex1(config)# interface Loopback0
Telmex1(config-if)# ip address 10.4.2.1 255.255.255.255
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/0
Telmex1(config-if)# ip address 10.3.1.2 255.255.255.0
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/1
Telmex1(config-if)# ip address 10.2.2.1 255.255.255.0
Telmex1(config-if)# no shutdown
Telmex1(config)# interface Serial0/2
Telmex1(config-if)# ip address 10.2.1.1 255.255.255.0
Telmex1(config-if)# no shutdown
Telmex1(config)# router ospf 11
Telmex1(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex1(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex1(config)# router bgp 64800
Telmex1(config-router)# no synchronization
Telmex1(config-router)# network 10.2.0.0 mask 255.255.0.0
Telmex1(config-router)# network 10.4.2.0 mask 255.255.255.0
Telmex1(config-router)# neighbor ibgps peer-group
Telmex1(config-router)# neighbor ibgps remote-as 64800
Telmex1(config-router)# neighbor ibgps password tongo
Telmex1(config-router)# neighbor ibgps update-source Loopback0
Telmex1(config-router)# neighbor ibgps next-hop-self
Telmex1(config-router)# 10.3.1.1 remote-as 64600
Telmex1(config-router)# 10.3.1.1 route-map locapre in
Telmex1(config-router)# 10.4.2.2 peer-group ibgps
Telmex1(config-router)# 10.4.2.3 peer-group ibgps
Telmex1(config-router)# 10.4.2.4 peer-group ibgps
Telmex1(config)# ip route 10.2.0.0 255.255.0.0 Null0
Telmex1(config)# ip route 10.4.2.0 255.255.255.0 Null0
Telmex1(config)# access-list 11 permit 10.4.3.1
Telmex1(config)# route-map locapre permit 10
Telmex1(config-route-map)# match ip address 11
Telmex1(config-route-map)# set local-preference 50
Telmex1(config)# route-map locapre permit 20
Telmex2(config)# hostname Telmex2
Telmex2(config)# interface Loopback0
Telmex2(config-if)# ip address 10.4.2.2 255.255.255.255
Telmex2(config-if)# no shutdown
Telmex2(config)# interface Serial0/0
Telmex2(config-if)# ip address 10.2.2.2 255.255.255.0
Telmex2(config-if)# no shutdown
Telmex2(config)# interface Serial0/1
Telmex2(config-if)# ip address 10.2.3.1 255.255.255.0
Telmex2(config-if)# no shutdown
Telmex2(config)# router ospf 11
Telmex2(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex2(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex2(config)# router bgp 64800
Telmex2(config-router)# no synchronization
Telmex2(config-router)# neighbor ibgps peer-group
Telmex2(config-router)# neighbor ibgps remote-as 64800
Telmex2(config-router)# neighbor ibgps password tongo
Telmex2(config-router)# neighbor ibgps update-source Loopback0
Telmex2(config-router)# neighbor ibgps next-hop-self
Telmex2(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex2(config-router)# neighbor 10.4.2.3 peer-group ibgps
Telmex2(config-router)# neighbor 10.4.2.4 peer-group ibgps
Telmex3(config)# hostname Telmex3
Telmex3(config)# interface Loopback0
Telmex3(config-if)# ip address 10.4.2.3 255.255.255.255
Telmex3(config-if)# no shutdown
Telmex3(config)# interface Serial0/0
Telmex3(config-if)# ip address 10.2.3.2 255.255.255.0
Telmex3(config-if)# no shutdown
Telmex3(config)# interface Serial0/1
Telmex3(config-if)# ip address 10.3.5.1 255.255.255.0
Telmex3(config-if)# no shutdown
Telmex3(config)# router ospf 11
Telmex3(config-router)# network 10.2.0.0 0.0.255.255 area 0
Telmex3(config-router)# network 10.4.0.0 0.0.255.255 area 0
Telmex3(config)# router bgp 64800
Telmex3(config-router)# no synchronization
Telmex3(config-router)# neighbor ibgps peer-group
Telmex3(config-router)# neighbor ibgps remote-as 64800
Telmex3(config-router)# neighbor ibgps password tongo
Telmex3(config-router)# neighbor ibgps update-source Loopback0
Telmex3(config-router)# neighbor ibgps next-hop-self
Telmex3(config-router)# neighbor 10.3.5.2 remote-as 65200
Telmex3(config-router)# neighbor 10.3.5.2 route-map med out
Telmex3(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex3(config-router)# neighbor 10.4.2.2 peer-group ibgps
Telmex3(config-router)# neighbor 10.4.2.4 peer-group ibgps
Telmex3(config)# access-list 11 permit 10.2.0.0 0.0.255.255
Telmex3(config)# access-list 11 permit 10.4.2.0 0.0.0.255
Telmex3(config)# route-map med permit 10
Telmex3(config-route-map)# match ip address 11
Telmex3(config-route-map)# set metric 200
Telmex3(config)# route-map med permit 20
Telmex4(config)# hostname Telmex4
Telmex4(config)# interface Loopback0
Telmex4(config-if)# ip address 10.4.2.4 255.255.255.255
Telmex4(config-if)# no shutdown
Telmex4(config)# interface Serial0/0
Telmex4(config-if)# ip address 10.2.1.2 255.255.255.0
Telmex4(config-if)# no shutdown
Telmex4(config)# interface Serial0/1
Telmex4(config-if)# ip address 10.3.6.1 255.255.255.0
Telmex4(config-if)# no shutdown
Telmex4(config)# router bgp 64800
Telmex4(config-router)# no synchronization
Telmex4(config-router)# neighbor ibgps peer-group
Telmex4(config-router)# neighbor ibgps remote-as 64800
Telmex4(config-router)# neighbor ibgps password tongo
Telmex4(config-router)# neighbor ibgps update-source Loopback0
Telmex4(config-router)# neighbor ibgps next-hop-self
Telmex4(config-router)# neighbor 10.3.6.2 remote-as 65200
Telmex4(config-router)# neighbor 10.3.6.2 route-map med out
Telmex4(config-router)# neighbor 10.4.2.1 peer-group ibgps
Telmex4(config-router)# neighbor 10.4.2.2 peer-group ibgps
Telmex4(config-router)# neighbor 10.4.2.3 peer-group ibgps
Telmex4(config)# access-list 11 permit 10.2.0.0 0.0.255.255
Telmex4(config)# access-list 11 permit 10.4.2.0 0.0.0.255
Telmex4(config)# route-map med permit 10
Telmex4(config-route-map)# match ip address 11
Telmex4(config-route-map)# set metric 100
Telmex4(config)# route-map med permit 20
Telefonica(config)# hostname telefonica
Telefonica(config)# interface Loopback0
Telefonica(config-if)# ip address 10.4.3.1 255.255.255.255
Telefonica(config-if)# no shutdown
Telefonica(config)# interface Serial0/0
Telefonica(config-if)# ip address 10.3.2.2 255.255.255.0
Telefonica(config-if)# no shutdown
Telefonica(config)# interface Serial0/2
Telefonica(config-if)# ip address 10.3.4.1 255.255.255.0
Telefonica(config-if)# no shutdown
Telefonica(config)# router bgp 65000
Telefonica(config-router)# network 10.4.3.1 mask 255.255.255.255
Telefonica(config-router)# neighbor 10.3.2.1 remote-as 64600
Telefonica(config-router)# neighbor 10.3.4.2 remote-as 65200
Microsoft(config)# hostname Microsoft
Microsoft(config)# interface Loopback0
Microsoft(config-if)# ip address 10.4.4.1 255.255.255.255
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/0
Microsoft(config-if)# ip address 10.3.6.2 255.255.255.0
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/1
Microsoft(config-if)# ip address 10.3.5.2 255.255.255.0
Microsoft(config-if)# no shutdown
Microsoft(config)# interface Serial0/2
Microsoft(config-if)# ip address 10.3.4.2 255.255.255.0
Microsoft(config-if)# no shutdown
Microsoft(config)# router bgp 65200
Microsoft(config-router)# network 10.4.4.1 mask 255.255.255.255
Microsoft(config-router)# neighbor Telmex peer-group
Microsoft(config-router)# neighbor Telmex remote-as 64800
Microsoft(config-router)# neighbor 10.3.4.1 remote-as 65000
Microsoft(config-router)# neighbor 10.3.5.1 peer-group Telmex
Microsoft(config-router)# neighbor 10.3.6.1 peer-group Telmex
3. Comandos importantes
A continuación presentamos un resumen de los comandos más importantes para la configuración y la localización y corrección de errores que se debe de conocer en BGP.
(config)# router bgp autonomous-system
(config-router)# neighbor {ip-address | peer-group-name} remote-as autonomous-system
(config-router)# neighbor {ip-address | peer-group-name} shutdown
(config-router)# neighbor {ip-address | peer-group-name} update-source interface-type interface-number
(config-router)# neighbor {ip-address | peer-group-name} ebgp-multihop [ttl]
(config-router)# neighbor {ip-address | peer-group-name} next-hop-self
(config-router)# neighbor peer-group-name peer-group
(config-router)# neighbor ip-address peer-group peer-group-name
(config-router)# network network-number [mask network-mask] [route-map map-tag]
(config-router)# no synchronization
(config-router)# neighbor {ip-address | peer-group-name} password string
(config-router)# bgp default local-preference value
(cofnig-router)# default-metric number
# show ip bgp neighbors
# show ip bgp peering
# show ip bgp
# show ip bgp rib-rib-faliure
# clear ip bgp {* | neighbor-address}
# clear ip bgp {* | neighbor-address} [soft out]
(config-router)# neighbor ip-address soft-reconfiguration inbound
# clear ip bgp {* | neighbor-address} [soft in]
# clear ip bgp {* | neighbor-address} [soft in | in]
# debug ip bgp updates
lunes, 31 de agosto de 2009
CCNP Violento BSCI-642-901: Redistribución
1. Descripción del Escenario
Router de Máncora
Se configuran las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF
Router de Punta Sal y Colán
Se configura las direcciones IP de sus interfaces y se las activa
Se configura el comando ip helper-address para direccionar las solicitudes DHCP al servidor DHCP
Se configura enrutamiento OSPF
Router de Huanchaco
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF
Se activa la redistribución de EIGRP en OSPF
Se evita recibir las redes 10.0.17.0 y 10.0.33.0 de OSPF puesto que la mejor ruta es por Salinas
Se configura enrutamiento EIGRP
Se activa la redistribución de OSPF en EIGRP
Router de Mal Abrigo
Se configura las direcciones IP de sus interfaces y se las activa
Se configura enrutamiento OSPF
Se activa la redistribución de ISIS en OSPF
Se activa la redistribución de las interfaces conectadas en OSPF puesto que ISIS no exporta hacia OSPF las redes directamente conectadas
Se evita recibir las redes 10.0.16.0 y 10.0.32.0 de OSPF puesto que la mejor ruta es por Salinas
Se configura enrutamiento ISIS
Se activa la redistribución de OSPF en ISIS
Se evita que la ruta 10.0.1.0 se redistribuya en ISIS puesto que para el router de Salinas es más fácil alcanzar está red por el router de Huanchaco
Router de Salinas
Se configura las direcciones IP de sus interfaces y se las activa
Se configura el servidor DHCP para las redes de Punta Sal y Colán
Se configura enrutamiento EIGRP
Se activa la redistribución de ISIS en EIGRP
Se activa la redistribución de las interfaces conectadas en EIGRP puesto que ISIS no exporta hacia EIGRP las redes directamente conectadas
Se configura enrutamiento ISIS
Se activa la redistribución de EIGRP en ISIS
2. Configuración
A continuación se presenta la configuración completa de cada uno de los equipos de este escenario
Mancora(config)# hostname Mancora
Mancora(config)# interface Serial0/0
Mancora(config-if)# ip address 10.0.1.1 255.255.255.0
Mancora(config-if)# clock rate 2000000
Mancora(config)# interface Serial0/1
Mancora(config-if)# ip address 10.0.2.1 255.255.255.0
Mancora(config-if)# clock rate 2000000
Mancora(config)# router ospf 11
Mancora(config-router)# network 10.0.1.0 0.0.0.255 area 0
Mancora(config-router)# network 10.0.2.0 0.0.0.255 area 0
PuntaSal(config)# hostname PuntaSal
PuntaSal(config)# interface FastEthernet0/0
PuntaSal(config-if)# ip address 10.0.48.1 255.255.255.0
PuntaSal(config-if)# ip helper-address 10.0.32.1
PuntaSal(config)# interface Serial0/0
PuntaSal(config-if)# ip address 10.0.1.2 255.255.255.0
PuntaSal(config-if)# clock rate 2000000
PuntaSal(config)# interface Serial0/1
PuntaSal(config-if)# ip address 10.0.16.1 255.255.255.0
PuntaSal(config-if)# clock rate 2000000
PuntaSal(config)# router ospf 11
PuntaSal(config-router)# network 10.0.1.0 0.0.0.255 area 0
PuntaSal(config-router)# network 10.0.16.0 0.0.0.255 area 0
PuntaSal(config-router)# network 10.0.48.0 0.0.0.255 area 0
Colan(config)# hostname Colan
Colan(config)# interface FastEthernet0/0
Colan(config-if)# ip address 10.0.49.1 255.255.255.0
Colan(config-if)# ip helper-address 10.0.33.1
Colan(config)# interface Serial0/0
Colan(config-if)# ip address 10.0.2.2 255.255.255.0
Colan(config-if)# clock rate 2000000
Colan(config)# interface Serial0/1
Colan(config-if)# ip address 10.0.17.1 255.255.255.0
Colan(config-if)# clock rate 2000000
Colan(config)# router ospf 11
Colan(config-router)# network 10.0.2.0 0.0.0.255 area 0
Colan(config-router)# network 10.0.17.0 0.0.0.255 area 0
Colan(config-router)# network 10.0.49.0 0.0.0.255 area 0
Huanchaco(config)# hostname Huanchaco
Huanchaco(config)# interface Serial0/0
Huanchaco(config-if)# ip address 10.0.32.2 255.255.255.0
Huanchaco(config-if)# clock rate 2000000
Huanchaco(config-if)# no shutdown
Huanchaco(config)# interface Serial0/1
Huanchaco(config-if)# ip address 10.0.16.2 255.255.255.0
Huanchaco(config-if)# clock rate 2000000
Huanchaco(config-if)# no shutdown
Huanchaco(config)# router eigrp 11
Huanchaco(config-router)# redistribute ospf 11 metric 1000 100 255 50 1500
Huanchaco(config-router)# network 10.0.32.0 0.0.0.255
Huanchaco(config-router)# no auto-summary
Huanchaco(config)# router ospf 11
Huanchaco(config-router)# redistribute eigrp 11 metric-type 1 subnets
Huanchaco(config-router)# network 10.0.16.0 0.0.0.255 area 0
Huanchaco(config-router)# distribute-list 10 in Serial 0/1
Huanchaco(config)# access-list 10 deny 10.0.17.0 0.0.0.255
Huanchaco(config)# access-list 10 deny 10.0.33.0 0.0.0.255
Huanchaco(config)# access-list 10 permit any
MalAbrigo(config)# hostname MalAbrigo
MalAbrigo(config)# interface Serial 0/0
MalAbrigo(config-if)# ip address 10.0.33.2 255.255.255.0
MalAbrigo(config-if)# ip router isis
MalAbrigo(config-if)# clock rate 2000000
MalAbrigo(config-if)# no shutdown
MalAbrigo(config)# interface Serial0/1
MalAbrigo(config-if)# ip address 10.0.17.2 255.255.255.0
MalAbrigo(config-if)# clock rate 2000000
MalAbrigo(config)# router ospf 11
MalAbrigo(config-router)# redistribute connected metric-type 1 subnets
MalAbrigo(config-router)# redistribute isis level-1 metric-type 1 subnets
MalAbrigo(config-router)# network 10.0.17.0 0.0.0.255 area 0
MalAbrigo(config-router)# distribute-list 10 in Serial 0/1
MalAbrigo(config)# router isis
MalAbrigo(config)# net 49.0001.1104.1983.0002.00
MalAbrigo(config)# is-type level-1
MalAbrigo(config)# redistribute ospf 11 route-map redi-ospf level-1
MalAbrigo(config)# access-list 10 deny 10.0.16.0 0.0.0.255
MalAbrigo(config)# access-list 10 deny 10.0.32.0 0.0.0.255
MalAbrigo(config)# access-list 10 permit any
MalAbrigo(config)# access-list 20 permit 10.0.1.0 0.0.0.255
MalAbrigo(config)# Access-list 30 permit any
MalAbrigo(config)# route-map redi-ospf deny 10
MalAbrigo(config-routemap)# match ip address 20
MalAbrigo(config)# route-map redi-ospf permit 20
MalAbrigo(config-routemap)# match ip address 30
Salinas(config)# hostname Salinas
Salinas(config)# ip dhcp excluded-address 10.0.48.1 10.0.48.100
Salinas(config)# ip dhcp excluded-address 10.0.49.1 10.0.49.100
Salinas(config)# ip dhcp pool PuntaSal
Salinas(config-dhcp)# network 10.0.48.0 255.255.255.0
Salinas(config-dhcp)# default-router 10.0.48.1
Salinas(config-dhcp)# domain-name tongo-peru.pe
Salinas(config)# ip dhcp pool Colan
Salinas(config-dhcp)# network 10.0.49.0 255.255.255.0
Salinas(config-dhcp)# default-router 10.0.49.1
Salinas(config-dhcp)# domain-name tongo-peru.pe
Salinas(config)# interface Serial0/0
Salinas(config-if)# ip address 10.0.33.1 255.255.255.0
Salinas(config-if)# ip router isis
Salinas(config-if)# clock rate 2000000
Salinas(config-if)# no shutdown
Salinas(config)# interface Serial0/1
Salinas(config-if)# ip address 10.0.32.1 255.255.255.0
Salinas(config-if)# clock rate 2000000
Salinas(config-if)# no shutdown
Salinas(config)# router eigrp 11
Salinas(config-router)# redistribute connected metric 1000 100 255 50 1500
Salinas(config-router)# redistribute isis level-1 metric 1000 100 255 50 1500
Salinas(config-router)# network 10.0.32.0 0.0.0.255
Salinas(config-router)# no auto-summary
Salinas(config)# router isis
Salinas(config-router)# net 49.0001.1104.1983.0001.00
Salinas(config-router)# is-type level-1
Salinas(config-router)# redistribute eigrp 11 level-1
3. Comandos importantes
A continuación presentamos un resumen de los comandos más importantes para la configuración y la localización y corrección de errores que se debe de conocer en redistribución.
(config-router)# redistribute protocol [process-id] [match route-type][metric metric-value] [route-map map-tag]
(config-router)# redistribute protocol [process-id] [metric metric-value] [metric-type type-value][route-map map-tag] [subnets] [tag tag-value]
(config-router)# redistribute maximun-prefix maximun [threshold] [warning-only]
(config-router)# redistribute protocol [process-id] [match {internal | external1 | external2}] [metric bandwidth delay reliability load mtu] [route-map map-tag]
(config-router)# redistribute protocol [process-id] [level level-value] [metric metric-value] [metric-type type-value][route-map map-tag]
(config-router)#passive-interface {default | type number}
(config-router)# distribute-list {access-list-number | name} out {interface-name | routing-process [routing-process-parameter]}
(config-router)# distribute-list {[access-list-number | name] | [route-map map-tag]} in [interface-type interface-number]
(config)# route-map map-tag [permit | deny] [sequence-number]
(config-route-map)#match {conditions}
(config-route-map)#set {actions}
Match: community, interface, ip address, ip next-hop, ip route-source, length, metric, route-type, tag
Set: as-path, automatic-tag, community, default interface, interface, ip default next-hop, ip next-hop, level, local-preference, metric, tag, weight, metric-type
(config)# ip dhcp pool [pool name]
(config-dhcp)# import all
(config-dhcp)# network network-number [mask | prefix-length]
(config-dhcp)# default-router [host | address]
(config-if)# ip address dhcp
(config-if)# ip helper-address address
(config)# ip forward-protocol {udp [port]}
(config)# ip dhcp information option
# show ip dhcp database
# show ip dhcp server statistics
# show ip route dhcp
# debug ip dhcp server {events | packets | linkage}
lunes, 24 de agosto de 2009
CCNP Violento BSCI-642-901: Configuración de Enrutamiento IS-IS
CCNP Violento BSCI-642-901: Configuración de Enrutamiento IS-IS

1. Descripción de la Configuración de Cada Router
Miraflores y San Isidro
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.
San Miguel
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura summarization nivel 2.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.
San Borja
Se configura las direcciones IP de sus interfaces.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura el router para enviar IIH sólo de nivel 1.
Se activa IS-IS en cada interfaz.
Washington
Se configura las direcciones IP de sus interfaces.
Se configura los enlaces frame relay en sub-interfaces punto a punto.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura summarization nivel 2.
Se activa IS-IS en cada interfaz y se selecciona el correspondiente nivel de IIH de cada interfaz.
Trujillo y Arequipa
Se configura las direcciones IP de sus interfaces.
Se configura los enlaces frame relay en sub-interfaces punto a punto.
Se configura enrutamiento IS-IS y se especifica el NET del router.
Se configura el router para enviar IIH sólo de nivel 1.
Se activa IS-IS en cada interfaz.
2. Configuración
A continuación tenemos la configuración de cada Router.
Miraflores(config)# hostname Miraflores
Miraflores(config)# interface Serial0/0
Miraflores(config-if)# ip address 10.0.1.1 255.255.255.0
Miraflores(config-if)# ip router isis
Miraflores(config-if)# no shutdown
Miraflores(config)# interface Serial0/1
Miraflotes(config-if)# ip address 10.0.2.1 255.255.255.0
Miraflores(config-if)# ip router isis
Miraflores(config-if)# isis circuit-type level-2-only
Miraflores(config-if)# no shutdown
Miraflores(config)#router isis
Miraflores(config)#net 49.0001.1104.1983.0001.00
SanIsidro(config)# hostname SanIsidro
SanIsidro(config)# interface Serial0/0
SanIsidro(config-if)# ip address 10.0.1.2 255.255.255.0
SanIsidro(config-if)# ip router isis
SanIsidro(config-if)# no shutdown
SanIsidro(config)# interface Serial0/1
SanIsidro(config-if)# ip address 10.0.3.1 255.255.255.0
SanIsidro(config-if)# ip router isis
SanIsidro(config-if)# isis circuit-type level-2-only
SanIsidro(config-if)# no shutdown
SanIsidro(config)# router isis
SanIsidro(config-router)# net 49.0001.1104.1983.0002.00
SanMiguel(config)# hostname SanMiguel
SanMiguel(config)# interface FastEthernet0/0
SanMiguel(config-if)# ip address 10.0.8.1 255.255.255.0
SanMiguel(config-if)# ip router isis
SanMiguel(config-if)# isis circuit-type level-1
SanMiguel(config-if)# no shutdown
SanMiguel(config)# interface Serial0/0
SanMiguel(config-if)# ip address 10.0.2.2 255.255.255.0
SanMiguel(config-if)# ip router isis
SanMiguel(config-if)# isis circuit-type level-2-only
SanMiguel(config-if)# no shutdown
SanMiguel(config)# router isis
SanMiguel(config-router)# net 49.0002.1104.1983.0003.00
SanMiguel(config-router)# summary-address 10.0.8.0 255.255.248.0
SanBorja(config)# hostname SanBorja
SanBorja(config)# interface FastEthernet0/0
SanBorja(config-if)# ip address 10.0.8.2 255.255.255.0
SanBorja(config-if)# ip router isis
SanBorja(config-if)# no shutdown
SanBorja(config)# interface FastEthernet0/1
SanBorja(config-if)# ip address 10.0.9.1
SanBorja(config-if)# ip router isis
SanBorja(config-if)# no shutdown
SanBorja(config)# router isis
SanBorja(config-router)# net 49.0002.1104.1983.0004.00
SanBorja(config-router)# is-type level-1
Washington(config)# hostname Washington
Washington(config)# interface Serial0/0
Washington(config-if)# ip address 10.0.3.2 255.255.255.0
Washington(config-if)# ip router isis
Washington(config-if)# isis circuit-type level-2-only
Washington(config-if)# no shutdown
Washington(config)# interface Serial0/1
Washington(config-if)# no ip address
Washington(config-if)# encapsulation frame-relay
Washington(config-if)# no shutdown
Washington(config)# interface Serial0/1.1 point-to-point
Washington(config-subif)# ip address 10.0.16.1 255.255.255.0
Washington(config-subif)# ip router isis
Washington(config-subif)# isis circuit-type level-1
Washington(config-subif)# frame-relay interface-dlci 102
Washington(config-subif)# no shutdown
Washington(config)# interface Serial0/1.2 point-to-point
Washington(config-subif)# ip address 10.0.17.1 255.255.255.0
Washington(config-subif)# ip router isis
Washington(config-subif)# isis circuit-type level-1
Washington(config-subif)# frame-relay interface-dlci 103
Washington(config-subif)# no shutdown
Washington(config)# router isis
Washington(config-router)# net 49.0003.1104.1983.0005.00
Washington(config-router)# summary-address 10.0.16.0 255.255.248.0
Trujillo(config)# hostname Trujillo
Trujillo(config)# interface FastEthernet0/0
Trujillo(config-if)# ip address 10.0.18.1 255.255.255.0
Trujillo(config-if)# ip router isis
Trujillo(config-if)# no shutdown
Trujillo(config)# interface Serial0/0
Trujillo(config-if)# no ip address
Trujillo(config-if)# encapsulation frame-relay
Trujillo(config-if)# no shutdown
Trujillo(config)# interface Serial0/0.1 point-to-point
Trujillo(config-subif)# ip address 10.0.16.2 255.255.255.0
Trujillo(config-subif)# ip router isis
Trujillo(config-subif)# frame-relay interface-dlci 201
Trujillo(config-subif)# no shutdown
Trujillo(config)# router isis
Trujillo(config-router)# net 49.0003.1104.1983.0006.00
Trujillo(config-router)# is-type level-1
Arequipa(config)# hostname Arequipa
Arequipa(config)# interface FastEthernet0/0
Arequipa(config-if)# ip address 10.0.19.1 255.255.255.0
Arequipa(config-if)# ip router isis
Arequipa(config-if)# no shutdown
Arequipa(config)# interface Serial0/0
Arequipa(config-if)# no ip address
Arequipa(config-if)# encapsulation frame-relay
Arequipa(config-if)# no shutdown
Arequipa(config)# interface Serial0/0.1 point-to-point
Arequipa(config-subif)# ip address 10.0.17.2 255.255.255.0
Arequipa(config-subif)# ip router isis
Arequipa(config-subif)# frame-relay interface-dlci 301
Arequipa(config-subif)# no shutdown
Arequipa(config)#router isis
Arequipa(config-router)# net 49.0003.1104.1983.0007.00
Arequipa(config-router)# is-type level-1
3. Comandos importantes
A continuación presentamos los comandos más importantes para la configuración y localización y corrección de errores que se debe de conocer en IS-IS.
# show clns
# show clns [area-tag] protocol
# show clns interface [type number]
# show clns [area-tag] neighbors [type number] [detail]
# show clns route [nsap]
# show isis [area-tag] route
# show isis [area-tag] database
# show isis [area-tag] topology
(config-router)# net network-entity-title
(config-if)# ip router isis [area-tag]
(config-router)# is-type [level-1 | level-1-2 | level-2-only]
(config-if)# isis circuit-type [level-1 | level-1-2 | level-2-only]
(config-if)# isis metric metric [level-1 | level-2]
(config-router)# metric default-value [level-1 | level-2]
(config-router)# summary-address address mask [level-1 | level-2 | level-1-2]