Está en la página 1de 46

Suscríbete a DeepL Pro para poder traducir archivos de mayor tamaño.

Más información disponible en www.DeepL.com/pro.

RE DATOS II
espoch
AS 65000
2001: 212::/64 2001:4 45::/64

R1 R5
20D1:1111::1/1Z8

MPLS -
6PE
Alberto Arellano A. Ing. Msc.
eaiasrellanooch edu
ec
CCNA - CCNP - CCSP - LPI - JNCIA
6PE RFC 4798 - 02 2007
• Proveedor IPv6 Edge
• Un método para proporcionar conectividad IPv6 a sus
clientes sin actualizar toda la red a IPv6.
• 6PE utiliza la tabla de enrutamiento global lPv6 en los
routers PE
• Proporciona conectividad global IPv6 a través de un núcleo
IPv4-MPLS
• Mecanismo de transición para proporcionar acceso
unicast IPv6 sobre MPLS con señalización IPv4
• Mecanismo de coexistencia para combinar servicios
IPv4 e IPv6 en una red troncal MPLS
• Como otras tecnoIogías "tunneI" IPv6, permite
servicios como:
• "Acceso a Internet IPv6"
• Conectividad entre iguales
• Acceso a servicios IPv6 suministrados por el propio SP
6PE
Sesiones MP-BGP
2001:0620:: jp g 2001:042
IPv6

145.95.0.0 Ë4 V* 2001:0421::

2001:0621:: IPv6
IPv4
-" 192.254.10.0

192.76æ10.0 Doble pila Doble pila

V6: V6:
ICPIBGP lGPv4 IGPIBCP
MPLS V4:
- LDPv4
- (TE v4)
PE RoutinDistribución de
etiquetas

2001:DB :

6PE-1 2001:F0DD::

200.11.11.1

0.1
6PE Avance 6PE-1

2001:DB8::

PE-1 20D1:ALIME
NTOS::
6PE Forwardin

2001:DBB::

6PE-1 2001:
F00
6PE Forwardin P2

2001:DB8::

2001:F00
6PE Avance 6PE-2

2001:DB8::

6PE 1 2001:COMID
A::
Interacciones en
6PE
• Red de clientes
• Fomento: IPv6
• Enrutamiento: IGPv6 (IS-IS, OSPF),
estático
• PE-CE
• Fomento: IPv6
• Enrutamiento: eBGP, IGPv6 (IS-IS, OSPF),
estático
• PE-PE
• Fomento: MPLS
• Enrutamiento: MP-BGP, IGP
• Distribución de etiquetas: MP-BGP (v6),
LDP (v4)
6PE Confi uración
2001:DB8::
cef ipv6 Sesión iBGP

mpls label protocol ldp

6PE-2
router bgp 100
6PE-1
sin sincronización
no bgp default ipv4 unicast
vecino 2001:DB8:1: :1 remote-as 65014 2001:DB8.1::1 Es el CE local
200.10.10.1 Es el 6PE remoto
vecino 200.10.10.1 remote-as 100
neighbor 200.10.10.1 update-source Loopback0

address-family ipv6
vecino 200.10.10.1 activar
neighbor 200.10.10.1 send-label Enviar etiquetas junto con
neighbor 2001:DB8:1: :1 prefijos IPv6 mediante
MP-BGP Nota. ¡Wil!
activate redistributR connected Causa Sesión a Flap
no synchronization
exit-address-family
Examen 6PE
PROVEEDOR DE SERVICIOS
HPLS IPv4= 10.10.X.0/ 24
OSPF 10
ASH-5oo

5 eŒ/Œ

e0/ł

100a:l:A:l::/d4 1001:l:B:I::/M

eR/ł
Z001: Z:A:1: :/b4 1001:2:B:1::/G4
etho
eEhO j

