Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CISCO
Guía de comandos de Cisco desde Básico hacia Avanzado, con este
manual usted podrá encontrar ejemplos al mas alto nivel de expertos en
configuraciones CISCO
Contenido
Comandos Básicos ...............................................................................................................8
Copiar el Running config al Startup ...............................................................8
Ver la configuración ..................................................................................................8
Habilitar CDP ...............................................................................................................8
Habilitar CDP por interfaz ................................................................................8
Monitorear y mantener CDP ......................................................................................8
LLDP ........................................................................................................................................8
Habilitar LLDP ............................................................................................................8
Show Commands ...............................................................................................................8
Cambiar el nombre al Router o Switch ............................................................9
Configurar enlaces WAN SERIALES ........................................................................9
Configurar interfaces fastethernet .................................................................9
Mensajes no solicitados de iOS...........................................................................9
Configurar Mensaje de Ingreso a los router o switchs .......................9
Configurar PoE ................................................................................................................9
Contraseñas .........................................................................................................................10
Consola ...............................................................................................................................10
Telnet .................................................................................................................................10
SSH ........................................................................................................................................10
NAT ............................................................................................................................................11
Static NAT ........................................................................................................................11
Configurando Dynamic NAT .......................................................................................11
Configurar PAT OVERLOAD .........................................................................................12
Clear Commands ..............................................................................................................13
Troueblesooting ............................................................................................................13
DHCP ..........................................................................................................................................13
Configurar DHCP ............................................................................................................13
Configurando IP-Helper Address.........................................................................14
Troublesooting ..............................................................................................................15
IP SLA .....................................................................................................................................15
Configurar IP SLA .......................................................................................................15
Troubleshooting ............................................................................................................15
1
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
SNMP ..........................................................................................................................................16
SNMPv2c ...............................................................................................................................16
Configurar SNMPv2c Support for Trap and Inform ...................................16
Troubleshooting ............................................................................................................16
SNMPv3 .................................................................................................................................17
Configurar Rutas Estáticas ......................................................................................17
Borrar rutas estáticas ...........................................................................................17
Configurar rutas por defecto .................................................................................17
Debug .......................................................................................................................................17
Uso de enrutamiento de IP de depuración ...................................................17
Protocolos de Enrutamiento ......................................................................................18
Classfull ..........................................................................................................................18
Classless ..........................................................................................................................18
IPv6 ......................................................................................................................................18
Distancia Administrativa .......................................................................................18
Verificando distancia administrativa y tipo de Protocolo ...........18
RIPv1 ...................................................................................................................................18
Configurando RIPv1 .................................................................................................18
Verificación y solución de problemas ......................................................19
Configurar Passive Interface .........................................................................19
Desabilitando Automatic Summarization ....................................................19
Configurar Default-Information Originate .............................................19
RIPv2 ...................................................................................................................................19
Configurando RIPv2 .................................................................................................19
Verificación y solución de problemas ......................................................19
Desabilitando Automatic Summarization ....................................................19
Configurar Default-Information Originate .............................................19
Configurar Passive Interface .........................................................................20
Verificando actualizaciones ............................................................................20
EIGRP (Distance Vector Protocol) ....................................................................20
Enabling EIGRP Routing .......................................................................................20
EIGRP Interface commands ...................................................................................20
Miscellaneous .............................................................................................................21
2
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Show commands .............................................................................................................21
Modificar la métrica EIGRP ..............................................................................21
Configurando Hello Intervals and Hold Times ......................................21
Troubleshooting ............................................................................................................22
Dirección muticast .....................................................................................................22
OSPF (Link-state routing protocol) ...............................................................22
Configuring OSPF Routing ...................................................................................22
Prioritizing the DR (Router ID) ..................................................................22
Show commands .............................................................................................................23
Timers .............................................................................................................................23
Miscellaneous .............................................................................................................23
Referencia rápida: OSPF Routing - Multiple Areas ........................23
Configuring OSPF Routing ...................................................................................24
OSPF Routing - Area Range (Summarization) ...........................................25
IPv6 ..........................................................................................................................................26
RIPNG ...................................................................................................................................26
Configurando RIPng .................................................................................................26
Propagando Default Route ...................................................................................26
EIGRP for IPv6 ..............................................................................................................27
Dirección de Multicast .......................................................................................27
Show commands .............................................................................................................27
Sumarizacion Manual...............................................................................................27
Configuración de EIGRP for IPv6 ..................................................................27
OSPF V3 ...............................................................................................................................73
Show Commands .............................................................................................................73
Configurando Interfaces .....................................................................................73
RADIUS Server...................................................................................................................101
Show Commands...............................................................................................................101
Dialer Interface ...........................................................................................................101
Switching ............................................................................................................................102
VLANS .................................................................................................................................102
Crear un Vlan ...........................................................................................................102
Configuración de un Puerto Troncal .........................................................102
3
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configurando Puertos de Acesso...................................................................102
Configurar VLAN ......................................................................................................102
Asignando un Puerto a una VLAN...................................................................102
Borrando VLANs ........................................................................................................103
Configurando VLAN Nativa .................................................................................103
Configurando Private Vlans ............................................................................103
Configurando Asociaciones de puertos en PVlans .............................103
Troubleshooting ......................................................................................................104
Vlan de Voz ...................................................................................................................104
Switchport voice vlan none ............................................................................104
Switchport voice vlan dot1p ..........................................................................104
Switchport voice vlan untagged...................................................................104
Switchport voice vlan vvid (opción recomendada)...........................105
VTP ......................................................................................................................................105
Configurando Dominios ........................................................................................105
Configurando el servidor y cliente .........................................................105
Configurando VTP Pruning .................................................................................105
EtherChannel .................................................................................................................105
Configurando EtherChannel Load Balancing ...........................................105
Asignando puertos y configurando el protocolo ...............................105
Configurando metodos en Pagp .......................................................................105
Configurando LACP .................................................................................................106
Troubleshooting ......................................................................................................107
Spanning tree (STP) ................................................................................................107
Configurando STP....................................................................................................107
Configurando un Root Bridge ..........................................................................107
Cambiar el Root Bridge .....................................................................................107
Configurando PortFast ........................................................................................107
Configuración de BPDU GUARD ..........................................................................107
Configuración de Root Guard ..........................................................................107
Implementar PVST....................................................................................................108
Implementar PVST+ .................................................................................................108
Implementar Multiple Spanning Tree Protocol (MSTP) ...................108
4
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Troubleshooting ......................................................................................................109
DHCPv6 ...............................................................................................................................109
Troublesooting ........................................................................................................110
WAN ..........................................................................................................................................111
Comandos PPP .................................................................................................................111
Configurar PPP ........................................................................................................111
Verificación de PPP.............................................................................................112
Configuración de la autenticación (PAP o CHAP) .............................112
Configuring PPP Multilink (MLP) ................................................................114
Error Detection ......................................................................................................114
Troubleshooting ......................................................................................................114
BGP ......................................................................................................................................115
Configuración de EBGP ........................................................................................116
Configurar rutas de descarte .......................................................................116
Show Commands ...........................................................................................................116
Estado vecino con el Neighbor Shut Down .............................................116
Alta disponibilidad ....................................................................................................116
HSRP ....................................................................................................................................116
Configuración HSRP Switchs ............................................................................116
Autenticación texto plano ..............................................................................117
Autenticación MD5 .................................................................................................117
Configurando HSRP Interface Tracking ....................................................117
Configuración HSRP Routers ............................................................................118
Configurar HSRP Interface Tracking .........................................................119
Diferencias entre HSRPv1 y HSRPv2............................................................119
Troubleshooting ......................................................................................................119
VRRP (Virtual Router Redundancy Protocol).............................................120
GBLP ....................................................................................................................................120
Configurar GBLP ......................................................................................................120
GLBP Interface Tracking ...................................................................................121
Netflow IOS .......................................................................................................................121
SPAN ........................................................................................................................................121
Configurar Local SPAN ............................................................................................121
5
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configurar SPAN ..........................................................................................................122
Troubleshooting ..........................................................................................................122
Seguridad ............................................................................................................................123
Switch Security ..........................................................................................................123
BPDU GUARD ..................................................................................................................123
Root Guard ..................................................................................................................123
Port Security ...........................................................................................................124
Troubleshooting Port security .....................................................................124
DHCP SNOOPING ...........................................................................................................125
IP Source Guard ......................................................................................................126
Troubleshooting DHCP SNOOPING .....................................................................126
Prevencion de ARP Spoofing ................................................................................126
Mejorando seguridad en Telnet .....................................................................127
HTTP Secure Server ...............................................................................................127
Authentication, Authorization, and Accounting (AAA) .................128
TACACS+ .........................................................................................................................128
Radius ...........................................................................................................................128
Accounting ..................................................................................................................129
Security Using IEEE 802.1X Port-Based Authentication ............129
QoS ..........................................................................................................................................130
Configurando CoS trust using the IOS ........................................................130
Asignando CoS on a per-port basis ...............................................................131
Reescribiendo el CoS ..............................................................................................131
Implementing QoS for Voice ................................................................................131
Configuración de QoS para voz .........................................................................131
Auto QoS ..........................................................................................................................131
Interfaz de línea de comandos de QoS modular (CLI) .......................132
Classification of traffic – The class-map .........................................132
Definiendo the QoS policy – The policy-map ......................................132
Aplicando the policy to an interface – The service-policy ...132
IP Precedence and DSCP .........................................................................................132
Configuración de la confianza cos mediante el iOS ......................132
Asignando CoS on a per-port basis............................................................133
6
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Rescribiendo the CoS ..........................................................................................133
Usando a MAC ACL to assign a DSCP value .............................................133
Configurando DSCP usando a MAC ACL .........................................................133
Uso de una ACL IP para definir el DSCP o la precedencia ........134
Configuración weighted fair queuing (WFQ).............................................134
Configuración Class-Based Weighted Fair Queuing ..............................135
CBWFQ Using WRED Packet Drop .......................................................................135
Low Latency Queuing (LLQ) ..................................................................................135
Multicast ............................................................................................................................136
PIM ......................................................................................................................................136
Configuración RPs .................................................................................................137
IGMP - Internet Group Management Protocol.............................................137
Configuración de las joins IGMP ................................................................137
CGMP ................................................................................................................................137
VPN ..........................................................................................................................................138
GRE .......................................................................................................................................138
IPSEC VPN .............................................................................................................................139
Paso 1 Configurar las interfaces .......................................................................................139
Paso 2 Configurar EIGRP ...................................................................................................140
Paso 3 Crear Políticas IKE .................................................................................................140
Paso 4 Configurar pre-shared keys ...................................................................................140
Paso 5 configurar IPsec transform set Lifetimes...............................................................141
Paso 6 definir interesting traffic .......................................................................................141
Paso 7 Crear y aplicar Crypto Maps ..................................................................................141
Paso 8 Verificar Ipsec configuration .................................................................................141
Paso 9 Verificar operación IPSEC ......................................................................................141
Paso 10 Probar .................................................................................................................142
MPLS ........................................................................................................................................143
7
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Comandos Básicos
Ver la configuración
Router# show running-config
Habilitar CDP
Switch(config)# cdp run
LLDP
Habilitar LLDP
switch(config)# lldp run
switch(config)# end
Switch(config)# interface fastethernet 5/1
Switch(config-if)# lldp enable
Show Commands
R1#show lldp neighbors
8
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Cambiar el nombre al Router o Switch
Router# configure terminal
Router(config)# hostname R1
R1(config-if)# no shutdown
R1(config-if)# no shutdown
R1(config-if)# no shutdown
Configurar PoE
Switch(config)# interface type mod/num
Switch(config-if)# power inline {auto [max milli-watts] | never
| static [max milli-watts]}
Ejemplo
Switch(config)# interface fastethernet 0/1
Switch(config-if)# power inline auto
Switch# show power inline fastethernet 0/1
9
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Contraseñas
Consola
Router(config)# enable secret password privilege password
Router(config-line)# login
Telnet
Router(config)# line vty 0 4 telnet password
Router(config-line)# login
SSH
Paso 1
Paso 4
• SW1(config)#line vty 0 15
• SW1(config-line)#login local
• SW1(config-line)#exit
• SW1(config)#username wendell password odom
• SW1(config)#username chris password youdaman
Ejemplo 2
switch(config)# username xyz password abc123
10
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
switch(config)# ip domain-name xyz.com
switch(config)# crypto key generate rsa
switch(config)# ip ssh version 2
switch(config)# line vty 0 15
switch(config-line)# login local
switch(config-line)# transport input ssh
NAT
Static NAT
R1(config)#ip nat inside source static [inside local] [inside
global]
Ejemplo
11
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(config)# access-list 1 permit 10.1.0.0 0.0.255.255
R1(config)#interface ethernet 0
R1(config-if)#ip address 10.1.1.1 255.255.255.0
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#interface serial 0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#ip nat outside
R1(config-if)#exit
R1(config)# ip nat pool nat-pool 179.9.8.80 179.9.8.95 netmask
255.255.255.0
R1(config)#ip nat inside source list 1 pool nat-pool
12
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(config)#interface ethernet 0
R1(config-if)#ip address 192.168.3.1 255.255.255.0
R1(config-if)#ip nat inside
R1(config)#interface ethernet 1
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#ip nat inside
R1(config)#interface serial 0
R1(config-if)#ip address 172.16.2.1 255.255.255.0
R1(config-if)#ip nat outside
R1(config)# access-list 1 permit 192.168.2.0 0.0.0.255
R1(config)# access-list 1 permit 192.168.3.0 0.0.0.255
R1(config)# ip nat pool nat-pool2 179.9.8.20 netmask
255.255.255.240
R1(config)# ip nat inside source list 1 interface serial 0
overload
Clear Commands
R1#clear ip nat translations
R1#clear ip nat translation inside global-ip local-ip [outside
local-ip global-ip]
R1#clear ip nat translation protocol inside global-ip global-
port local-ip local-port [outside local-ip local-port global-ip
global-ip global-port]
Troueblesooting
R1# show ip nat translations
R1# show ip nat statistics
R1# debug ip nat
DHCP
Configurar DHCP
R1(config)#ip dhcp pool pool-name
R1(config)#ip dhcp-excluded-address ip-address [end-ip-address]
R1(dhcp-config)#network ip-address mask
R1(dhcp-config)#default-router ip-adress
R1(dhcp-config)#dns-server ip-address
13
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(dhcp-config)#netbios-name-server ip-address
R1(dhcp-config)#domain-name name
Ejemplo
Router (config) #ip excluded-address 172.16.1.254
Router (config) dhcp pool subnet12
Router (dhcp-config)#network 172 . 16. 12.0 255.255 .255.0
Router (dhcp—config)# default-router 172.16.12.254
Router (dhcp—config)#dns-server 172. 16. 1.2
R1(dhcp-config)#netbios-name-server 172.16.1.3
Router (dhc-confi )#domain—name foo.com
RTA(config)#interface e0
RTA(config-if)#ip helper-address 192.168.1.254
14
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Troublesooting
R1# show ip dhcp binding
R1# debug ip dhcp server events
IP SLA
Configurar IP SLA
Troubleshooting
R1#show ip sla summary
R1#show ip sla configuration
15
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1#show ip sla statistics
R1#show ip sla history
SNMP
SNMPv2c
COMANDO EJEMPLO
R1(config)# ip access-list R1(config)#ip access list
standard [nombre_ACL] standard ACL_PROTECTSNMP
R1(config)#permit host [IP] R1(config)#permit host
10.1.3.3
R1(config)#snmp-server ¡
community community string RO R1(config)#snmp-server
[IPv6 acl_name] [acl_name] community secretROpw RO ACL_
R1(config)#snmp-server PROTECTSNMP
community community string RW R1(config)#snmp-server
RO [IPv6 acl_name] [acl_name] community secretRWpw RW ACL_
R1(config)#snmp-server PROTECTSNMP
location [nombre] R1(config)#snmp-server
R1(config)#snmp-server contact location Atlanta
[nombre] R1(config)#snmp-server contact
Tyler B
Troubleshooting
R1# show snmp community
R1# show snmp location
R1# show snmp contact
R1# show snmp host
R1# show snmp
16
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
SNMPv3
Debug
Uso de enrutamiento de IP de depuración
R2# debug ip routing
17
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Protocolos de Enrutamiento
Classfull
• RIP
• IGRP
Classless
• RIP v2
• EIGRP
• OSPF v2
• IS-IS
IPv6
• RIPng
• EIGRP for IPv6
• OSPF v3
• IS-IS for IPv6
Distancia Administrativa
RIPv1
Configurando RIPv1
R1# conf terminal
18
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(config-router)# exit
R2(config-router)# end
RIPv2
Configurando RIPv2
R1# conf terminal
R1(config-router)# version 2
R1(config-router)# exit
R2(config-router)# end
19
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configurar Passive Interface
Router(config-router)# passive-interface interface-type interface-
number
Verificando actualizaciones
R2# debug ip rip
20
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Miscellaneous
Router(config-router)# default-metric 56 100 255 10 1500 {k
values)
Show commands
Router# show ip eigrp neighbors {muestra los vecinos}
Redistribution
Dirección muticast
224.0.0.10
1. Priority
Authentication
22
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Show commands
Router# show ip protocols
Timers
Router(config-if)# ip ospf hello-interval value
Miscellaneous
Router# debug ip ospf
Stub Area
• Receives summary LSAs (routes) within its own autonomous system
• Does not receive external LSAs (routes)
• Default route injected automatically by ABR
24
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
OSPF Routing - Area Range (Summarization)
Virtual Links
Miscellaneous
Router(config-router)# area process-id default-cost metric
25
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
IPv6
RIPNG
Configurando RIPng
26
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Only option
R1(config)# ipv6 route ::/0 2001:DB8:FEED:1::1
R1(config)# interface Ethernet 0/3
R1(config-if)# ipv6 rip CCNP_RIP default-information only
Show commands
R2# show ipv6 interface brief
Sumarizacion Manual
R3(config-if)# ipv6 summary-address eigrp 2 2001:db8:f::/62
Topologia
27
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Objectives
• Configure Named EIGRP for IPv4 and IPv6.
• Verify Named EIGRP configuration.
• Configure and verify passive routes Named EIGRP
configuration.
• Configure and verify default route using Named EIGRP
configuration.
Background
What is known as “classic” EIGRP requires separate EIGRP
configuration modes and commands for IPv4 and IPv6. Each process is
configured separately, router eigrp as-number for IPv4 and ipv6
router eigrp as-number for IPv6.
Named EIGRP uses the address family (AF) feature to unify the
configuration process when implementing both IPv4 and IPv6. In this
lab, you will configure named EIGRP for IPv4 and IPv6.
Note: This lab uses Cisco 1941 routers with Cisco IOS Release 15.4
with IP Base. The switches are Cisco WS-C2960-24TT-L with
Fast Ethernet interfaces, therefore the router will use routing
metrics associated with a 100 Mb/s interface. Depending on the
router or switch model and Cisco IOS Software version, the commands
available and output produced might vary from what is shown in this
lab.
28
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Required Resources
• 4 routers (Cisco IOS Release 15.2 or comparable)
• 3 switches (LAN interfaces)
• Serial and Ethernet cables
30
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config-if)# no shutdown
R3(config-if)#
31
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
2001:DB8:CAFE:2::1
Serial0/0/1 [administratively down/down]
unassigned
R1#
32
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
network Enable routing on an IP network
no Negate a command or set its defaults
shutdown Shutdown address family
timers Adjust peering based timers
topology Topology configuration mode
R1(config-router-af)#
c. In address family configuration mode you can enable EIGRP for
specific interfaces and define other general parameters such as
the router ID and stub routing. Issue the eigrp ? to see the
available options configured using the eigrp command. Use the
eigrp router-id command to configure the EIGRP router ID for the
IPv4 address family.
R1(config-router-af)# eigrp ?
default-route-tag Default Route Tag for the Internal
Routes
log-neighbor-changes Enable/Disable EIGRP neighbor logging
log-neighbor-warnings Enable/Disable EIGRP neighbor warnings
router-id router id for this EIGRP process
stub Set address-family in stubbed mode
33
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(config-router-af)#
b. Use the eigrp router-id command to configure the EIGRP router ID
for the IPv4 address family. The IPv6 router ID does not have to
match the a router ID configured for IPv4.
R1(config-router-af)# eigrp router-id 1.1.1.1
R1(config-router-af)#
c. By default, all IPv6 interfaces are automatically enabled for
EIGRP for IPv6. This will be explored further in the next step.
In this scenario, is the eigrp router-id command required to
configure a router ID for the IPv4 AF? Is it required for the
IPv6 AF? What would happen if the router ID was not configured
using the eigrp router-id command?
________________________________________________________________
_________________
In this scenarios, the eigrp router-id command is not required
because the routers have at least one active IPv4 address. If
the eigrp router-id command is not used, the router will use the
highest IPv4 loopback address. If there are no IPv4 loopback
addresses, the router will use the highest IPv4 address on an
active physical interface. The router ID is a 32-bit value for
both EIGRP for IPv4 and IPv6.
35
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Address Family Interfaces configuration commands:
add-paths Advertise add paths
authentication authentication subcommands
bandwidth-percent Set percentage of bandwidth percentage
limit
bfd Enable Bidirectional Forwarding Detection
dampening-change Percent interface metric must change to
cause update
dampening-interval Time in seconds to check interface metrics
default Set a command to its defaults
exit-af-interface Exit from Address Family Interface
configuration mode
hello-interval Configures hello interval
hold-time Configures hold time
next-hop-self Configures EIGRP next-hop-self
no Negate a command or set its defaults
passive-interface Suppress address updates on an interface
shutdown Disable Address-Family on interface
split-horizon Perform split horizon
summary-address Perform address summarization
R1(config-router-af-interface)#
The interface configuration mode commands are similar for both
the IPv4 and IPv6 address families. Commands issued are specific
for an interface within the address family, IPv4 or IPv6.
c. Using the passive-interface command, configure G0/0 interface as
passive for both the IPv4 and IPv6 EIGRP address families.
R1(config-router-af-interface)# passive-interface
R1(config-router-af-interface)# exit-af-interface
R1(config-router-af)# exit-address-family
R1(config-router)# address-family ipv6 unicast autonomous-system
6
R1(config-router-af)# af-interface gigabitethernet 0/0
R1(config-router-af-interface)# passive-interface
R1(config-router-af-interface)# exit-af-interface
R1(config-router-af)# exit-address-family
R1(config-router)#
d. Configure R2’s G0/0 interface as passive for both the IPv4 and
IPv6 address families.
R2(config)# router eigrp DUAL-STACK
R2(config-router)# address-family ipv4 unicast autonomous-system
4
R2(config-router-af)# af-interface gigabitethernet 0/0
R2(config-router-af-interface)# passive-interface
R2(config-router-af-interface)# exit-af-interface
36
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R2(config-router-af)# exit-address-family
R2(config-router)# address-family ipv6 unicast autonomous-system
6
R2(config-router-af)# af-interface gigabitethernet 0/0
R2(config-router-af-interface)# passive-interface
R2(config-router-af-interface)# exit
R2(config-router-af)# exit
R2(config-router)#
e. Configure R3’s G0/0 interface as passive for both the IPv4 and
IPv6 address families.
R3(config)# router eigrp DUAL-STACK
R3(config-router)# address-family ipv4 unicast autonomous-system
4
R3(config-router-af)# af-interface gigabitethernet 0/0
R3(config-router-af-interface)# passive-interface
R3(config-router-af-interface)# exit-af-interface
R3(config-router-af)# exit-address-family
R3(config-router)# address-family ipv6 unicast autonomous-system
6
R3(config-router-af)# af-interface gigabitethernet 0/0
R3(config-router-af-interface)# passive-interface
R3(config-router-af-interface)# exit
R3(config-router-af)# exit
R3(config-router)#
Notice the exit command was used as the shorter method for the
exit-af-interface and exit-address-family commands.
37
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 16
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 6
Total Redist Count: 0
Interfaces:
Serial0/0/1
Serial0/1/0
GigabitEthernet0/0 (passive)
Redistribution:
None
R3#
38
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
IPv6 Routing Protocol is "ND"
IPv6 Routing Protocol is "eigrp 6"
EIGRP-IPv6 VR(DUAL-STACK) Address-Family Protocol for AS(6)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
Metric rib-scale 128
Metric version 64bit
NSF-aware route hold timer is 240
Router-ID: 3.3.3.3
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 16
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 5
Total Redist Count: 0
Interfaces:
Serial0/0/1
GigabitEthernet0/0 (passive)
Redistribution:
None
R3#
Does the shutdown command used on S0/1/0 within the IPv6 AF also
have the same affect for that interface within the IPv4 AF?
________________________________________________________________
_________________
No, the shutdown command on S0/1/0 was configured within the
IPv6 AF and has no affect on the IPv4 AF.
39
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
a. Redistribution of static routes in named EIGRP is done in
topology configuration mode. Topology configuration mode is a
subset of an address family. By default, EIGRP has a base
topology for each address family. Additional topologies can be
configured for Multitopology Routing (MTR) which is used to
enable an EIGRP process for a specified topology. MTR is beyond
the scope of CCNP.
For each address family, issue the topology base command to
enter the base EIGRP topology. In topology configuration mode
use the redistribute static command to redistribute the default
static route into EIGRP.
R3(config)# router eigrp DUAL-STACK
R3(config-router)# address-family ipv4 unicast autonomous-system
4
R3(config-router-af)# topology base
R3(config-router-af-topology)# ?
Address Family Topology configuration commands:
auto-summary Enable automatic network number
summarization
default Set a command to its defaults
default-information Control distribution of default
information
default-metric Set metric of redistributed routes
distance Define an administrative distance
distribute-list Filter entries in eigrp updates
eigrp EIGRP specific commands
exit-af-topology Exit from Address Family Topology
configuration mode
maximum-paths Forward packets over multiple paths
metric Modify metrics and parameters for
advertisement
no Negate a command or set its defaults
offset-list Add or subtract offset from EIGRP metrics
redistribute Redistribute IPv4 routes from another
routing protocol
snmp Modify snmp parameters
summary-metric Specify summary to apply metric/filtering
timers Adjust topology specific timers
traffic-share How to compute traffic share over
alternate paths
variance Control load balancing variance
40
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config-router-af-topology)# redistribute static
R3(config-router-af-topology)# exit-af-topology
R3(config-router-af)# exit-address-family
R3(config-router)#
b. Issue the show ip protocols and show ipv6 protocols commands to
verify that EIGRP is redistributing the static route.
R3# show ip protocols
*** IP Routing is NSF aware ***
Interfaces:
Serial0/0/1
GigabitEthernet0/0 (passive)
Redistribution:
Redistributing protocol static
IPv6 Routing Protocol is "static"
R3#
Why does the show ip protocols command indicate that automatic
summarization is disabled?
________________________________________________________________
_______________
In IOS 15, automatic summarization in EIGRP for IPv4 is disabled
by default. It can be enabled using the auto-summary command in
topology configuration mode.
42
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1# show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
43
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1#
R2#
R2# show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "application"
IPv6 Routing Protocol is "ND"
IPv6 Routing Protocol is "eigrp 6"
EIGRP-IPv6 VR(DUAL-STACK) Address-Family Protocol for AS(6)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 K6=0
Metric rib-scale 128
Metric version 64bit
NSF-aware route hold timer is 240
Router-ID: 2.2.2.2
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 16
Maximum hopcount 100
Maximum metric variance 1
Total Prefix Count: 6
Total Redist Count: 0
Interfaces:
Serial0/0/0
Serial0/0/1
GigabitEthernet0/0 (passive)
Redistribution:
None
R2#
b. Issue the show ip eigrp neighbors and show ipv6 eigrp neighbors
command on R1 to verify the neighbor adjacencies with R2.
R1# show ip eigrp neighbors
EIGRP-IPv4 VR(DUAL-STACK) Address-Family Neighbors for AS(4)
45
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
H Address Interface Hold Uptime
SRTT RTO Q Seq
(sec)
(ms) Cnt Num
0 192.168.2.2 Se0/0/0 13 03:56:20
31 186 0 8
R1# show ipv6 eigrp neighbors
EIGRP-IPv6 VR(DUAL-STACK) Address-Family Neighbors for AS(6)
H Address Interface Hold Uptime
SRTT RTO Q Seq
(sec)
(ms) Cnt Num
0 Link-local address: Se0/0/0 13 00:09:14
669 4014 0 21
FE80::2
R1#
c. Examine R1’s EIGRP topology tables for IPv4 and IPv6 using the
show ip eigrp topology and show ipv6 eigrp topology commands.
R1# show ip eigrp topology
EIGRP-IPv4 VR(DUAL-STACK) Topology Table for AS(4)/ID(1.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R -
Reply,
r - reply Status, s - sia Status
R1#
d. Verify that R1 has all the IPv4 and IPv6 routes shown in the
topology with the exclusion of R2’s LAN by using the show ip
route eigrp and show ipv6 route eigrp commands.
R1# show ip route eigrp
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
48
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
network 192.168.4.0 0.0.0.3
network 192.168.5.0
eigrp router-id 3.3.3.3
exit-address-family
!
address-family ipv6 unicast autonomous-system 6
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
af-interface Serial0/1/0
shutdown
exit-af-interface
!
topology base
redistribute static
exit-af-topology
eigrp router-id 3.3.3.3
exit-address-family
R3#
Initial Configurations
Router R1
hostname R1
!
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
no shutdown
!
interface Serial0/0/0
ip address 192.168.2.1 255.255.255.252
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:2::1/64
49
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
clock rate 64000
no shutdown
!
end
Router R2
hostname R2
!
interface GigabitEthernet0/0
ip address 192.168.3.1 255.255.255.0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:3::1/64
no shutdown
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.252
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:2::2/64
no shutdown
!
interface Serial0/0/1
ip address 192.168.4.1 255.255.255.252
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:4::1/64
clock rate 64000
no shutdown
!
end
Router R3
hostname R3
!
interface GigabitEthernet0/0
ip address 192.168.5.1 255.255.255.0
ipv6 address FE80::3 link-local
50
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
ipv6 address 2001:DB8:CAFE:5::1/64
no shutdown
!
interface Serial0/0/1
ip address 192.168.4.2 255.255.255.252
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:4::2/64
no shutdown
!
interface Serial0/1/0
ip address 192.168.77.2 255.255.255.0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:FEED:77::2/64
clock rate 64000
no shutdown
!
end
Router R4
hostname R4
!
interface Serial0/0/0
ip address 192.168.77.1 255.255.255.0
ipv6 address FE80::4 link-local
ipv6 address 2001:DB8:FEED:77::1/64
no shutdown
!
ipv6 route 2001:DB8:ABCD::/48 2001:DB8:FEED:77::2
ipv6 route 2001:DB8:CAFE::/48 2001:DB8:FEED:77::2
ip route 0.0.0.0 0.0.0.0 192.168.77.2
!
end
Final Configurations
Router R1
hostname R1
!
ipv6 unicast-routing
ip cef
ipv6 cef
!
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
!
51
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
interface Serial0/0/0
ip address 192.168.2.1 255.255.255.252
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:2::1/64
clock rate 64000
!
router eigrp DUAL-STACK
!
address-family ipv4 unicast autonomous-system 4
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
topology base
exit-af-topology
network 192.168.1.0
network 192.168.2.0 0.0.0.3
eigrp router-id 1.1.1.1
exit-address-family
!
address-family ipv6 unicast autonomous-system 6
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
topology base
exit-af-topology
eigrp router-id 1.1.1.1
exit-address-family
!
end
Router R2
hostname R2
!
ipv6 unicast-routing
ip cef
ipv6 cef
!
interface GigabitEthernet0/0
ip address 192.168.3.1 255.255.255.0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:3::1/64
!
interface Serial0/0/0
ip address 192.168.2.2 255.255.255.252
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:2::2/64
!
interface Serial0/0/1
ip address 192.168.4.1 255.255.255.252
ipv6 address FE80::2 link-local
52
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
ipv6 address 2001:DB8:CAFE:4::1/64
clock rate 64000
!
router eigrp DUAL-STACK
!
address-family ipv4 unicast autonomous-system 4
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
topology base
exit-af-topology
network 192.168.2.0 0.0.0.3
network 192.168.3.0
network 192.168.4.0 0.0.0.3
eigrp router-id 2.2.2.2
exit-address-family
!
address-family ipv6 unicast autonomous-system 6
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
topology base
exit-af-topology
eigrp router-id 2.2.2.2
exit-address-family
!
end
Router R3
hostname R3
!
ipv6 unicast-routing
ip cef
ipv6 cef
!
interface GigabitEthernet0/0
ip address 192.168.5.1 255.255.255.0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:5::1/64
!
interface Serial0/0/1
ip address 192.168.4.2 255.255.255.252
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:4::2/64
!
interface Serial0/1/0
ip address 192.168.77.2 255.255.255.0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:FEED:77::2/64
clock rate 64000
!
53
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
router eigrp DUAL-STACK
!
address-family ipv4 unicast autonomous-system 4
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
topology base
redistribute static
exit-af-topology
network 192.168.4.0 0.0.0.3
network 192.168.5.0
eigrp router-id 3.3.3.3
exit-address-family
!
address-family ipv6 unicast autonomous-system 6
!
af-interface GigabitEthernet0/0
passive-interface
exit-af-interface
!
af-interface Serial0/1/0
shutdown
exit-af-interface
!
topology base
redistribute static
exit-af-topology
eigrp router-id 3.3.3.3
exit-address-family
!
ip route 0.0.0.0 0.0.0.0 192.168.77.1
!
ipv6 route ::/0 Serial0/1/0 2001:DB8:FEED:77::1
!
end
Router R4
hostname R4
!
interface Serial0/0/0
ip address 192.168.77.1 255.255.255.0
ipv6 address FE80::4 link-local
ipv6 address 2001:DB8:FEED:77::1/64
!
ipv6 route 2001:DB8:CAFE::/48 2001:DB8:FEED:77::2
ip route 0.0.0.0 0.0.0.0 192.168.77.2
!
end
54
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Chapter 2 Lab 2-3, EIGRP for IPv6 Instructor Version
Topology
Objectives
• Configure EIGRP for IPv6.
• Verify EIGRP for IPv6.
• Configure and verify passive routes using EIGRP for IPv6.
• Configure and verify summary routes using EIGRP for IPv6.
• Configure and verify default route using EIGRP for IPv6.
Background
EIGRP for IPv6 has the same overall operation and features as EIGRP
for IPv4. However, there are a few major differences between them:
• EIGRP for IPv6 is configured directly on the router interfaces.
• In the absence of the router having any IPv4 addresses, a 32-bit
router ID must be configured for the routing process to start.
• IPv6 unicast routing must be enabled before the routing process
can be configured.
In this lab, you will configure the network with EIGRP routing for
IPv6. You will also assign router IDs, configure passive
interfaces, a summary route, and verify the network is fully
converged.
Note: This lab uses Cisco 1941 routers with Cisco IOS Release 15.2
with IP Base. The switches are Cisco WS-C2960-24TT-L with Fast
Ethernet interfaces, therefore the router will use routing metrics
55
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
associated with a 100 Mb/s interface. Depending on the router or
switch model and Cisco IOS Software version, the commands available
and output produced might vary from what is shown in this lab.
Required Resources
• 4 routers (Cisco IOS Release 15.2 or comparable)
• 3 switches (LAN interfaces)
• Serial and Ethernet cables
57
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config)# interface loopback 3
R3(config-if)# ipv6 address 2001:db8:abcd:3::1/64
R3(config-if)# exit
R3(config)# interface loopback 4
R3(config-if)# ipv6 address 2001:db8:abcd:4::1/64
R3(config-if)# exit
R3(config)# interface loopback 5
R3(config-if)# ipv6 address 2001:db8:abcd:5::1/64
R3(config-if)# exit
R3(config)# interface serial 0/1/0
R3(config-if)# ipv6 address 2001:db8:feed:77::2/64
R3(config-if)# ipv6 address fe80::3 link-local
R3(config-if)# clock rate 64000
R3(config-if)# no shutdown
R3(config-if)# exit
R3(config)#
58
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Serial0/0/0 [up/up]
FE80::1
2001:DB8:CAFE:2::1
Serial0/0/1 [administratively down/down]
unassigned
R1#
59
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R2(config-if)# exit
R2(config)# interface s0/0/0
R2(config-if)# ipv6 eigrp 1
R2(config-if)# exit
R2(config)# interface s0/0/1
R2(config-if)# ipv6 eigrp 1
h. When you assign EIGRP for IPv6 on R2’s serial 0/0/0 interface
you will see the neighbor adjacency message as the interface is
added to the EIGRP routing process.
R1#
*Sep 24 15:28:13.911: %DUAL-5-NBRCHANGE: EIGRP-IPv6 1: Neighbor FE80::2
(Serial0/0/0) is up: new adjacency
R1#
What address on R2 is used to form the neighbor adjacency with
R1? What type of IPv6 address is used to establish the
adjacencies?
________________________________________________________________
______________
The link-local address FE80::2 of the neighbor’s interface,
which was manually configured in Step 1.
61
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
D 2001:DB8:ABCD:5::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:3::/64 [90/2172416]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:4::/64 [90/2681856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:5::/64 [90/2684416]
via FE80::2, Serial0/0/0
R1#
j. Examine R1’s EIGRP for IPv6 topology table using the show ipv6
eigrp topology command.
R1# show ipv6 eigrp topology
EIGRP-IPv6 Topology Table for AS(1)/ID(1.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R -
Reply,
r - reply Status, s - sia Status
R1#
Why are there no feasible successors?
________________________________________________________________
___________________
R1 does not have any other paths to these networks. There are no
redundant paths in this topology.
Why are there two more entries in R1’s EIGRP topology table than
there is when displaying R1’s EIGRP routes with the show ipv6
route eigrp command?
________________________________________________________________
___________________
The show ipv6 route eigrp command does not include the directly
connected networks.
62
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
k. Issue the show ipv6 protocols command to verify the configured
parameters. Examining the output, EIGRP for IPv6 is the
configured IPv6 routing protocol with 1.1.1.1 as the router ID
for R1. This routing protocol is associated with autonomous
system 1 with two active interfaces: G0/0 and S0/0/0.
R1# show ipv6 protocols
IPv6 Routing Protocol is "connected"
IPv6 Routing Protocol is "application"
IPv6 Routing Protocol is "ND"
IPv6 Routing Protocol is "eigrp 1"
EIGRP-IPv6 Protocol for AS(1)
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0
NSF-aware route hold timer is 240
Router-ID: 1.1.1.1
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 16
Maximum hopcount 100
Maximum metric variance 1
Interfaces:
GigabitEthernet0/0
Serial0/0/0
Redistribution:
None
R1#
Interfaces:
Serial0/0/0
GigabitEthernet0/0 (passive)
Redistribution:
None
R1#
64
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Step 6: Configure and verify a summary route.
o. Issue the show ipv6 route eigrp command on R1 and verify that is
has all five of R3’s loopback prefixes in its IPv6 routing
table.
R1# show ipv6 route eigrp
IPv6 Routing Table - default - 13 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static
route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D -
EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix,
DCE - Destination
NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 -
OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA
ext 2
a - Application
D 2001:DB8:ABCD:1::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:ABCD:2::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:ABCD:3::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:ABCD:4::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:ABCD:5::/64 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:3::/64 [90/2172416]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:4::/64 [90/2681856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:5::/64 [90/2684416]
via FE80::2, Serial0/0/0
R1#
p. To optimize EIGRP for IPv6, on R3 summarize the loopback
addresses as a single route and advertise the summary route in
R3’s EIGRP updates to R2. Using the same summarization method
used for IPv4, The IPv6 loopback addresses can be summarized as
2001:DB8:ABCD::/61. The loopback addresses have the first 61
bits in common. After configuring the summary route on the
interface, notice that the neighbor adjacency between R3 and R2
is resynchronized (restarted).
R3(config)# interface serial 0/0/1
R3(config-if)# ipv6 summary-address eigrp 1 2001:db8:abcd::/61
*Jun 25 08:35:05.383: %DUAL-5-NBRCHANGE: EIGRP-IPv6 1: Neighbor
FE80::2 (Serial0/0/1) is resync: summary configured
Interfaces:
Serial0/0/1
Loopback1
Loopback2
Loopback3
Loopback4
Loopback5
GigabitEthernet0/0 (passive)
Redistribution:
None
Address Summarization:
2001:DB8:ABCD::/61 for Se0/0/1
Summarizing 5 components with metric 128256
R3#
67
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config)# ipv6 route ::/0 serial0/1/0 2001:db8:feed:77::1
R3(config)# ipv6 router eigrp 1
R3(config-rtr)# redistribute static
u. Issue the show ipv6 route eigrp command on R1 to verify it has
received the default route using EIGRP.
R1# show ipv6 route eigrp
IPv6 Routing Table - default - 10 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static
route
B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D -
EIGRP
EX - EIGRP external, ND - ND Default, NDp - ND Prefix,
DCE - Destination
NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 -
OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA
ext 2
a - Application
EX ::/0 [170/3193856]
via FE80::2, Serial0/0/0
D 2001:DB8:ABCD::/61 [90/2809856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:3::/64 [90/2172416]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:4::/64 [90/2681856]
via FE80::2, Serial0/0/0
D 2001:DB8:CAFE:5::/64 [90/2684416]
via FE80::2, Serial0/0/0
R1#
Why does the default route have a code of “EX”?
________________________________________________________________
_______________
The redistributed route is considered an external EIGRP route
with an administrative distance of 170.
v. Verify reachability to R4 by pinging its serial interface.
R1# ping 2001:db8:feed:77::1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2001:DB8:FEED:77::1, timeout
is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
80/83/84 ms
R1#
w. IPv6 Routing CEF is a forwarding mechanism to optimize the layer
3 and layer 2 lookup processes into a single process. Starting
with IOS 15.4 CEF for IPv6 is enabled automatically when ipv6
unicast-routing is configured. The show ipv6 cef command can be
used to verify the status of CEF for IPv6. If CEF is disabled,
it can be enabled with the ipv6 cef global configuration
68
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
command. The output below shows an example of CEF currently
disabled and then enabled.
Note: CEF for IPv4 is enabled by default.
R1# show ipv6 cef summary
IPv6 CEF is disabled.
VRF Default
1 prefix (1/0 fwd/non-fwd)
Table id 0x1E000000
Database epoch: 0 (1 entry at this epoch)
R1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# ipv6 cef
R1(config)# exit
R1# show ipv6 cef summary
IPv6 CEF is enabled and running centrally.
VRF Default
14 prefixes (14/0 fwd/non-fwd)
Table id 0x1E000000
Database epoch: 0 (14 entries at this epoch)
Initial Configurations
Router R1
hostname R1
!
interface GigabitEthernet0/0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
no shutdown
!
interface Serial0/0/0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:2::1/64
clock rate 64000
no shutdown
!
end
Router R2
hostname R2
!
interface GigabitEthernet0/0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:3::1/64
no shutdown
!
interface Serial0/0/0
ipv6 address FE80::2 link-local
69
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
ipv6 address 2001:DB8:CAFE:2::2/64
no shutdown
!
interface Serial0/0/1
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:4::1/64
clock rate 64000
no shutdown
!
end
Router R3
hostname R3
!
interface Loopback1
ipv6 address 2001:DB8:ABCD:1::1/64
!
interface Loopback2
ipv6 address 2001:DB8:ABCD:2::1/64
!
interface Loopback3
ipv6 address 2001:DB8:ABCD:3::1/64
!
interface Loopback4
ipv6 address 2001:DB8:ABCD:4::1/64
!
interface Loopback5
ipv6 address 2001:DB8:ABCD:5::1/64
!
interface GigabitEthernet0/0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:5::1/64
no shutdown
!
interface Serial0/0/1
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:4::2/64
no shutdown
!
interface Serial0/1/0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:FEED:77::2/64
clock rate 64000
no shutdown
!
end
Router R4
hostname R4
!
interface Serial0/0/0
ipv6 address FE80::4 link-local
ipv6 address 2001:DB8:FEED:77::1/64
70
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
no shutdown
!
ipv6 route 2001:DB8:ABCD::/48 2001:DB8:FEED:77::2
ipv6 route 2001:DB8:CAFE::/48 2001:DB8:FEED:77::2
!
end
Final Configurations
Router R1
hostname R1
!
ipv6 unicast-routing
ipv6 cef
!
interface GigabitEthernet0/0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:1::1/64
ipv6 eigrp 1
!
interface Serial0/0/0
ipv6 address FE80::1 link-local
ipv6 address 2001:DB8:CAFE:2::1/64
ipv6 eigrp 1
clock rate 64000
!
ipv6 router eigrp 1
passive-interface GigabitEthernet0/0
eigrp router-id 1.1.1.1
!
end
Router R2
hostname R2
!
ipv6 unicast-routing
ipv6 cef
!
interface GigabitEthernet0/0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:3::1/64
ipv6 eigrp 1
!
interface Serial0/0/0
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:2::2/64
ipv6 eigrp 1
!
interface Serial0/0/1
ipv6 address FE80::2 link-local
ipv6 address 2001:DB8:CAFE:4::1/64
ipv6 eigrp 1
71
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
clock rate 64000
!
ipv6 router eigrp 1
passive-interface GigabitEthernet0/0
eigrp router-id 2.2.2.2
!
end
Router R3
hostname R3
!
ipv6 unicast-routing
ipv6 cef
!
interface Loopback1
ipv6 address 2001:DB8:ABCD:1::1/64
ipv6 eigrp 1
!
interface Loopback2
ipv6 address 2001:DB8:ABCD:2::1/64
ipv6 eigrp 1
!
interface Loopback3
ipv6 address 2001:DB8:ABCD:3::1/64
ipv6 eigrp 1
!
interface Loopback4
ipv6 address 2001:DB8:ABCD:4::1/64
ipv6 eigrp 1
!
interface Loopback5
ipv6 address 2001:DB8:ABCD:5::1/64
ipv6 eigrp 1
!
interface GigabitEthernet0/0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:5::1/64
ipv6 eigrp 1
!
interface Serial0/0/1
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:CAFE:4::2/64
ipv6 eigrp 1
ipv6 summary-address eigrp 1 2001:DB8:ABCD::/61
!
interface Serial0/1/0
ipv6 address FE80::3 link-local
ipv6 address 2001:DB8:FEED:77::2/64
clock rate 64000
!
ipv6 route ::/0 Serial0/1/0 2001:DB8:FEED:77::1
ipv6 router eigrp 1
passive-interface GigabitEthernet0/0
eigrp router-id 3.3.3.3
redistribute static
72
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
!
end
Router R4
hostname R4
!
interface Serial0/0/0
ipv6 address FE80::4 link-local
ipv6 address 2001:DB8:FEED:77::1/64
!
ipv6 route 2001:DB8:ABCD::/48 2001:DB8:FEED:77::2
ipv6 route 2001:DB8:CAFE::/48 2001:DB8:FEED:77::2
!
end
OSPF V3
Show Commands
R1# show ipv6 ospf neighbor
R1# show ipv6 ospf database
R3# show ipv6 route ospf
Configurando Interfaces
73
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Objectives
• Configure multi-area OSPF on a router.
• Verify multi-area behavior.
• Create an OSPF virtual link.
• Summarize an area.
• Generate a default route into OSPF.
Background
You are responsible for configuring the new network to connect
your company’s engineering, marketing, and accounting
departments, represented by loopback interfaces on each of the
three routers. The physical devices have just been installed and
connected by serial cables. Configure multiple-area OSPFv2 to
allow full connectivity between all departments.
In addition, R1 has a loopback interface representing a
connection to the Internet. This connection will not be added
into OSPFv2. R3 will have four additional loopback interfaces
representing connections to branch offices.
Note: This lab uses Cisco 1941 routers with Cisco IOS Release
15.4 with IP Base. The switches are Cisco WS-C2960-24TT-L with
Fast Ethernet interfaces, therefore the router will use routing
metrics associated with a 100 Mb/s interface. Depending on the
router or switch model and Cisco IOS Software version, the
commands available and output produced might vary from what is
shown in this lab.
Required Resources
• 3 routers (Cisco IOS Release 15.2 or comparable)
• Serial and Ethernet cables
Step 0: Suggested starting configurations.
a. Apply the following configuration to each router along with
the appropriate hostname. The exec-timeout 0 0 command should
only be used in a lab environment.
Router(config)# no ip domain-lookup
Router(config)# line con 0
Router(config-line)# logging synchronous
Router(config-line)# exec-timeout 0 0
Step 1: Configure addressing and loopbacks.
74
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Using the addressing scheme in the diagram, apply IP addresses
to the serial interfaces on R1, R2, and R3. Create loopbacks on
R1, R2, and R3, and address them according to the diagram.
R1# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)# interface loopback 1
R1(config-if)# description Engineering Department
R1(config-if)# ip address 10.1.1.1 255.255.255.0
R1(config-if)# interface loopback 30
R1(config-if)# ip address 172.30.30.1 255.255.255.252
R1(config-if)# interface serial 0/0/0
R1(config-if)# ip address 10.1.12.1 255.255.255.0
R1(config-if)# clockrate 64000
R1(config-if)# no shutdown
75
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config-if)# description Accounting Department
R3(config-if)# ip address 10.1.3.1 255.255.255.0
R3(config-if)# interface loopback 100
R3(config-if)# ip address 192.168.100.1 255.255.255.0
R3(config-if)# interface loopback 101
R3(config-if)# ip address 192.168.101.1 255.255.255.0
R3(config-if)# interface loopback 102
R3(config-if)# ip address 192.168.102.1 255.255.255.0
R3(config-if)# interface loopback 103
R3(config-if)# ip address 192.168.103.1 255.255.255.0
R3(config-if)# interface serial 0/0/1
R3(config-if)# ip address 10.1.23.3 255.255.255.0
R3(config-if)# no shutdown
Step 2: Add interfaces into OSPF.
a. Create OSPF process 1 and OSPF router ID on all three
routers. Using the network command, configure the subnet of the
serial link between R1 and R2 to be in OSPF area 0. Add loopback
1 on R1 and loopback 2 on R2 into OSPF area 0.
Note: The default behavior of OSPF for loopback interfaces is to
advertise a 32-bit host route. To ensure that the full /24
network is advertised, use the ip ospf network point-to-point
command. Change the network type on the loopback interfaces so
that they are advertised with the correct subnet.
R1(config)# router ospf 1
R1(config-router)# router-id 1.1.1.1
R1(config-router)# network 10.1.12.0 0.0.0.255 area 0
R1(config-router)# network 10.1.1.0 0.0.0.255 area 0
R1(config-router)# exit
R1(config)# interface loopback 1
R1(config-if)# ip ospf network point-to-point
R1(config-if)# end
76
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
The show ip ospf command should be used to verify the OSPF
router ID. If the OSPF router ID is using a 32-bit value other
than the one specified by the router-id command, you can reset
the router ID by using the clear ip ospf pid process command and
re-verify using the command show ip ospf.
R1#
78
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R2(config-router)# network 10.1.12.0 0.0.0.255 area 0
R2(config-router)# network 10.1.2.0 0.0.0.255 area 0
R2(config-router)# exit
R2(config)# interface loopback 2
R2(config-if)# ip ospf network point-to-point
R2(config-if)# end
b. Verify that you can see OSPF neighbors in the show ip ospf
neighbors output on both routers. Verify that the routers can
see each other’s loopback with the show ip route command.
R1# show ip ospf neighbor
79
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
81
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config)# interface loopback 3
R3(config-if)# ip ospf network point-to-point
Again, the show ip ospf command should used to verify the OSPF
router ID. If the OSPF router ID is using a 32-bit value other
than the one specified by the router-id command, you can reset
the router ID by using the clear ip ospf pid process command and
re-verify using the command show ip ospf.
82
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config-if)# ip ospf network point-to-point
f. Look at the output of the show ip route command on R2.
Notice that the routes to those networks do not appear. The
reason for this behavior is that area 100 on R3 is not connected
to the backbone. It is only connected to area 23. If an area is
not connected to the backbone, its routes are not advertised
outside of its area.
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
83
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
C 10.1.23.0/24 is directly connected, Serial0/0/1
L 10.1.23.2/32 is directly connected, Serial0/0/1
R2#
Routing loops might occur because any route could get advertised
to different areas. By passing through the backbone, type 3 LSAs
are generated by their respective areas and not sent back in.
You can get around this situation by creating a virtual link. A
virtual link is an OSPF feature that creates a logical extension
of the backbone area across a regular area, without actually
adding any physical interfaces into area 0.
Note: Prior to creating a virtual link you need to identify the
OSPF router ID for the routers involved (R2 and R3), using a
command such as show ip ospf, show ip protocols or show ip ospf
interface. The output for the show ip ospf command on R1 and R3
is shown below.
R2# show ip ospf
Routing Process "ospf 1" with ID 2.2.2.2
<output omitted>
84
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3(config)# router ospf 1
R3(config-router)# area 23 virtual-link 2.2.2.2
*Aug 9 12:47:46.110: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on
OSPF_VL0 from LOADING to FULL, Loading Done
R3(config-router)#
Notice after virtual links are established IOS will report full
adjacency between both routers.
h. After you see the adjacency over the virtual interface come
up, issue the show ip route command on R2 and see the routes
from area 100. You can verify the virtual link with the show ip
ospf neighbor and show ip ospf interface commands.
R2# show ip route
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
87
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Virtual links are a poor long-term solution because they add
processing overhead and basically extend the backbone area onto
routers where it might not belong. They can also add a lot of
complexity to troubleshooting.
Step 4: Summarize an area.
Loopbacks 100 through 103 can be summarized into one supernet of
192.168.100.0 /22. You can configure area 100 to be represented
by this single summary route.
i. Configure R3 (the ABR) to summarize this area using the
area area range network mask command.
R3(config)# router ospf 1
R3(config-router)# area 100 range 192.168.100.0 255.255.252.0
j. You can see the summary route on R2 with the show ip route
and show ip ospf database commands.
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
88
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
O 10.1.1.0/24 [110/65] via 10.1.12.1, 00:24:14,
Serial0/0/0
C 10.1.2.0/24 is directly connected, Loopback2
L 10.1.2.1/32 is directly connected, Loopback2
O 10.1.3.0/24 [110/65] via 10.1.23.3, 00:22:55,
Serial0/0/1
C 10.1.12.0/24 is directly connected, Serial0/0/0
L 10.1.12.2/32 is directly connected, Serial0/0/0
C 10.1.23.0/24 is directly connected, Serial0/0/1
L 10.1.23.2/32 is directly connected, Serial0/0/1
O IA 192.168.100.0/22 [110/65] via 10.1.23.3, 00:00:04,
Serial0/0/1
R2#
91
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
192.168.103.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.103.0/24 is directly connected, Loopback103
L 192.168.103.1/32 is directly connected, Loopback103
R3#
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
________________________________________________________________
92
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
You can simulate loopback 30 on R1 to be a connection to the
Internet. You do not need to advertise this specific network to
the rest of the network. Instead, you can just have a default
route for all unknown traffic to go to R1.
l. To have R1 generate a default route, use the OSPF
configuration command default-information originate always. The
always keyword is necessary for generating a default route in
this scenario. Without this keyword, a default route is
generated only into OSPF if one exists in the routing table.
R1(config)# router ospf 1
R1(config-router)# default-information originate always
m. Verify that the default route appears on R2 and R3 with the
show ip route command.
R2#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
R3#show ip route
Codes: L - local, C - connected, S - static, R - RIP, M -
mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter
area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external
type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 -
IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-
user static route
o - ODR, P - periodic downloaded static route, H - NHRP,
l - LISP
a - application route
+ - replicated route, % - next hop override
94
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
O 10.1.1.0/24 [110/129] via 10.1.23.2, 00:05:08,
Serial0/0/1
O 10.1.2.0/24 [110/65] via 10.1.23.2, 00:05:08,
Serial0/0/1
C 10.1.3.0/24 is directly connected, Loopback3
L 10.1.3.1/32 is directly connected, Loopback3
O 10.1.12.0/24 [110/128] via 10.1.23.2, 00:05:08,
Serial0/0/1
C 10.1.23.0/24 is directly connected, Serial0/0/1
L 10.1.23.3/32 is directly connected, Serial0/0/1
O 192.168.100.0/22 is a summary, 00:05:08, Null0
192.168.100.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.100.0/24 is directly connected, Loopback100
L 192.168.100.1/32 is directly connected, Loopback100
192.168.101.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.101.0/24 is directly connected, Loopback101
L 192.168.101.1/32 is directly connected, Loopback101
192.168.102.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.102.0/24 is directly connected, Loopback102
L 192.168.102.1/32 is directly connected, Loopback102
192.168.103.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.103.0/24 is directly connected, Loopback103
L 192.168.103.1/32 is directly connected, Loopback103
R3#
n. You should be able to ping the interface connecting to the
Internet from R2 or R3, despite never being advertised into
OSPF.
R3# ping 172.30.30.1
95
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
28/30/32 ms
Router R2
hostname R2
!
interface Loopback2
description Marketing Department
ip address 10.1.2.1 255.255.255.0
!
96
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
interface Serial0/0/0
ip address 10.1.12.2 255.255.255.0
no shutdown
!
interface Serial0/0/1
ip address 10.1.23.2 255.255.255.0
clock rate 64000
no shutdown
!
end
Router R3
hostname R3
!
interface Loopback3
description Accounting Department
ip address 10.1.3.1 255.255.255.0
!
interface Loopback100
ip address 192.168.100.1 255.255.255.0
!
interface Loopback101
ip address 192.168.101.1 255.255.255.0
!
interface Loopback102
ip address 192.168.102.1 255.255.255.0
!
interface Loopback103
ip address 192.168.103.1 255.255.255.0
!
97
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
interface Serial0/0/1
ip address 10.1.23.3 255.255.255.0
no shutdown
!
end
98
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
end
Router R2
hostname R2
!
interface Loopback2
description Marketing Department
ip address 10.1.2.1 255.255.255.0
ip ospf network point-to-point
!
interface Serial0/0/0
ip address 10.1.12.2 255.255.255.0
no shutdown
!
interface Serial0/0/1
ip address 10.1.23.2 255.255.255.0
clock rate 64000
no shutdown
!
router ospf 1
router-id 2.2.2.2
area 23 virtual-link 3.3.3.3
network 10.1.2.0 0.0.0.255 area 0
network 10.1.12.0 0.0.0.255 area 0
network 10.1.23.0 0.0.0.255 area 23
!
end
Router R3
hostname R3
99
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
!
interface Loopback3
description Accounting Department
ip address 10.1.3.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback100
ip address 192.168.100.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback101
ip address 192.168.101.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback102
ip address 192.168.102.1 255.255.255.0
ip ospf network point-to-point
!
interface Loopback103
ip address 192.168.103.1 255.255.255.0
ip ospf network point-to-point
!
interface Serial0/0/1
ip address 10.1.23.3 255.255.255.0
no shutdown
!
router ospf 1
router-id 3.3.3.3
area 23 virtual-link 2.2.2.2
area 100 range 192.168.100.0 255.255.252.0
100
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
network 10.1.3.0 0.0.0.255 area 23
network 10.1.23.0 0.0.0.255 area 23
network 192.168.100.0 0.0.3.255 area 100
!
end
RADIUS Server
Show Commands
R1# show aaa servers
R1# show radius server-group all
Dialer Interface
Router (config-if)#ip address negotiated
Router (config-if)#encapsulation ppp
Router (config-if)#dialer pool number
101
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switching
VLANS
Crear un Vlan
Switch# configure terminal
Switch(config)# vlan 5
Switch(config-vlan)# name Engineering
Switch(config-vlan)# exit
Configurar VLAN
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# hostname DLS1
DLS1(config)# interface vlan 1
DLS1(config-if)# ip address 10.1.1.101 255.255.255.0
DLS1(config-if)# no shutdown
DLS1(config)# end
Borrando VLANs
DLS1(config)# inter fa 0/1
DLS1(config-if)# no switchport access vlan 55
DLS1(config-if)# exit
DLS1(config)# no vlan 55
DLS1(config)# end
103
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switch(config-if)# switchport private-vlan host-association 100
200
Switch(config-if)# exit
Switch(config)# interface range fa 0/15 – 18
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 100
201
Switch(config-if)# exit
Switch(config)# interface range fa 0/20 – 25
Switch(config-if)# switchport mode private-vlan host
Switch(config-if)# switchport private-vlan host-association 100
300
Switch(config-if)# exit
Troubleshooting
Switch# show vlan id [numero de vlan]
Switch# show running-config interface FastEthernet [interface]
Switch# show interfaces f0/18 switchport
Switch# show mac-address-table interface GigabitEthernet 0/1
vlan 1
ALS1# show interface trunk
Vlan de Voz
Switch(config)# interface type mod/num
Switch(config-if)# switchport voice vlan {vlan-id | dot1p |
untagged | none}
104
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switchport voice vlan vvid (opción recomendada)
Switch(config)# interface type mod/num
Switch(config-if)# switchport voice vlan vlan-id
VTP
Configurando Dominios
Servidor
DLS1(config)# vtp domain SWLAB
DLS1(config)# vtp password cisco
Cliente
ALS1(config)# vtp domain Cabrillo
ALS1(config)# vtp password cisco
EtherChannel
Configurando EtherChannel Load Balancing
Switch(config)# port-channel load-balance src-dst-ip
Configurando LACP
DLS1(config)# interface range fa 0/11 - 12
DLS1(config-if-range)# switchport trunk encapsulation dot1q
DLS1(config-if-range)# switchport mode trunk
DLS1(config-if-range)# channel-protocol lacp
DLS1(config-if-range)# channel-group 1 mode active
DLS1(config-if-range)# lacp port-priority 99
Configurando PortFast
Access2(config)#interface range fa 0/10 - 24
Access2(config-if-range)#switchport mode access
<Previously configured>
Access2(config-if-range)#spanning-tree portfast
O
Access2(config)#spanning-tree portfast default
ADVERTENCIA: PortFast sólo se debe activar en los puertos que
están conectados a un solo host.
Implementar PVST
Switch(config)# spanning-tree mode pvst
Implementar PVST+
Switch(config)# spanning-tree mode rapid-pvst
Switch(config-if)# spanning-tree portfast
Troubleshooting
Switch(config)# show spanning-tree inteface type mod/num
portfast
DHCPv6
COMANDOS EJEMPLO
Router(config)#ipv6 unicast- R1(config)#ipv6 unicast-routing
routing
Router(config)#ipv6 dhcp pool R1(config)#ip dhcp pool IPV6-
pool-name STATELESS
Router(config-dhcpv6)# R1(config-dhcpv6)#
Router(config-dhcpv6)#dns-server R1(config-dhcpv6)#dns-server
dns-server-address 2001:db8:cafe:aaaa::5
Router(config-dhcpv6)#domain- R1(config-dhcpv6)#domain-name
name domain-name example.com
Router(config)#interface type R1(config)#interface g0/1
number R1(config-if)#ipv6 dhcp server
Router(config-if)#ipv6 dhcp IPV6-STATELESS
server pool-name R1(config-if)#ipv6 nd other-
Router(config-if)#ipv6 nd config-flag
other-config-flag ----------------o----------------
--- Managed configuration --
R1(config-if)#ipv6 nd managed- R1(config-if)#ipv6 nd managed-
config-flag config-flag
DHCPv6 Relay Agent Commands
R1(config)#interface g0/0 R1(config)#interface g0/0
R1(config-if)#ipv6 dhcp relay R1(config-if)#ipv6 dhcp relay
destination 2001:db8:cafe:1::6 destination 2001:db8:cafe:1::6
R1(config-if)#end R1(config-if)#end
109
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R1(config)#ipv6 unicast-routing
R1(config)#ipv6 dhcp pool IPV6-STATELESS
R1(config-dhcpv6)#dns-server 2001:db8:cafe:aaaa::5
R1(config-dhcpv6)#domain-name example.com
R1(config-dhcpv6)#exit
R1(config)#interface g0/1
R1(config-if)#ipv6 address 2001:db8:cafe:1::1/64
R1(config-if)#ipv6 dhcp server IPV6-STATELESS
R1(config-if)#ipv6 nd other-config-flag
R3(config)#interface g0/1
R3(config-if)#ipv6 enable
R3(config-if)#ipv6 address autoconfig
R3(config-if)#
Troublesooting
R1#show ipv6 dhcp pool
DHCPv6 pool: IPV6-STATELESS
DNS server: 2001:DB8:CAFE:AAAA::5
Domain name: example.com
Active clients: 0
R3#show ipv6 interface g0/1
110
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3#debug ipv6 dhcp detail
WAN
Comandos PPP
Configurar PPP
Router#configure terminal
Router(config)#interface serial 0/0
Router(config-if)#encapsulation ppp
111
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Verificación de PPP
112
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Router(config-if)#ppp authentication {chap | chap pap | pap chap
| pap}
Dos opciones: primera opción | segunda opción
Si ambos métodos están habilitados, se solicitará el primer
método especificado durante la negociación de vínculos.
Si el par sugiere usar el segundo método o simplemente rechaza
el primer método, entonces se intentará el segundo método.
113
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configuring PPP Multilink (MLP)
Router(config)#interface serial 0/0
Router(config-if)#encapsulation ppp
Router(config-if)#ppp multilink
Error Detection
Router(config)#interface serial 0/0
Router(config-if)#encapsulation ppp
Router(config-if)#ppp quality percentage
Troubleshooting
Router1#show interfaces s0/0
Router1#show controllers serial 0/0
Router1#debug ppp negotiation
Comando para verificar el tipo de negociacion en la
autenticacion chap
114
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
BGP
Puerto 179 TCP
115
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configuración de EBGP
Router(config)#router bgp AS-number
RTA(config)#router bgp 100
Router(config-router)#neighbor ip-address remote-as AS-number
RTA(config-router)#neighbor 10.1.1.1 remote-as 200
RTA(config)#router bgp 100
Router(config-router)#network 192.0.2.0 mask 255.255.255.0
Show Commands
R1# show ip interface brief
R1# show ip bgp
R1# show ip bgp summary
R1# show tcp brief
Primero, el comando show tcp brief muestra todas las conexiones
TCP que termnan en este enrutador (RI ya sea BGP o no. Cada
linea enumera la dirección IP del enrutador local)
R1# show ip route [network mask] longer-prefixes
R1# show ip route 192.0.2.0 255.255.255.0 longer-prefixes
Directamente el proceso BGP añadira a la entrada BGP con
prefijo/mascara si el prefijo/mascara existe en la table IP
Alta disponibilidad
HSRP
Configuración HSRP Switchs
Switch(config-if)#standby group-number ip virtual-ip-address
Switch(config-if)#standby version 2 ------se configura la
versión 2 HSRP por defecto viene la versión 1----
Switch(config-if)#standby group-number priority priority-value
116
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
El valor de prioridad indica el número que prioriza un enrutador
de reserva potencial. La gama es 0 a 255; el valor por defecto
es 100
Switch(config-if)#standby group-number preempt [delay [minimum
seconds] [reload seconds]]
Minimo: 0-3600
Reload: 0-3600
Para habilitar un enrutador para reanudar el estado activo
después de un cambio de estado, introduzca el siguiente comando
en el modo de configuración de interfaz
Switch(config-ig)# standby group timers [msec] hellotime [msec]
holdtime
Autenticación MD5
Switch(config-if)#standby group-number authentication md5 key-
string [0|7] string
Switch(config-if)#standby 1 authentication md5 key-string
password
Hellotime
Default = 3 seconds
Value varies from 1 to 255.
Holdtime
Default = 10 seconds
Value varies from 1 to 255
group-number: se refiere al número de grupo de espera HSRP, el
número de grupo puede variar entre 0 y 255.
virtual-ip-address: indica la dirección IP virtual del grupo
HSRP
117
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
DLS1 DLS2
interface vlan 10 interface vlan 10
ip add 172.16.10.201 ip add 172.16.10.202
255.255.255.0 ---- Ip deben estar 255.255.255.0 ---- Ip deben
en la misma subnet------ estar en la misma subnet------
standby 1 priority 200 standby 1 priority 100
standby 1 ip 172.16.10.1 standby 1 ip 172.16.10.1
standby 1 preempt standby 1 preempt
R1 R2
interface gig 0/2 interface gig 0/2
ip address 10.10.10.10 ip address 10.10.10.11
255.255.255.0 255.255.255.0
standby 1 priority 120 standby 1 priority 110
standby 1 preempt standby 1 preempt
standby 1 ip 10.10.10.1 standby 1 ip 10.10.10.1
118
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configurar HSRP Interface Tracking
Router A Router B
interface Ethernet0 interface Ethernet0
ip address 171.16.6.5 /24 ip address 171.16.6.6 /24
no ip redirects no ip redirects
standby 1 priority 105 standby 1 priority 100
standby 1 preempt standby 1 preempt
standby 1 ip 171.16.6.100 standby 1 ip 172.16.6.100
standby 1 track Serial1 standby 1 track Serial1
interface Serial1 interface Serial1
ip address 171.16.2.5 /24 ip address 171.16.7.6 /24
Troubleshooting
R1#show standby brief
R1#show standby
119
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
VRRP (Virtual Router Redundancy Protocol)
RouterA(config)#interface fa 0/1
RouterA(config-if)#ip address 10.0.0.1 255.255.255.0
RouterA(config-if)#vrrp 1 ip 10.0.0.1
RouterA(config-if)#vrrp 1 priority 255
RouterB(config)#interface fa 0/1
RouterB(config-if)#ip address 10.0.0.2 255.255.255.0
RouterB(config-if)#vrrp 1 ip 10.0.0.1
RouterA(config-if)#vrrp 1 priority 200
RouterC(config)#interface fa 0/1
RouterC(config-if)#ip address 10.0.0.3 255.255.255.0
RouterC(config-if)#vrrp 1 ip 10.0.0.1
RouterA(config-if)#vrrp 1 priority 100
GBLP
Configurar GBLP
Switch(config-ig)# glbp group timers [msec] hellotime [msec]
holdtime
RouterA(config)#interface vlan 21
RouterA(config-if)#ip address 10.21.8.1 255.255.255.0
RouterA(config-if)#glbp 21 ip 10.21.8.10
RouterA(config-if)#glbp 21 priority 254
120
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
RouterB(config)#interface fa 0/1
RouterB(config-if)#ip address 10.21.8.2 255.255.255.0
RouterA(config-if)#glbp 21 ip 10.21.8.10
RouterA(config-if)#glbp 21 priority 100
Netflow IOS
R1#show ip cache Flow
SPAN
Monitor Session 1
Switch1(config)# monitor session 1 source interface Gi1/0/11 -
12 rx
Switch1(config)#monitor session 1 destination interface Gi1/0/21
Monitor Session 2
121
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switch2(config)# monitor session 2 source vlan 11
Switch2(config)#monitor session 2 destination interface Gi1/0/22
Configurar SPAN
Switch(config)#monitor session 1 source interface F0/1
Switch(config)#monitor session 1 destination interface F0/2
Troubleshooting
S1# show monitor session all
122
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Seguridad
Switch Security
BPDU GUARD
Root Guard
Distribution1(config)#interface fa 0/3
Distribution1(config-if-range)#spanning-tree guard root
Distribution1(config)#interface gig 0/2
Distribution1(config-if-range)#spanning-tree guard root
Distribution2(config)#interface fa 0/3
Distribution2(config-if-range)#spanning-tree guard root
Distribution2(config)#interface gig 0/1
Distribution2(config-if-range)#spanning-tree guard root
123
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Access2(config)#no spanning-tree uplinkfast
Port Security
S1(config)#interface FastEthernet0/2
S1(config-if)# switchport port-security
S1(config-if)# switchport port-security maximum 6
S1(config-if)# switchport port-security aging time 5
S1(config-if)# switchport port-security mac-address
0000.0000.000b
S1(config-if)# switchport port-security mac-address sticky
Opcional habilita aprendizaje stick sobre la interfaz
S1(config-if)# switchport port-security violation shutdown
Switch(config-if)# switchport port-security [maximum value]
violation {protect | restrict | shutdown} mac-address mac-
address
124
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
DHCP SNOOPING
125
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
IP Source Guard
Switch(config)# interface fastethernet0/1
Switch(config-if)# ip verify source
Ejemplo
Switch(config)# interface fastethernet0/1
Switch(config-if)# ip verify source port-security
126
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switch(config-if)#ip arp inspection trust
Switch(config)#ip arp inspection validate
Ejemplo
127
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
sw(config)# username xyz password abc123
sw(config)# ip domain-name xyz.com
sw(config)# crypto key generate rsa
sw(config)# no ip http server
sw(config)# ip http secure-server
sw(config)# http access-class 100 in
sw(config)# http authentication local
TACACS+
RTA(config)#tacacs-server host 192.168.0.11
RTA(config)#tacacs-server host 192.168.0.12
RTA(config)#tacacs-server key topsecret
RTA(config)# aaa new-model
RTA(config)#aaa authentication enable default group tacacs+
enable none
Radius
RTB(config)#radius-server host 192.168.0.22
RTB(config)#radius-server host 192.168.0.23
RTB(config)#radius-server key topsecret
128
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
RTB(config)# aaa new-model
RTB(config)#aaa authentication login default local
RTB(config)#aaa authentication login PASSPORT group radius local
none
The default list se aplica a la consola (con 0), todas las
líneas TTY incluyendo la línea auxiliar o el puerto AUX, y todas
las líneas VTY.
Para reemplazar la lista de métodos predeterminada, aplique una
lista con nombre a una o varias de estas líneas.
RTB es configurado con el comando radius-server host y radius-
server key porque la lista de métodos con nombre se basa en
RADIUS.
El comando aaa authentication login default local configura el
método por defecto como username/password database
Este método se aplica a todos los ttys, VTYs y la consola de
forma predeterminada.
El comando aaa authentication login PASSPORT group radius local
none crea una lista de métodos con nombre denominada Passport.
El primer método de esta lista es el group of RADIUS servers
Si RTB no puede ponerse en contacto con un servidor RADIUS,
entonces RTB intentará contactar con la base de datos local de
usuario/contraseña.
Por último, la palabra clave None asegura que, si no hay nombres
de usuario en la base de datos local, se concede acceso al
usuario.
Accounting
Switch(config)# aaa new-model
Switch(config)# aaa accounting exec default start-stop group
tacacs+
Switch(config)# line vty 0 4
Switch(config-line)# accounting exec default
129
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switch(config)# aaa authentication dot1x {default} method1
[method2...]
Step 3. Globally enable 802.1X port-based authentication:
Switch(config)# dot1x system-auth-control
Step 4. Enter interface configuration mode and specify the
interface to be enabled for 802.1X port-based authentication:
Switch(config)# interface type slot/port
Step 5. Enable 802.1X port-based authentication on the
interface:
Switch(config-if)# dot1x port-control auto
Ejemplo
QoS
Configurando CoS trust using the IOS
switch(config)# mls qos
switch(config-if)# mls qos trust cos
130
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Asignando CoS on a per-port basis
switch(config-if)# mls qos trust cos
switch(config-if)# mls qos cos default-cos
Reescribiendo el CoS
Switch(config-if)# mls qos cos override
switch(config-if)# mls qos cos default-cos
Auto QoS
Switch(config)# interface type mod/num
Switch(config-if)# auto qos voip {cisco-phone | cisco-softphone
| trust}
131
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Interfaz de línea de comandos de QoS modular (CLI)
Classification of traffic – The class-map
Switch(config)# class-map cisco
Switch(config-cmap)# match access-group name test
Switch(config-cmap)# match interface fastethernet 0/1
134
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Configuración Class-Based Weighted Fair Queuing
Router(config)# policy-map policy1
Router(config-pmap)# class class1
Router(config-pmap-c)# bandwidth 64
Router(config-pmap-c)# queue-limit 30
Multicast
PIM
1. En primer lugar, habilite enrutamiento multicast
(deshabilitado de forma predeterminada):
136
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Router(config)#ip multicast-routing
Configuración RPs
Router(config)#ip pim rp-address <address>
Auto RP
• Configure un agente de asignación para que aprenda acerca
de todos los candidatos RPS, de modo que pueda compicar
una lista de los routers RP para los que grpups y anuncie
la lista a los enrutadores de cliente.
Router(config)#ip pim send-rp-discovery scope <ttl>
• Configure un candidato RP
Router(config)#ip pim rp-candidate <interface>
CGMP
Router(config-if)#ip cgmp
Switch(config) cgmp
137
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Switch(enable) set cgmp enable
VPN
GRE
R1(config)#interface tunnel number global
Habilitar las rutas del tunnel en los protocolos de enrutamiento sea dinámico o estático
Ejemplo
138
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
IPSEC VPN
R1(config-if)# no shutdown
R2(config-if)# no shutdown
R2(config-if)# no shutdown
R3(config-if)# no shutdown
R1(config-router)# no auto-summary
R2(config-router)# no auto-summary
R3(config-router)# no auto-summary
140
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Paso 5 configurar IPsec transform set Lifetimes
R1(config)#crypto ipsec transform-set 50 esp-aes esp-sha-hmac ah-sha-hmac
R3(config-if)#crypto-map MYMAP
141
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Paso 10 Probar
R1(config)#ping 172.16.3.1 source 172.16.1.1
142
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
MPLS
Router R1
hostname R1
no ip domain lookup
interface GigabitEthernet0/0
interface Serial0/0/1
router ospf 1
line con 0
143
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
exec-timeout 0 0
logging synchronous
end
Router R2
hostname R2
no ip domain lookup
interface GigabitEthernet0/0
interface Serial0/0/1
router ospf 1
line con 0
exec-timeout 0 0
logging synchronous
end
Router R3
hostname R3
interface Serial0/0/0
144
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
ip address 10.0.0.1 255.255.255.252
interface Serial0/0/1
interface Serial0/1/0
router ospf 1
line con 0
exec-timeout 0 0
logging synchronous
end
Router R4
hostname R4
no ip domain lookup
interface GigabitEthernet0/0
interface Serial0/0/0
!
145
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
router ospf 1
line con 0
exec-timeout 0 0
logging synchronous
end
a. After configuring the routers, all routers should be able to reach all networks.
R3#
R3#
R3#
a - application route
R3#
a - application route
R1#
!!!!!
!!!!!
R1#
148
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
a. La configuración del reenvío de VRF en una interfaz con el comando IP VRF reenvío
elimina todas las direcciones IP de esa interfaz. Las interfaces deben tener las direcciones IP re-
configuradas. Necesitará un proceso OSPF independiente para cada VRF.
R3(config-vrf)# exit
R3(config-vrf)# exit
R3(config)#
% Interface Serial0/0/0 IPv4 disabled and address(es) removed due to disabling VRF
SharedSites
R3(config-if)# exit
R3(config)#
% Interface Serial0/0/1 IPv4 disabled and address(es) removed due to disabling VRF
SharedSites
R3(config-if)# exit
R3(config)#
% Interface Serial0/1/0 IPv4 disabled and address(es) removed due to disabling VRF LoneSite
149
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
*Jan 15 23:39:32.447: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.3.1 on Serial0/1/0 from FULL
to DOWN, Neighbor Down: Interface down or detached
R3(config-if)# exit
R3(config)#
R3(config)#
R3(config-router)# exit
R3(config)#
R3(config-router)# exit
R3(config)#
R3#
Verify VRF-Lite.
Router R3
150
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
R3# show ip route
a - application route
R3#
a - application route
R3#
a - application route
R3#
Se0/0/1
R3#
Se0/0/1
R3#
R3#
R3#
153
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
Router R1
a - application route
R1#
.....
R1#
Router R3
.....
!!!!!
R3#
Router R3
hostname R3
no ip domain lookup
155
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com
!
interface Serial0/0/0
interface Serial0/0/1
interface Serial0/1/0
line con 0
exec-timeout 0 0
logging synchronous
156
https://mr-telecomunicaciones.com
info@mr-telecomunicaciones.com