Académique Documents
Professionnel Documents
Culture Documents
MPLS Concepts
± LSR & Labels
± MPLS label assignment and distribution
± Label Switched Path (LSP)
± Loop Detection and Prevention
± Label Distribution Protocol (LDP)
± Configuring MPLS on Cisco IOS ± Frame-Mode
Interfaces
± Monitoring MPLS on Cisco IOS ± Frame-Mode
Interfaces
Introduction to MPLS Virtual Private Networks
(VPNs)
± Introduction to VPNs
± MPLS VPN Architecture
± MPLS VPN Routing Model
± MPLS VPN Packet Forwarding
± Configuring Virtual Routing and Forwarding Table
± Configuring a Multi-Protocol BGP-Session Between
the PE routers
± Configuring Routing Protocols between PE and CE
Routers
± Monitoring MPLS/VPN operation
v
MPLS fue diseñado inicialmente para
alcanzar dos objetivos:
Hacer los routers más rápidos, llevar la
velocidad del switching de capa 2 a la capa3.
± ATM switches fueron más rápidos que los routers
± Lookup a labels de longitud fija es más rápido que el
largo matching del IP routing
± Permitir a un equipo hacer el mismo trabajo que un
router a la velocidad y desempeño de un ATM-Switch
v
Habilitar la Integración de IP+ATM
± Mapeo de IP a ATM era muy complejo en ese
entonces.
Una de las principales justificaciones para
tecnologías como MPLS ya no se perciben más
hoy, debido a que Switches de capa 3 con
ASIC-based routers desarrollan lookups a
suficiente velocidad para soportar cualquier tipo
de interfase.
v
Aún así MPLS nos brinda muchos otros beneficios a
redes basadas en IP, los principales:
- VPNs - usando MPLS, service providers pueden crear
IP tunnels a través de su red sin la necesidad de
encriptamiento o aplicaciones corriendo en el usuario
final.
- QoS ± la habilidad de colocarles características de
desempeño a una clase de tráfico.
- Traffic Engineering ± la habilidad para colocar el
camino que determinado tráfico tomará a través de la
red, y la habilidad de colocarles características de
desempeño a una clase de tráfico. Además de permitir
optimizar los enlaces de la red, sin concentrar el tráfico
en determinadas zonas.
v
!"#$%$
%$
Label = 20 bits
Exp = Experimental, 3 bits
S = Bottom of stack, 1bit
TTL = Time to live, 8 bits
Genérico: puede ser usado sobre Ethernet,
802.3, PPP links, Frame Relay, ATM PVCs, etc.
Usa nuevos para Ethertypes/PPP PIDs/SNAP
values/etc.
4 octetos por label
%$
0c$$
5c
c 0 c c 0
%$
&
+'-',.'& ' -
'-',.'&3(*
#" #"
#" #"
!" !"
8
8
!"#$%$
%$
'-',.**3(*
&' #Ê $$ $
Ê$$ % '( '(
(
(
'
%(#Ê
)*&+
'-',.'&3(*
6
6
!2
'-',.'&3(* '-',./' $'
35 % 6 35 % 35 % 6 35 % '-',.**3(* '-',.'(' $(
& '-',.3', ' * & * '-',.3', ( '-',.3', $$
#"
!"
!" '-',.**3(*
!"
!"
'-',.'&3(*
1 2
$$
' ( $$ % &' #Ê
$
$
' '-',.'&3(*
'(.'*'&3(*
& ' #"3
!"
!"
8
#Ê-
35
#Ê-
,
4
#Ê-'
'( '( #Ê-
#Ê-
#Ê-
#Ê-
!"#$%$ 8
#Ê- * +
%$
8
#Ê-
35
#Ê-
,
#Ê-
5
#Ê-
#Ê-
$
' #Ê- 8
3 * +
#Ê-)
#Ê-
6
'(
#Ê-
#Ê-
-
6
7(
'
$7
$:%$2
'
(
)
#"
8
#"3
#"35
#"3
#Ê---8
#Ê---83
,
#"3 #"5
8
* +
359-- #Ê---8
39-- #Ê---85
00
'
(
)
8 #Ê-
: "
35
#Ê-
: "3
,
#Ê-
: " #Ê-
!"#$%$ : " 8
%$ * +
#"35
00#"
,
#Ê---8
: " #"
!"#$%$ 00#" 00#" 8
%$ * +
6
8=
,%
c7
c
6
LDP Identificador
± 6 bytes identificando el LSR y el espacio de labels
4 bytes: IP address of one of the platform interfaces
2 bytes: Label space identifier
<IP address>:<Label space ID>
± LSR usando diferentes espacios de labels (interface)
usarán diferentes identificadores:
192.0.3.5:10
192.0.3.5:20
LSR usando diferentes espacios de labels
usarán separadas sesiones LDP
%$
8
#Ê-
35
#Ê-
,
#Ê-
5
#Ê-
#Ê-
$
' #Ê- 3 8
* +
#Ê-)
#Ê-
6
'(
#Ê-
#Ê-
-
6
7(
'
9
Mensajes de Sesion
Establece, mantiene y termina sesiones LDP
TDP monitorea estado y necesidad de sesiones
± Keep Alive PIEs monitorea integritdad de la conexion
y transporte
± µDiscovery Hello¶ PDUs señalan la disposición del
peer para intercambio de labels sobre el link
Mensajes de Aviso
Crean, modifican, borran mapeos de labels
Mensajes de Notificación
Error en señalamiento
Configuring MPLS on Cisco
IOS²Frame-Mode
Interfaces
Tareas de Configuración MPLS
%$8;
± %$c5"#8
± c68$8
$%$$%$$
1%$8$8 6"$4
± c680%
6
#%$
!%
$%$
$;
± c68!>
$0 <
<
± c6887
$ 00
± c68
$%$
c!
c687
MPLS Base funcionalidad es configurada
usando tag-switching comandos hasta el IOS
release 12.1(3)T y 12.0(x)ST
IOS 12.1(3)T/12.0(x)ST introduce MPLS
comandos de configuración que son usualmente
equivalentes a comandos tag-switching
tag-switching version de comando de
configuración aparece en configuración salvada
para compatibilidad
Configurando Label Pool
en sintaxis tag-switching
Router(config)#
tag-switching ip
Habilita label switching sobre una interfase frame-mode
Inicia TDP sobre la interfase.
Router(config-if)#
mpls ip 12.1(3)T
Habilita label switching sobre una interfase frame-mode
Inicia TDP sobre la interfase.
Router(config-if)#
no tag-switching ip propagate-ttl
no mpls ip propagate-ttl 12.1(3)T