UbunCu-1
ASN-300 ASN-400
Autoconfiguración LDP
La función de autoconfiguración MPLS LDP permite
configurar globalmente el protocolo de distribución de
etiquetas (LDP) en cada interfaz asociada a una pasarela
interior específica.
Protocol (IGP) instancia. ,
P conf1g)#opIslabel rango tasa la
P-1(config)#mp1s Idp router-id lot forzar
P-1(config)#router ospf 1e
P-1(conf1g- router}#router-Id 1. 1.1. 1
P-1(conf1g- router)# np1s 1dp autoconf1g
P-2(conf1g)#inp1s label range 2ee zge P-1(conf1g-router)#ex1t
P-2(conf1g)#npIs 1dp router-Id lot force
P-2(conf1g)#router ospf IN
P-2(conf1g-router)#router-Id 2.2.2.2 P-3(conf1g)#np1s IaIzeI rango 3ee 3ge
P-2(conf1g- router)#mp1s Idp P-3(config)#mpls ldp router-id lot forzar
autoconf1g P-2(conf1g- router)#ex1t P-3(conf1g)#router ospf le
P-3(conf1g-router}#router-1d 3.3.3.3
P-3(conf1g- router) 'npJs Idp
autoconf1g P-3(conf1g- router)#exs.t
PE-1 MPLS Confi
PE-1#
PE-1#conf I
Introduzca los comandos deconf1gurat1on, unopor 11ne.
Finalice con CNTL/Z. PE-
1(conf1g)#1pvd unicast- rout1ng
PE-1(conf1g)olnt zoe
PE-1(conf1g-1f)#1p add 7. 7. 7. 7 255.255.255.255
PE-1(conf1g-1f)#1p ospf 1e a rea e
PE-1(conf1g-1f)#ex1t
PE-1(conf1g)#1nt ed/e
PE-1(conf1g-1f)#1p add 1e. 1e.2.2 255.255.255. e
PE-1(conf1g-1f)#no shut
PE-1(conf1g-1f)#1p ospf 1e a rea e
PE-1(conf1g-1f)#ex1t
PE-1(conf1g)#1nt ed/1
PE-1(conf1g-1f)#1pvB add 2ee1:1:A:1: :1/64
PE-1(conf1g-1f)#1pvB add fete: : 2 11nk-local
PE-1(conf1g-1f)#no shut
PE-1(conf1g-1f)#ex1t
PE-1(conf1g)#op1s label range ver ver
PE-1(conf1g)#zip1s 1dp router-1d lot
fuerz
a PE-1(conf1g)#router ospf 1e
PE-1(conf1g- router)#router-1d 7.7.7.7 PE-
1(conf1g- router)#inp1s Idp autoconf1g PE-
1(conf1g- router)#ex1t
PE-1(conf1g)#
PE-2 MPLS Confi
PE-2#
PE-2#conf I
Introduzca los comandos deconf1gurat1on, unopor cada11ne.
Terminecon CNTL/Z. PE-
2(conf1g)#1pvd un1cast- routing
PE-2(conf1g)#1nt lote
PE-2(conf1g-1f)#1p add g. g. g. g 2ss.255.255.25s
PE-2(conf1g-1f)#1p ospf IN área £/
PE-2(conf1g-1f)#ex1t
PE-2(conf1g)#1nt ed/e
PE-2(conf1g-1f)#1p add 1e. 1e. 5.2 255.255.255. e
PE-2(conf1g-1f)#no sbut
PE-2(conf1g-1f)#1p ospf IN area e
PE-2(conf1g-1f)#ex1t
PE-2(conf1g)#1nt ed/1
PE-2(conf1g-1f)#1pv5 add 2ee1:1: B:1: :1/64 PE-
2(conf1g-1f)#1pvB add fete:: s fink-local PE-
2(conf1g-1f)#no sbut
PE-2(conf1g-1f)#ex1t
PE-2(conf1g)#inp1s label range ver ver
PE -2(conf1g)#iopIs Idp router-Id lot forzar
PE-2(conf1g)#router ospf IN
PE-2(conf1g- router)#router-1d g.g.g.g
PE-2(conf1g- router)#opIs Idp autoconf1g
PE-2(conf1g- router)#ex1t
PE -2(conf1g)#
CE-1 MP-BGP
CE-1
CE-1#conf t
Introduzca los comandos de configuración, uno por línea. Termine con
CNTL/Z.
CE-1(config)#ipv6 unicast-routing
CE-1(config)#int ed/e
CE-1(config-if)#ipv6 add 2ee1:1:A:1::2/64
CE-1(config-if)#ipv6 add fells:1 link-
local CE-1(config-if)#no shut
CE-1(config-if)#salir
CE-1(config)#int et/1
CE-1(config-if)#ipv6 add 2ee1:2:A:1::1/64
CE-1(config-if)#no
shut CE-1(config-
if)#exit
CE-1(config)#router bgp 3ee
CE-1(config-router)#bgp router-id 1.1.1.2
CE-1(config-router)#no bgp default ipv4-unicast
CE-1(config-router)#neighbor 2ee1:1:A:1::1 remote-as 5ee
CE-1(config-router)#address-family ipv6 unicast
CE-1(config-router-af)#neighbor 2ee1:1:A:1::1
activate CE-1(config-router-af)#network
2ee1:2:A:1::/64
CE-1(config-router-
af)#salir CE-1(config-
router)#salir CE-
1(config)#
CE-2 MP-BGP
CE-2#conf t
Introduzca conf1gurat1oncomnands, unopor. Terminew1tb
CNTL/Z. CE-2(conf1g)#1pvd un1cast - rout1ng
CE-2(conf1g)#1nt ee/e
CE-2(conf1g-1€)#1pvd add 2ee1:1: B:1: : 2/64
CE-2(conf1g-1€)#1pvd add fege: :4 1žnk-local
CE-2(conf1g-1f)#no shut
CE-2(conf1g-1€)#ex1t
CE-2(conf1g)#1nt e£//1
CE-2(conf1g-1f)#1pvd add 2ee1: 2: B:1: :1/64
CE-2(conf1g-1€)#no shut
CE-2(conf1g-1€)#ex1t
CE-2(conf1g)#router bgp 4ee
CE-2(conf1g-router)#bgp router -1d 1.1.1.3
CE-2(conf1g-router)#no bgp default 1pv4-un1cast
CE-2(conf1g- router)#ne1ghbor 2£/€/1:1: B:1: :1 reoote-as 5ee
CE-2(conf1g- router)#address-famlly 1pvd un1cast
CE-2(conf1g- router-af)#ne1ghbor 2ee1:1: B:1: :1 act1vate
CE-2(conf1g- router-af)#network 2ee1: 2: B:1: :/64
CE-2(conf1g-router-af)#ex1t
CE-2(conf1g- router)#ex1t
CE-2(conf1g)#ex1t
PE-1&PE-2 MP-BGP
PE -1(conf1g)#rout:er bgp 5ee
PE -1(conf1g-router)#no bgp default 1pv4-unicast
PE-1(conf1g- router)#ne1ghbor g. g. g. g remote-as véase
PE -1(conf1g- router)#ne1ghbor g. g.g. g updat:e-source Loopbacke
PE -1(conf1g- router)#ne1ghbor 2ee1:1:A:1: : 2 reoot:e -as 3ee
PE -1(conf1g-router)#address-family 1pvd unicast
PE-1(conf1g-router-af)#ne1ghbor 2ee1:1:A:1: : 2 activar
PE -1(conf1g- router - af)#ne1ghbor g. g. g. g
act:1vat:e PE -1(conf1g- router - a f)#ne1ghbor g. g. g.
g send -label PE-1(conf1g- router-af)#ex1t
PE -1(conf1g-router)#ex1t
PE -1(conf1g)#
PE-2(conf1g)#router bgp 5ee
PE-2(conf1g-router)#no bgp default 1pv4-un1cast
PE-2(conf1g- router)#ne1gbbor 7. 7. 7. 7 remote-as 5ee
PE-2(config-router)#neighbor 7 .7.7.7 update-source Loopbacke
PE-2(conf1g- router)#ne1gbbor 2ee1: 1: B: 1: : 2 remote-as 4ee
PE-2(conf1g-router)#address-€ao11y 1pv8 un1cast
PE-2(conf1g-router-af)#ne1gbbor 2ee1: 1: B: 1: : 2 act1vate
PE-2(conf1g-router-af)#ne1gbbor 7. 7. 7. 7 act1vate
PE-2(conf1g-router-af)#ne1gbbor 7. 7. 7. 7 send-label
PE-2(conf1g- router-af)#ex1t
PE-2(conf1g-
router)#ex1t PE-
2(conf1g)#
PE-1 Tabla BGP
PE-1#sh bgp 1pvd unicast
La versión de BGP taBIe es 6, ID del enrutador local es 7.7.7.7
Códigos de estado: s suppressed, d damped, h history, * valid, > best, i - internal, r
RIB-failure, S Stale, m multipath, b backup-path, RT-Filter, x
best-exte mail a add1t1ona1-path, c RIB-compressed,
senda secundaria,
Códigos de origen: i - IGP, e - EGP, 7 - incompleto
Códigos de validación RPKI: V válido, I no válido, N no encontrado

