Escolar Documentos
Profissional Documentos
Cultura Documentos
GTER 22
Carlos Campana
Presentation_ID
Presentation_ID
A grande preocupao
Para quem presta os servios
Como oferecer esses servios com facilidades para:
Identificao (deteco/diagnstico) de problemas
Gerenciamento
Agenda
OAM
Resumo de Ethernet OAM
Aplicando Ethernet OAM
Inter-working de OAM
Resumo de MPLS OAM
Presentation_ID
OAM
Presentation_ID
monitorao de performance
gerncia de segurana
funes de diagnstico
N S
Plano de Gerncia
(NMS / EMS)
Plano de Rede
(NEs)
W E
Presentation_ID
monitorao de performance
gerencia de segurana
funes de diagnstico
N S
interao W
(entre NEs)
(NMS E
/ EMS)
Plano de Rede
(NEs)
W E
Presentation_ID
SP Network
Core
Access
U-PE A
N-PE 1
MPLS
CE
Native
Ethernet
Operadora1
U-PE D
Operadora3
SONET/SDH
CE
N-PE 4
ATM U-PE C
CE
Operadora2
PW
CE
U-PE B
N-PE 3
N-PE 2
Operadora4
Provedor
Cliente
ATM
RFC1483
Bri
dg
e
Ro
ute
r
Ro
ute
r
Ro
ute
r
Bri
dg
e
sw
itc
h
sw
itc
h
OAM de Servio
OAM de
Rede
Cu
sto
me
r
Bri
dg
e
Rede
Transporte
Bri
dg
e
Ed
ge
Bri
dg
e
Servio
10G
Ethernet
AT
M
Sw
itc
h
Ethernet
over MPLS
AT
M
Sw
itc
h
Ethernet
over SONET
Operadora B
Ed
ge
Ro
ute
r
Nveis
Operadora A
Cu
sto
me
r
Bri
dg
e
SONET
OAM
OAM de
Rede
MPLS
OAM
Ethern
OAM
ATM
OAM
Ethernet OAM
Presentation_ID
10
Presentation_ID
11
Se
rvi
ce
La
yer
Ne
two
rk
La
yer
Tra
ns
po
rt L
aye
r
31
Y.17
I
E-LM
ag
802.1
ah
802.3
12
Provedor de Servio
Acesso
Ethernet
CE 1
Acesso
MPLS
Core MPLS
nPE A
uPE A
CE 2
Domnio do
Cliente
Domnio do
Provedor
Domnio da
Operadora
13
Domnios de Manuteno
CE
CE
PE
CE
CE
PE
CE
CE
Domnio da
Operadora
Domnio do
Provedor
PE
PE
CE
Domnio
do Cliente
Cenrio A:
Cenrio B:
Cenrio C:
Domnios consecutivos OK
Interseo de domnios NO
Domnios aninhados
Presentation_ID
OK
14
Pontos de Manuteno
Um ponto de manuteno (MP) um ponto de demarcao em uma
interface que participa no CFM, dentro de um domnio de
manuteno.
Duas classes de MPs:
Maintenance End Points (MEPs):
Por domnio de manuteno e S-VLAN
Na fronteira do domnio
Fonte ativa de mensagens CFM
Maintenance Intermediate Points (MIPs):
Por domnio de manuteno e para todas as S-VLAN em uma porta
Interno ao domnio
Pontos passivos, s respondem quando solicitados por certas mensagens
CFM
Presentation_ID
15
Pontos de Manuteno
Equipamento
do cliente
MEP
Bridges da
Operadora A
Bridges da
Operadora B
MIP MEP
MIP
MEP
Direo
Externa
MEP
MIP MIP
MIPMIP
MIP
MEP MEP
MIP
MEP
MIP MIP MIP MIP
Nvel do
Cliente
MEP
MIP
MIP
Direo
Interna
Nivel do
Provedor
Nvel da
Operadora
Presentation_ID
Equipamento
do cliente
Nivel da
Operadora
16
Maintenance Level (0 to 7)
SA
45 bits
Ethertype
VLAN
CFM Ethertype
CFM TLVs
3 bits
Presentation_ID
17
Bridges da
Operadora A
Bridges da
Operadora B
catalogue catalogue
MEP
Presentation_ID
MIP MIP
Equipamento
do cliente
MEP
18
Loopback
Loopback
Ethernet Ping: Endereo MAC de destino, VLAN and domnio
de manuteno.
Frame unicast, origem tem de ser um MEP, destino pode ser
um MEP ou um MIP. Reply unicast tambm.
Gerado sob demanda via CLI.
Presentation_ID
19
Loopback
Equipamento
do cliente
Equipamento
do cliente
dest
src
MEP
MIP MIP
MEP
1. Loopback Request
2. Loopback Reply
Presentation_ID
20
Traceroute
Traceroute
Mensagem multicast, origem tem de ser um MEP, destino tem
de ser um MEP tambm. Resposta unicast.
Gerado sob demanda via CLI.
Endereo MAC de destino, VLAN e domnio de manuteno.
Permite a identificao de todos os MIPs do mesmo domnio
de administrao no caminho at o MEP de destino.
Tem um TTL para limitar a propagao na rede.
Presentation_ID
21
Traceroute
Equipamento
do cliente
src
Bridges da
Operadora B
Bridges da
Operadora A
dest
Equipamento
do cliente
6. Reply
4. Reply
2. Reply
MEP
Presentation_ID
MIP MIP
MEP
1.
3.
5.
Request
Request
Request
22
Comandos
#traceroute ethernet 0015.637b.4e00 level 4 vlan 101
Tracing the route to 0015.637b.4e00 on Domain PROVIDER_DOMAIN, Level 4, vlan 101
-----------------------------------------------------------------------------MAC
Hops
Host
Forwarded
Egress Action
Relay Action
Next Hop
-----------------------------------------------------------------------------B 1
Presentation_ID
dl-c7606
0015.6215.3e85 Gi3/23
IngOk
RlyCCDB
Not Forwarded
EgrDown
sj-c3750me
Gi3/24
23
Y.1731 (ITU)
CFM mais
ETH-LCK (para diagnsticos fora de servio)
Multicast Loopback
AIS
TEST
Canal de controle (maintenance communication channel)
Experimental OAM
Medio de Performance (Delay, Packet loss )
Presentation_ID
24
Provedor de Servio
Acesso
Ethernet
CE 1
802.3ah 802.3ah
Core MPLS
Acesso
MPLS
CE 2
Link Layer
OAM
802.3ah
25
Presentation_ID
26
OAM
OAM
X
MAC
MAC
PHY
PHY
Master OAM
Presentation_ID
Slave OAM
27
802.3ah - Exemplo
Configurao
interface FastEthernet4/4
ethernet oam max-rate 5
ethernet oam min-rate 2
ethernet oam timeout 30
ethernet oam remote-failure link-fault action error-disable-interface
ethernet oam remote-failure dying-gasp action error-disable-interface
ethernet oam
Comandos
Show ethernet oam statisticsFastEthernet4/2
Counters:
---------
Presentation_ID
Information OAMPDU Tx
: 3
Information OAMPDU Rx
: 3
: 0
: 0
28
Provedor de Servio
Acesso
Ethernet
CE 1
Core MPLS
uPE B
E-LMI
Acesso
MPLS
uPE A
CE 2
Service
Layer OAM
E-LMI
Presentation_ID
29
Terminologia MEF
User Network Interface
(UNI)
CE-A
CE-B
Ethernet Virtual
Circuit
(EVC) MPTMP
Ethernet Virtual
Circuit
(EVC) PTP
CE-C
Presentation_ID
30
PE
Ethernet LMI
PE
CE
Ethernet LMI
Ethernet LMI: Ethernet Provisioning and Management entity across UNI (CE-PE)
Presentation_ID
31
MPLS
CE
PE
Ethernet LMI
PE
CE
Ethernet LMI
Ethernet LMI: Ethernet Provisioning and Management entity across UNI (CE-PE)
Presentation_ID
32
33
Presentation_ID
34
Fluxo tpico
CE
Startup
Auto
Config-
T391
timeout
MEN
STATUS ENQ (Full Status Req)
STATUS (Full Status Resp)
UNI Id
EVC Id
CE-VLAN
Bandwidth Profile
EVC Status
..
Link Ok !!
Link
OK !!
STATUS (ASYNC)
Presentation_ID
35
E-LMI - Exemplo
Configurao
interface GigabitEthernet0/1
logging event subif-link-status
ethernet lmi interface
Comandos
#show ethernet lmi statistics interface g0/1
Ethernet LMI Statistics for interface GigabitEthernet0/1
Ether LMI Link Status: Up
UNI Status: Up
UNI Id: csco-sd
Reliability Errors:
Status Timeouts
1 Invalid Sequence Number
Invalid Status Response
0 Unsolicited Status Received
Protocol Errors:
Invalid Protocol Version
0 Invalid EVC Reference Id
Invalid Message Type
0 Out of Sequence IE
Duplicated IE
0 Mandatory IE Missing
Presentation_ID
0
0
0
0
0
36
Padres
Organizao
Ethernet OAM
[WE, N S]
Link OAM [E<>W]
IEEE 802.3ah
Fault Mgmt [E<>W]
IEEE 802.1ag
MIBS
IEEE 802.3 + 802.1
EMS/NMS [N<>S]
EMS-NMS Info Model
Service OAM [E<>W]
Performance Mgmt
Ethernet OAM [E<>W]
Y.1731
Ethernet Protection
G.8031
FCAPS/FAB
SG4
L2VPN OAM Req. & Framework [E<>W]
L2VPN WG
Presentation_ID
37
Aplicando
Ethernet OAM
Presentation_ID
38
Possilidades
Excessive
Encoding
Errors
Access
Excessive
FCS
Errors
Customer
Equipment
CE
Unidirectional
Link SP Network
Crossconnecte
d Service
U-PE A
MPLS
Unexpecte
d Endpoint
VC
failure
U-PE D
N-PE 3
SONET/SDH
LSP
Failure
N-PE 4
N-PE 2
Ethernet UNI
C-VLAN
to EVC CE
mismatch
MPLS U-PE C
Ethernet UNI
Physical
link failure
UNI
port
failure
PW failure
VFI
failure
U-PE
device
failure
Presentation_ID
N-PE 1
Duplex
mismatch
PW
U-PE B
Physical
link failure
Core
Native
Ethernet
CE
D-LDP
session
failure
P-Router
failure
Speed
mismatch
CE
AC
failure
VLAN to VFI
xconnect failure
Physical
link failure
39
Taxonomia do problema
Gerncia de Falhas
Deteco
Notificao
Verificao
Isolamento
Recuperao
Gerncia de Performance
Medio de perda de frames
Medio do delay
Medio do jitter
Medio de disponibilidade
Presentation_ID
Servios
Ethernet
Gerncia de configurao
Aprovisionamento de servios
40
Fault
Notification
Fault
Verification
Fault
Recovery
Fault
Isolation
Deteco de Falha
Mecanismo
802.1ag
(CFM)
802.3ah
Presentation_ID
Continuity
Check (CC)
Link
Monitoring
Falhas Detectveis
Conectividade no desejada/vazamento de servio
Perda de conectividade com um site
Falha de link
Falha no dispositivo (soft & hard)
Loops
Erros de configurao
Enlace unidirecional
Deteriorao da qualidade do link (Frame/Symbol
Errors)
41
Y.1731
Mecanismo
Gatilhos
Alarm
Indication
Signal (AIS)
802.1ag
(CFM)
Remote Defect
Indication (RDI)
802.3ah
Remote
Failure
Indication
E-LMI
Presentation_ID
Notificao
Fault
Notification
Fault
Recovery
Fault
Verification
Fault
Isolation
Falha em link
Dying Gasp
Evento crtico
Event
Notification
Status
Message
Fault
Detection
42
Fault
Notification
Verificao
Fault
Recovery
Fault
Verification
Fault
Isolation
Verificao de Falha
Mecanismo
802.1ag
(CFM)
Y.1731
Presentation_ID
Loopback
Multicast
Loopback
Capacidade
MAC Ping por EVC (destino nico)
Verificar conectividade bidirecional entre
dois pontos de manuteno
43
Fault
Notification
Fault
Recovery
Fault
Verification
Fault
Isolation
Isolamento
Isolamento de Falha
Mecanismo
802.1ag
(CFM)
Presentation_ID
Link Trace
Capacidade
MAC Traceroute por EVC
Identificao de pontos intermedirios no
caminho
entre origem e destino
Informar ACLs encontradas ou portas bloqueadas
por STP
44
Fault
Notification
Recuperao
Fault
Recovery
Fault
Verification
Fault
Isolation
Recuperao de Falhas
Mecanismo
G.8031
Mecanismos
ETH-APS
Capacidade
Usa mecanismos de CFM para monitorao
de caminhos redundantes (msec)
xSTP
no OAM
Presentation_ID
45
IP SLA
CFM
Loopback
Jitter Probe
Y.1731
Presentation_ID
LMM / 1DM /
DMM
Capacidade
Estatsticas de SLA, incluindo:
Latncia unidirecional ida-e-volta
Jitter unidirecional
Perda de fames
Medio de perda
Delay em um sentido
Delay nos dois sentidos
46
SP Network
Core
Access
E-LMI
U-PE A
CE
N-PE 1
MPLS
N-PE 3
U-PE D
CE
SONET/SDH
Native
Ethernet
PW
CE
U-PE B
N-PE 4
N-PE 2
Ethernet UNI
MPLS U-PE C
CE
Ethernet UNI
Gerncia de Configurao
Mecanismo
CE-VLAN /
EVC Map
Capacidade
Reduzir erros de configurao
Facilitar a ativao de servios gerenciados
E-LMI
BW Profile
Presentation_ID
E-LMI
Access
Customer
Equipment
U-PE A
CE
802.3a
h
SP Network
Core
N-PE 1
802.3a
h
MPLS
N-PE 3
U-PE D
CE
SONET/SDH
Native
Ethernet
PW
CE
U-PE B
N-PE 4
N-PE 2
Ethernet UNI
MPLS U-PE C
CE
Ethernet UNI
CFM
CFM
48
Inter-Working
de OAM
Presentation_ID
49
Ed
ge
Ro
ute
r
AT
M
Sw
itc
h
AT
M
Sw
itc
h
Ed
ge
Bri
dg
e
Cu
sto
me
r
Bri
dg
e
nveis
Bri
dg
e
Ro
ute
r
Ro
ute
r
Ro
ute
r
Bri
dg
e
sw
itc
h
sw
itc
h
Ethernet
over MPLS
Traduo de
10Geventos interATM
Ethernet
RFC1483
domnio e intra-nvel
Service OAM
Network
OAM
Transport
OAM
Presentation_ID
Network
OAM
Transport
OAM
Transport
OAM
Nveis servidores
alimentam eventos
para os nveis
clientes
Transport
OAM
50
Presentation_ID
51
Provedor de Servio
CE
Core MPLS
Acesso
Ethernet
CE 1
AIS
Acesso
MPLS
nPE A
AIS
uPE A
CC
CE 2
Service Layer
OAM
Transport
Layer OAM
802.3ah
802.3ah
Erros no nvel de enlace detectados pelo 802.3ah, enviados para o CFM no mesmo dispositivo.
O CFM notifica os dispositivos remotos da falha.
Duas variaes:
Baseado em CC (802.3ah na borda domnio)
Baseado em AIS (802.3ah no domnio)
Presentation_ID
52
Cenrios de Inter-working:
MPLS PW OAM para E-LMI
Cliente
Provedor de Servio
Cliente
CE
MPLS Core
CE 1
PE B
PW OAM
para E-LMI
PE A
Service Layer
OAM
E-LMI
E-LMI
VCCV-BFD
CE 2
Transport
Layer OAM
D-LDP
53
MPLS OAM
Presentation_ID
54
ATM
SDH
Ethernet
Local
Management
Interface
User
Network
Interface
Presentation_ID
Ethernet
RPR
Customer
Edge
(CE)
IP
Rede Metro
Ethernet
MPLS
Responsabilidade
do Provedor de
Servio
Ethernet
Padro
User
Network
Interface
55
Cliente A
Site 2
MPLS CORE
CE
CE
PE-PE LSPs
PWES
PE
PE
PWES
Pseudo Wires
Cliente B
Site 1
PSN Tunnel
Cliente B
Site 2
Emulated Service
Presentation_ID
56
Acesso MPLS
VPWS / Pseudowires
H-VPLS
Acesso Ethernet
802.1Q
802.1Q trunking (QinQ)
Presentation_ID
57
R2
ICMP Echo
Request
para R4
b.
OR b. descarte entre R1 e R4
=> Time Out em R1
IP Dest=R4
TTL=1
IP Dest=R4
TTL=2
R2 descarta o pacote;
Envia TTL Expired ICMP de
volta p/ R1
R2 diminui o TTL em 1
e envia p/ R3
R3
R4
a. Chega em R4
=> Sucesso
R4 envia
ICMP Echo
Response
R3 descarta pacote
Envia TTL Expired
ICMP de volta p/ R1
Ping usando
ICMP
Traceroute
Usando
UDP/ICMP
IP Dest=R4
TTL=3
Presentation_ID
58
ENTRETANTO
O ping ter sucesso mesmo
Se no h caminho MPLS
Ou se o caminho estiver quebrado
PORQUE?
Porque conectividade IP suficiente para ping/trace
Mas isto no suficiente para verificar um LSP
Presentation_ID
59
Presentation_ID
60
Requisitos
Soluo
Aplicaes
Padres IETF
Presentation_ID
Presentation_ID
62
DA
SA
Echo
SA=Source Addr
DA=Destination Addr
DA
Echo
49
50
R3
R1
R2
LSP quebrado
Presentation_ID
63
Presentation_ID
64
LSP Quebrado
R4
R3
MPLS desativado
Se um ping tradicional for feito entre R3 e R4, funcionar.
Um ping mpls falhar; A resposta vir de R1
R3#ping mpls ipv4 10.200.0.4/32 verbose
Falha
Cdigo de
Diagnstico
65
Meaning
-------
No return code
Replying router has no mapping for the FEC at stack depth <RSC>
Reserved
10 Mapping for this FEC is not the given label at stack depth <RSC>
11 No label entry at stack-depth <RSC>
12 Protocol not associated with interface at FEC stack depth <RSC>
13 Premature termination of ping due to label stack shrinking to a single label
Notation <RSC> refers to the Return Subcode.
Presentation_ID
66
67
R4
R2
R5
R7
R8
R6
R9
Presentation_ID
68
R3
R1
R4
R2
R6
R7
R8
R9
R2 responde que
127.0.0.1 e 127.0.0.4
seguiro para R3
127.0.0.2 e 127.0.0.3
seguiro para R7
Presentation_ID
69
R1
R3
R2
R6
R7
R3 responde
127.0.0.1 seguir para R4
127.0.0.3 seguir para R8
Presentation_ID
R4
R8
R9
70
R3
Path 127.0.0.1
R1
R4
R2
R6
Path 127.0.0.2
Path 127.0.0.3
Path 127.0.0.4
R7
R8
R9
Presentation_ID
71
Soluo
Aplicaes
Padro IETF
Presentation_ID
Draft-ietf-pwe3-vccv-xx.txt
72
VCCV Ping
R3#ping mpls pseudowire <IPv4 peer IP addr > <VC ID>?
destination
exp
interval
pad
repeat
reply
size
source
sweep
timeout
ttl
verbose
Presentation_ID
73
Presentation_ID
74
BFD: Background
Uma funcionalidade cada vez mais importante nos elementos de
rede a deteco rpida de falhas de comunicao entre
sistemas adjacentes, para estabelecer caminhos alternativos mais
rapidamente
A deteco pode acontecer rapidamente em certas circunstncias,
quando o hardware do enlace utilizado participa (como os alarmes
do SDH). Entretanto existem mdias que no possuem esse
recurso de sinalizao (como Ethernet) e que podem no detectar
certas falhas no caminho
Redes usam mecanismos de Hello relativamente lentos,
geralmente nos protocolos de roteamento
Os mecanismos de Hello dos protocolos de roteamento no
ajudam quando esses protocolos no esto em uso
Presentation_ID
75
Presentation_ID
76
Juntando tudo..
Media type
ATM VP
ATM VC
FR
CC CP
ILMI
LMI
CC DP
Performance
Traceroute
F4 (VC-3)
F4 (VC-4)
F5 (PT 100)
F5 (PT 101)
Keepalive
IEEE 802.3ah
Ethernet
Provider Bridge
MPLS LDP
Loopback
IEEE 802.1ag
LDP Hello
BFD, Y.1713,
Y.1711
LSP Ping
LSP TR
MPLS TE
RSVP Hello
MPLS PW
LDP Hello
BFD, Y.1711
VCCV Ping
IGP/BGP Hello
BFD
IP Ping
IP SLA
IP TR
IPv4
Presentation_ID
77
Q and A
Presentation_ID
78
Presentation_ID
79