Red Próximo Aet rfi.c LocPrf Ne1ght Path


salto e 3ee
2ee1 e 4ee 1
PE-1# : : FFFF: g. g. g.
g
PE-1#sh 1pvd route bgp
TaBla de enrutamiento IPv6 - por defecto - 5 entradas
Códigos: C -Conectado , L -Local , S -Estático , U -Ruta estática por
usuario B - BGP, HA HomeAgent, MR - Mobile Router, R
-RIP
H - NHRP, II - ISIS LI, 12 - ISIS L2, IA - ISIS Enter a rea
IS - ISIS su'n'nary D - EIGRP, EX - EIGRP externo, NN - NEN0
ND Default, NDp - ND Prefix, DCE -Destination , NDr -
Redirect RL - RPL, 0 - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext1
OE2 - OSPF ext 2 , ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
la - LISP alt, Mr - LISP site- regfi.strats.ons Id - LISP dyn-eld
IA- LISP lejos, a - Aplicación
2ee1:2:A:1: :/64 [2e/e]
v1a FEge: :1, Ethernete/1
zeex:z:s:i: :/eo [zee/e]
v1a g. g. g. gbdefauIt, 1nd1rectamente
conectado PE-IQ
PE-2 Tabla BGP
PE-2#sh bgp 1pvd unicast
Tabla BGP versión 1s 4, router local ID 1s g. g. g. g
Códigos de estado: s suppressed, d damped, h history, * valid, > Best, i - internal, r
RIB-failure, S Stale, m multipath, b backup-path, f RT-Filter, x
best-external, a additional-path, c RIB-compressed,
I camino secundario,
Códigos Or1g1n: 1 - IGP, e - EGP, ? - 1ncompleto
Códigos de validación RPKI: V válido, I no válido, N no encontrado

Red Próximo salto Aetrfi.c LocPrf Ne1ght Patb


"'1 2ee1: 2:A: 1: :/64 : : FFFF:7. 7. 7. 7 e 1ee e 3ee 1
-' 2ee1: 2: B:1: :/sa 2eex: a: s: a: : 2 e e 4ee 1
PE-2#sh 1pvd route bgp
IPvd Rout1ng Table - default - 5 ent rfi.es
Códigos: C - Conectado, L - Local, S - Stat1c, M - Per - uso r Stat1c ruta
B - BGP, HA - Agente doméstico, MR - Enrutador móvil, R - RIP
H - NHRP, II- ISIS LI, 12 - ISIS L2, IA - ISIS Inter area
IS - Resumen ISIS, D - EIGRP, EX - EIGRP exte mat NN - NEN0
ND - ND Default, NDp - ND Pref1x, DCE - Dest1nat1on, NDr - Redirect
RL - RPL, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
0E2 - OSPF ext 2, 0N1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext
2
la - LISP alt, Ir - LISP site-registrations, ld - LISP dyn-eid
IA - LISP away, a - Aplicación
B 2ee1:2:A:1::/64 [2ee/e]
a través de 7.7.7.7%defauIt, conectado indirectamente
B 2ee1:2:e:i:: d4 [2e7e]
v1a FEge: :4, Ethernete/1
PE-2#
CE-1 Tabla BGP
CE-1#sh bgp 1pvd unicast
Tabla BGP vers1on 1s 5, ID de router local 1s 1. 1. 1.2
Códigos de estado: s suppressed, d danped, b h1story, * va11d, ' best, 1 -
Internal, r RIB-failure, S State, m suit:1path, b backup-path, f RT-
F11ter, x best-external, a additional-path, c RIB-compressed,
I camino secundario,
Códigos Or1g1n: 1 - IGP, e - EGP, ? - Incompleto
Códigos de vaI1dat1on RPKI: V va11d, I 1nva11d, N No encontrado

RedSalto siguiente Métrica LocPrf Peso Ruta


"' 2ee1:2:A:1: :/64 e 327sg 1
*' 2ee1:2:B:1: :/64 2ee1:1:A:1: :1 e 5ee 4ee 1
CE-1#sh 1pvB route bgp
IPvd Rout1ng Table - default: - d ent ries
Códigos: C - Conectado, L -Local , S -Stat1c , M -Ruta Stat1c por usuario
B - BGP, HA - Agente Hoine, NR - Enrutador Nob1Ie, R - RIP
H - NHRP, I1- ISIS Ll, I2 - ISIS L2, IA - ISIS interárea
IS - ISIS sunnario, D - EIGRP, EX - EIGRP externo, NO - NEN0
ND - ND por defecto, NDp - ND P remezcla DCE - Dest:1nat:ton,
NDr - Redirigir
RL ,0 - OSPF Intra, OI - OSPF Inter, OEl - OSPF ext1 OE2 - OSPF ext
2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
Ia - LISP aIt, Ir - LISP site-registrations, ld - LISP dyn-eid
IA - LISP away, a - App11cat1on
B2ee1: 2: B:1: :/64 [2e/e]
v1a FEge: : 2, Ethernete/e
CE-1
CE-2 Tabla BGP
CE-2#sh bgp 1pvd un1cast
La versión de la tabla BGP es 5, el ID del enrutador local es 1.1.1.3
Códigos de estado: s suppressed, d damped, h history, * valid, ' best, i - internal, r
RIB-failure, S Stale, m multipath, bBackup-path, RT-Filter, x
best-external, a add1t1onal-path, c RIB-compressed,
senda secundaria,
Códigos de origen: i- IGP, e - EGP, 7 - incompleto
Códigos de validación RPKI: V válido, I no válido, N no encontrado

Red Próximo salto Netr1c LocPr£ Ne1ght Path


*' 2ee1: 2:A:1: :/64 2ee1:1:B:1: :1 e 5ee 3ee 1
"' 26£'1: 2: B : 1: :/64 327sg 1
CE-2#sh 1pvd route bgp
Tabla de enrutamiento IPvd - por
defecto - d entradas
Códigos: C - Conectado, L - Local, S - Stat1c, U - Pe r-user Stat1c route B - BGP,
HA - Hone Agent, MR - NoIz1Ie Router, R - RIP
H - NHRP, II- ISIS LI, 12 - ISIS L2, ÍA - ISIS 1nte rarea
IS - ISIS suomary, D - EIGRP, EX - EIGRP externo N/á - NENO
ND - ND Default, NDp - ND Pref1x, DCE - Dest1nat1on, NDr - Redirect RL -
RPL, 0 - OSPF Intra, OI - OSPF Ante rd OE1 - OSPF ext 1
OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
la - LISP alt, ir - LISP sitio-registros, ld - LISP dyn-eid lA -
LISP away, a - Aplicación
B zee1:z:A:a: :/s4 [ze/e]
v1a FEge: : 5, Ethernete/e
CE -2#
Ubuntu-1 Comprobar
Connectivit
root§Ubuntu-1: W 1£conf1g ethe 1netd add 2ee1: 2: a: 1: : 1e/64
root§Ubuntu-1: W route -A 1netd add default go 2ee1: 2: a: 1: :1
root§Ubuntu-1:=P
root§Ubuntu-1: W p1ngd -n 2ee1: 2: b: 1: : 1e
PING 2ee1: 2: b:1: :1e(2ee1: 2: b:1: :1e) 5d bytes de datos
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=1 tt =57 t1ne=33. e ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=2 tt =57 t1ne=5.25 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=3 tt =57 t1ne=3.29 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=4 tt =57 t1ne=4. d5 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=5 tt =57 t1ne=4. 71 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=d tt =57 t1ne=4,34 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=7 tt =57 t1ne=4.55 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=g tti=57 t1ne=5. e7 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=9 tt =57 t1ne=7. 91 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=1e tt =57 t1iue=4. EN ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=11 tt =57 t1iue=9. 7d ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=12 tt =57 t1iue=3. so ns
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=13 tt =57 t1iue=4.29 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=14 tt =57 t1iue=7. ee ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=15 tt =57 t1iue=3.4d ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=1d tt =57 t1iue=3. be ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=17 tt =57 t1iue=5.52 ms
64 bytes de 2ee1: 2: b: 1: : 1e: 1cmp_seq=1g tti=57 t1iue=4.25 ms
Ubuntu-1 Comprobar
Connectivit
No. Fuente Desânation Longitud Información

138.692957 2001:2:a:1: :10 2001:2:b:1: :10 ICMPv6 126 Ec ho ( p1ng ) solicitar Id


138.695515 2001:2:b:1: :10 2001:2:a:1: :10 ICMPv6 126 Eco (ping) respuesta
id=0
139.693618 2001:2:a:1: :10 2001:2:b:1: :10 ICMPv6 126 E c ho (p1ng) solicitar Id:
139.696026 2001:2:b:1: :10 2001:2:a:1: :10 ICMPv6 126 Eco (ping) respuesta
id=0

Trama 184: 126 bytes en el cable (1008 bits), 126 bytes capturados (1008 bits) en la interfaz 0
• Ethernet II, Src : aa:bb:cc:00:01:00 (aa:bb:cc:00:01:00), Dst: aa: bb:cc:00:02:00 (aa: bb:cc
:00:02:00) Destino: aa: bb:cc:00:02:00 (aa: bb:cc :00:02:00)
Origen: aa:bb:cc:00:01:00 (aa: bb:cc:00:01:00)
Tipo: Paquete conmutado por etiquetas MPLS
(0x8847)
• MultiProtocol Label Switching Header, Label: 205, Exp: 0, S: 0, TTL: 61
0000 0000 0000 1100 1101 . . . . . . . . . . . . . = Etiqueta MPLS: 205
000. . . . . . . . = Bits experimentales MPLS: 0
.0 . . . . . . . = MPLS Bottom Of Label Stack: 0
0011 1101 = MPLS TTL: 61
• MultiProtocol Label Switching Header, Etiqueta: 607, Exp: 0, S: 1, TTL: 62
0000 0000 0010 0101 1111 . . . . . . . . . . . . . = Etiqueta MPLS: 607
000. . . . . . . . = Bits experimentales MPLS: 0
.1 . . . . . . . = MPLS Bottom Of Label Stack: 1
. . . . . . . . . . . . . . . . . . . . 0011 1110 = MPLS TTL: 62
Internet Protocol Version 6, Src: 2001:2:a:1: :10, Dst: 2001:i:b:1: :10
Internet Control Message Protocol v6
bPE - H3C y Cisco

Loopback O
GE1/ 0 PE-2 2OD1
GE2/ D

PE-1 GE1/0,

LoopMcko OSPF 10
2001 ASN fi31OO
10.10.X.0/Z4
P2 P3 Y P4
P1(config)#int Ioe Pt(conf1g)#1nt ee/3
P1(conf1g-1f)#1p add 1.1. 1.1 255.255.255.255 P1(conf1g-1f)#1p add 1e. ae. g. i 255.255.255. e
P1(conf1g-1f)#1p osp£ 1e área e P1(config-if)#no shut
Pa(co "f1y-1fjsex1t Pt(confîg)#înt P1(conf1g-1f)#1p osp£ 1e área e
ee/e Pt(conf1g-1f)#ex1t
P1(conf1g-1f)#1p añadir 1e. 1e. 1. 1 255.255.255. P1(conf1g)#mpIs label range 12ee 13ee
e Pa(confîg-1f) "no shut P1(config)#mp1s ldp router-id loi force
P1(conf1g-1f)#1p osp£ 1e área e P1(config)#router ospf 1e
Pa(co "f1y-1fjsex1t P1(config-router)#router-id 1.1.1.1
P1(config) int ee/1 P1(config-router)#mp1s ldp autoconfig
P1(conf1g-1f)#1p añadir 1e. 1e. 2. 1 P1(conf1g-router)#exflt
255.255.255. e P1(conf1g)#
P1(config-if)#no shut
P1(conf1g-1f)#1p ospf 1e área e
Pa(co "f1y-1fjsex1t
P1(conf1g)#1nt ee/2
P1(conf1g-1f)#1p añadir 1e. 1e. 5. 1 255.255.255.
e Pa(confîg-1f) "no shut
Pt(conf1g-1f)#1p ospf 1e área e
Pa(co "f1y-1fjsex1t
¢HPE'systeio-v1ew
Sistema V1ew: volver a Usuario V1ew w1tb Ctrl+Z.
[HPE] sysnaioe PE-1
[PE-1] 1nterfaz 1oop6ack 1
[PE-1- LoopBack1] 1p add 5.5.5.5 32
[PE-1- LoopBack1] qult
[PE-1] 1nt g1ga 1/e
[PE-1-G1gab1tEthernet1/e] Ip add 1e. es decir,
g.2 24 [PE-1-G1gab1tEtbernet1/e] quit
[PE-1] 1nt g1ga 2/e
[PE-1-G1ga61tEtbernet2/e] 1pvB add 2ee1: 1: 1: 1: : 1
64 [PE-1-G1ga61tEtbernet2/e] quit
[PE-1] ospf 1e router-1d 5.5.5.5
[PE-1-ospf-1e] area e. e. e. e
[PE-1-ospf-1e-area-e. e. e. e] red 5.5.5.5 e. e. e. e
[PE-1-ospf-1e-area-e. e. e. e] network 1e. ie. g. e . e. e.
e.255 [PE-1-ospf-1e-area-e. e. e. e] qult
[PE-1-ospf-1e] qult
[PE-1] mpls Isr-Id
5.5.5.5 [PE-1] mpls 1dp
[PE-1-1dp] qult
[PE-1] 1nt g1ga 1/e
[PE-1-G1gab1tEtbernet1/e] mpls enable
[PE-1-G1gab1tEthernet1/e] mpls 1dp
enable [PE-1-G1gab1tEthernet1/e] quit
[PE-1] 1pv6 route-stat1c zeei:A:A:A: : 64 2ee1: 1:1:1: : 2
[PE-1]
Confioure PE-2
<HPE'systein-v1ew
Sistema V1ew: volver a Usar r V1ew con CI:rI+Z.
[HPE] sysnane PE-2
[PE-2] 1nter£ace 1oopback 1
[PE-2- LoopBack1] 1p add B.B. d. d 32
[PE-2- LoopBack1] qult
[PE-2] 1nt g1ga 1/e
[PE-2-G1gab1tEthernet1/e]1p add 1e. es decir, s.2 24
[PE-2-G1gab1tEthernet1/e]qult
[PE-2] 1nt g1ga 2/e
[PE-2-G1gab1tEthernet2/e]1pvB add 2eei:i:1:2::1 84
[PE-2-G1gab1tEthernet2/e]qult
[PE-2] ospf 1e router-1d s. 5.5.B
[PE-2-ospfie] area e. e. e. e
[PE-2-ospfie-area-e.e.e.e]red B. d. d. d e. e. e. e [PE-2-
ospfie-area-e.e.e.e]red 1e.1e. s. e. e . e . 255 [PE-2-ospfie-
area-e.e.e]qult
[PE-2-ospfie] qult
[PE-2] mpls 1sr-Id B.d.Hz. Cz
[PE-2] npls 1dp
[PE-2-1dp] qult
[PE-2]1nt g1ga 1/e
[PE-2-G1gab1tEthernet1/e]npls enable
[PE-2-G1gab1tEthernet1/e]mpls 1dp enable
[PE-2-G1gab1tEthernet1/e]qult
[PE-2] 1pv5 route-stat1c 2ee1: B: B: B: : e4 2ee1:1: 1: 2: : 2
[PE-2]
Confioure PE-2
[PE-1] display npls 1dp peer
Número total de peers: 1
Peer LDP ID Estado Papel GR MD5 KA enviado/recibido
z.z.z.z:e Operativo Activo Fue Fue 1/1
[PE-1] display npls tsp ra ra
FEC de de
1. 1. 1. 1/32
1. 1. 1. 1/32 Prof:o Etiqueta de Int:er£ace/Out: NHLFE
2.2.2.2/32 LDP entrada/sali GE1/e
2.2.2.2/32 LDP da GE1/e
3.3.3.3/32 1151/3
3.3.3.3/32 -/3
4.4.4.4/32 PLD 115e/12ee GE1/e
4.4.4.4/32 PLD -/12ee GE1/e
5.5.5.5/32 PLD 1149/12e2 GE1/e
8. 8. 8. 8/32 PLD -/12e2 GE1/e
8. 8. 8. 8/32 PLD "4g/'204 GE1/e
Ie.Ie.g.1 PLD -/1204 GE1/e
[PE-1] PLD 3/-
LDP 1147/12e7 GE1/e
LDP -/12e7 GE1/e
Local -/- GE1/e
Confioure CE1 & CE2
CE1#conf I:
Introduzca los comandos de conf1gurat1on, uno por 11ne.
Terminar con
CNTL/Z. CE1(conf1g)#1pv6 un1cast- routing
CE1(conf1g)#1nt loe
CE1(conf1g-1f)#1pvd add 2ee1:A:A:A: :1/64
CE1(conf1g-1f)#ex1t
CE1(conf1g)#1nt ed/e
CE1(conf1g-1£)#1pvB add 2ee1: 1: 1:1: : 2/64
CE1(conf1g-1f)#no
shut CE1(conf1g-
1f)#ex1t
CE1(conf1g)#1pvs ruta : :/e 2ee1: 1: 1:1:
:1 CE1(conf1g)#ex1t
CE14
CE2#conf t
Introduzca conf1gurat1onconnands, onepe r. Endwžtb CNTL/Z.
CE2(conf1g)#1pvčt un1cast- rout1ng
CE2(confžg)#1nt loe
CE2(conf1g-1f)#1pv6 add 2ee1: B:B:B: :1/64
CE2(conf1g-1f)#ex1t
CE2(conf1g)#1nt ee/e
CE2(conf1g-1f)#1pv6 add 2£'£'1:1:1: 2: : 2/64
CE2(conf1g-1f)#no shut
CE2(conf1g-1f)#ex1t
CE2(conf1g)#1pv6 route : :/£' 2ee1:1:1: 2: :1
CE2(confžg)#ex1t
CE2#
Confiar M-BGP PE-1&PE-2
[PE-1] bgp ssaee
[PE-1-bgp-defauIt:] rout:er-žd 5 .5.5.5
[PE-1-bgp-de€auIt:]peer B.B.B.B as-nuinber B51ee
[PE-1-bgp-de£auIt:] peer d. d. d. d connecž-1nžerface loopback 1
[PE-1-bgp-defauIt] address-fanžly žpv8
[PE-1-bgp-de€auIt:-žpvB] žoport:- rout:e d1rect:
[PE-1-bgp-de€auIt:-žpvB] žoporž- rouže sžaž1c
[PE-1-bgp-de£auIt:-žpvd]peer d. d. d. d enaIz1e
[PE-1-bgp-defauIt-žpv8]peer 8.8.8.8 Ia6e1- route-capabž1žty
[PE-1-bgp-defauIt:-žpvB] qužt:
[PE-1-bgp-de€auIt:] qužt:
[PE-1]
[PE-2] bgp B51ee
[PE-2-bgp-default] router-Id 6 . 6. 6. 6
[PE-2-bgp-default]peer 5.5.5.5 as-number d51ee
[PE-2-bgp-default]peer 5.5.5.5 connect-Interface 1oopback 1
[PE-2-bgp-default]dirección-fanlly 1pv6
[PE-2-bgp-default-1pvB] 1inport- route
d1rect [PE-2-bgp-default-1pvB] 1inport- route
stat1c [PE-2-bgp-default-1pvB] peer 5.5.5.5
enable
[PE-2-bgp-default-1pv6] peer 5.5.5.5 label- route-capab1l1ty
[PE-2-bgp-default-1pvB] qult
[PE-2-bgp-default]qult
[PE-2]
Rutina ZPv6 Cuad
ro
[PE-1]display ipv6 routing-table protocol bgp

Summary count : 2

BGP4+ Rout1ng tab1e status : cAct1ve'


Summary count : 2

Dest1nat1on: 2ee1: 1: 1: 2: :/64 Preferencia BGP4+


Interfaz : FFFF: 6.6.6.6 de protocolo: 255
NextHop GE17'e coste e
Dest1nat1on: 2eei: s: s: s: :/64 Protoco1 BGP4+
SiguienteHop : : FFFF: 6.6.6.6 Preferencia 255
:
Interfaz GE1fe coste: e

BGP4+ Estado de la tabla de enrutamiento : <Inactivo1


Recuento sumario :0
[PE-1]
CE1#ping 2ee1:B:B:B::1 repeat 25e
Escriba la secuencia de escape para
abortar.
Enviando 25e, 1e0-byte ICMP Echos t 2ee*:e:e:B::1, el tiempo de espera es de 2 segundos:
La tasa de éxito es lee por ciento (25e/25e), ida y vuelta minfavgfmax =
3f4/11 ms CEl#
Rutina ZPv6 Tabla
[PE-2]disp1ay ipv6 routing-table protocol bgp

Su'nna ry cuente

Estado de la tabla de enrutamiento BGP4 <Activo


Su'nna ry cuente

Destino: 2ee1:1:1:1::/64 Protocolo : BGP4+


NextHop : ::FFFF:5.5.5.5 Preferencia:
Interfaz : GE1/e Coste

Destino: 2ee1:A:A:A::/64 Protocolo : BGP4+


NextHop : ::FFFF:5.5.5.5 Preferencia:
Interfaz : GE1/e Coste

Estado de la taBla de enrutamiento BGP4 <Inactivo>


Recuento sumario
[PE-2]

CE2#p1ng 2ee1:A:A:A: :1 repeat 25e


Escriba la secuencia de escape para
abortar.
Sendžng 25e, the-byt:e ICNP Echos to 2ee1:A:A:A: :1, t1ineout 1s 2 segundos:

Tasa de éxito 1s 1ee por ciento (25e/25e), round-tr1p in1n/avg/max = 3/4/1e ins CE2#
Wireshark Captura ICMPv6

También podría gustarte