More Related Content
Similar to Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
Similar to Unified MPLS. Построение современных и масштабируемых MPLS-сетей. (20)
More from Cisco Russia (20)
Unified MPLS. Построение современных и масштабируемых MPLS-сетей.
- 1. Cisco Expo
2012
Unified MPLS
Александр Литвин Александр Высторопский
CSE NCE
October 2012
© 2011 Cisco and/or its affiliates. All rights reserved. 1
- 2. © 2011 Cisco and/or its affiliates. All rights reserved. 2
- 3. • На сегодняшний день пакетные транспортные технологии
являются наиболее эффективным решением (технологии,
цена, рост трафика…)
• Требование к транспортной инфраструктуре – максимальная
утилизация оптической инфраструктуры, радио-релейной
инфраструктуры – необходимость виртуализации
транспортных сервисов
• Единая транспортная инфраструктура для mobile и wireline
услуг
• Legacy TDM и ATM будет существовать на протяжении
длительного периода времени
• MPLS выбран как транспортная технология – возможность
виртуализации, поддержки TDM/ATM технологий,
статистическое мультиплексирование
• Unified MPLS предоставляет масштабируемое решение
© 2011 Cisco and/or its affiliates. All rights reserved. 3
- 4. • Сети становятся больше
Quad-play (Video, Voice, Data & Mobility)
Объединение сетей
Увеличение кол-ва узлов
• Экспоненциальный рост потребления трафика
Сервисы для бизнес абонентов
Мобильные сервисы
Услуги для домашних абонентов
• MPLS на уровне сети доступа
Seamless MPLS
MPLS-TP
• Консолидация BGP ASN
© 2011 Cisco and/or its affiliates. All rights reserved. 4
- 5. • Большая сетевая инфраструктура
2000+ устройств в сети
• Возможность обеспечить подключение для обеспечения сервиса в
любой точке сети
• Наблюдаемость и управляемость End-to-End
v4/v6 Uni/Multicast услуги
• Быстрая сходимость или Восстановление
Чем быстрее, тем лучше. J
• Масштабируемость и Производительность
• Простота
Any Play
© 2011 Cisco and/or its affiliates. All rights reserved. 5
- 6. Core IP Edge Distribution Aggregation Access Transport
Nodes Nodes Nodes Nodes Nodes CPE / NT
few–10s 10–100s 100s–1,000s 1,000s– 10,00s– 0000s–
10,000s 100,000s 00000s
Продвижение транспортной технологии MPLS в
сегмент агрегации и доступа
© 2011 Cisco and/or its affiliates. All rights reserved. 6
- 7. • MPLS обеспечивает надежное транспортное решение
Гибкость, статистическое мультиплексирование
Детерминированный маршрут - Traffic Engineering
Статические и динамические схемы построения защиты
Виртуализация услуг: L2VPN, L3VPN
Multipoint capabilities
• 74% предприятий применяют MPLS технологии в своих сетях и еще 10% планируют
внедрение*
• Снижение стоимости оборудования, поддерживающего MPLS.
• MPLS-TP
OAM
Конфигурация - поддержка статического и динамического методов
Дальнейшее развитие в слиянии MPLS-TP с IP/MPLS
• Unified MPLS от доступа к опорной инфраструктуре from access to core has the
potential to:
Единый control plane
Унификация в предоставлении услуг
Снижение операционных затрат *Nemertes Research, Press release, May 2008
© 2011 Cisco and/or its affiliates. All rights reserved. 7
- 8. Operational Points
Edge LSR. Edge
Access Aggr. Aggr. Aggr. Aggr. Access
MPLS MPLS MPLS MPLS
§ При внедрении сервиса все узлы вовлекаются в процесс конфигурирования. Большое
кол-во точек изменения конфигурации. Система управления должна «знать» всю
сетевую топологию.
§ Задача состоит в минимизации точек изменения конфигурации
§ Преимущество динамики в MPLS.
§ Только интеграция всех MPLS сегментов позволяет минимизировать кол-во точек
модификации конфигурации.
8
© 2011 Cisco and/or its affiliates. All rights reserved. 8
- 9. Unicast Routing Fast
+ MPLS Restoration
• Изоляция доменов • IP FRR (IGP LFA &
IGP BGP PIC)
• Подключение • MPLS FRR (LDP
доменов IGP через FRR & TE FRR)
BGP
© 2011 Cisco and/or its affiliates. All rights reserved. 9
- 10. • PE-to-PE Routes (and Label Switched Paths)
PE необходимо «знать» /32 маршрут к другому
Место размещения PE уже не имеет значения
• Single BGP ASN
LSP
Доступ Ядро
Агрегация Region1 Агрегация
Region 2 Доступ
.
.
.
R
.
PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 10
- 11. • Объявление инфраструктурных (e.g. PE) маршрутов в IGP
• Объявление инфраструктурных (e.g. PE) меток в LDP
• Сегментация IGP доменов (i.e. ISIS L1/L2 или OSPF Areas)
BGP сигнализация для сервисов(L2, L3)
End-to-End IGP & LDP для
инфраструктурных префиксов
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
.
.
ISIS Level 1 ISIS or
ISIS Level 2 ISIS Level 1
Or OSPF
Or
ISIS or
OSPF Or
OSPF Area Y LDP
OSPF Area 0 LDP
OSPF Area X R
.
PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 11
- 12. • Большая база данных IGP
Проблемы быстрой сходимости
• Большой IGP домен
Устойчивость сетевой инфраструктуры
• Большая база данных LDP
© 2011 Cisco and/or its affiliates. All rights reserved. 12
- 13. • Разделение и изоляция доменов IGP
Нет больше единой (end-to-end) IGP связности
• Использование BGP для инфраструктурных (i.e. PE) маршрутов
А также и для инфраструктурных (i.e. PE) меток (e.g. RFC3107)
BGP для услуг и сервисов (e.g. L2, L3)
BGP для инфраструктурных сетевых префиксов
Изолированные IGP & LDP Изолированные IGP & LDP Изолированные IGP & LDP
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
.
.
ISIS Level 1 BGP ISIS Level 2 BGP
ISIS Level 1
Or
(+Label (+Label
Or ) Or )
OSPF Area Y OSPF Area 0 OSPF Area X R
.
PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 13
- 14. 1. IGP используется только для распространения маршрутной
информации только в рамках изолированного домена
a. Не нулевые или L1 area распространяют маршруты своего домена
b. Backbone распространяют маршруты только backbone зоны
2. BGP+Label (RFC3107) используется для обмена маршрутами
между доменами
a. PE ре-дистрибуция своих loopback в IGP также как и в iBGP+Label
b. PE взаимодействуют со своими локальными ABRs используя iBGP
• ABRs выполняют роль Route-reflectors
• ABRs reflect _only_ Infrastructure (i.e. PE) routes
c. ABR, в качестве RR, изменяет BGP Next-hop на своего Loopback
3. BGP, как и прежде, используется для УСЛУГ (L3, VPN)
1. PEs имеют отдельные пиринговые отношения для обмена сервисными
префиксами /NLRIs
© 2011 Cisco and/or its affiliates. All rights reserved. 14
- 15. IGP используется только для распространения маршрутной информации
только в рамках изолированного домена
1
Не нулевые или L1 area распространяют маршруты своего домена
Backbone распространяют маршруты только backbone зоны
Изолированный IGP Изолированный IGP Изолированный IGP
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
.
.
ISIS Level 1 ISIS Level 2 ISIS Level 1
Or Or Or
OSPF Area Y OSPF Area 0 OSPF Area X R
.
ABR ABR PE21
PE21
PE11 PE31
* ISIS L1->L2 (or L1->L1)
Redistribution can Be Avoided,
similar to that of OSPF Non-Zero<-
>Zero Area Redistribution.
© 2011 Cisco and/or its affiliates. All rights reserved. 15
- 16. PE выполняют редистрибуцию своих loopback адресов в IGP
2
также как и в iBGP+Label
Loopback Int
Redistributed into IGP
and BGP+Label
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
.
.
ISIS Level 1 ISIS Level 2 ISIS Level 1
Or Or Or
OSPF Area Y OSPF Area 0 OSPF Area X R
.
ABR ABR PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 16
- 17. 3
PE строит свои пиринговые взаимодействия с локальными
ABRs используя iBGP+label
ABRs выполняет роль Route-reflector-а
ABRs reflect _only_ Infrastructure (i.e. PE) routes
RRs также присутствует в опорной инфраструктуре
iBGP+Label
Peering
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
.
.
ISIS Level 1 ISIS Level 2 ISIS Level 1
Or Or Or
OSPF Area Y OSPF Area 0 OSPF Area X R
.
ABR ABR PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 17
- 18. 4 ABR, в качестве роут-рефлектора, изменяет BGP Next-hop на
1.
свой для каждого маршрута объявляемого через BGP
BGP Prefix PE31: ABR Sets BGP NH to Itself ABR Sets BGP NH to
Next-Hop = P1; Label=L100
Itself BGP Prefix PE31:
Next-Hop = PE31; Label=Null
Access Aggregation Region1 Backbone Region 2 Aggregation Access
.
BGP Prefix PE31:
Next-Hop = P2; Label=L101 .
.
ISIS Level 1 ISIS Level 2 ISIS Level 1
Or P1 Or P2
Or
OSPF Area Y OSPF Area 0 OSPF Area X R
.
ABR ABR PE21
PE21
PE11 PE31
© 2011 Cisco and/or its affiliates. All rights reserved. 18
- 19. 1. PEs имеют отдельные iBGP взаимосвязи для УСЛУГ, одна или
5
несколько AFI/SAFI (для IPv4/6, VPNv4/6, L2VPN, etc)
Для увеличения масштабируемости можно выделить RR для каких-то
сервисов или групп сервисов.
iBGP
Peering
Access
RR RR Region 2 RR
Aggregation Region1 Backbone Aggregation Access
s . s s
.
.
ISIS Level 2 L3VPNs
. Or .
OSPF Area 0 R
L2VPNs
.
ABR ABR PE21
PE21
PE11 PE31 L3 Service
© 2011 Cisco and/or its affiliates. All rights reserved. 19
- 20. • IGP fast convergence
• Loop Free Alternate Fast (LFA FRR) внутри домена
• Unified MPLS BGP PIC Core and Edge
• Быстрое восстановление сервисов (BGP PIC Edge, PW FRR)
à 50ms for non recursive processes.
à 100ms convergence end-end.
à При этом модель практической реализации должна оставаться
предельно простой
© 2011 Cisco and/or its affiliates. All rights reserved. 20
- 21. - Механизм быстрой сходимости, который позволяет достичь
сходимости до 50 ms.
- Для достижения быстрой пере-маршрутизации трафика
forwarding engine (CEF/FIB) специально программируется и
хранит основной и запасной маршруты для каждого префикса.
Каждый запасной маршрут предварительно рассчитан с
использованием алгоритма LFA.
- Backup paths are computed AFTER the primary path and so do
not delay normal convergence
- Для минимизации времени переключения forwarding engine
(FIB) должен быть иерархическим.
- Необходима поддержка механизмов быстрого детектирования
отказов для переключения на запасной маршрут (BFD,
IPoDWDM proactive protection, …)
© 2011 Cisco and/or its affiliates. All rights reserved. 21
- 22. Route D
Primary: F
Backup: R1 (LFA) 10
10
S F
D
R2
10
20
R1 Primary Path
Backup Path
© 2011 Cisco and/or its affiliates. All rights reserved. 22
- 23. Route D
Primary: F,
Backup: -- (no LFA)
S F 10 R3
10
D
10
20
Route D
Primary: S
R1 20 R2 Route D
Primary: R3
© 2011 Cisco and/or its affiliates. All rights reserved. 23
- 24. X
100 100
100 100
10 A
10 R1 R2 10
H
R10
R3
10 10
B
G R9
R4
10
A, B, C, D, E, H, G, X: LFA
10
F1 Tunnel 1
500
R8 10 R5
10
F F2 C
R7 10
R6
E
D
© 2011 Cisco and/or its affiliates. All rights reserved. 24
- 25. • LFA FRR with tunnel • Remote LFA FRR
• No PQ computation • PQ computation (find first node
who is not sending traffic back)
• Manual placement
• Auto placement of tunnel
• RSVP-TE tunnel toward PQ node
• LDP tunnels
© 2011 Cisco and/or its affiliates. All rights reserved. 25
- 26. 50x Агрегационных доменов
AS 65000
Aggregation 1 Core Aggregation 2
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k 7200
1.0.0.213
P1 P2 P3
1.0.0.203 1.0.0.204
1.0.0.202
ABR4
PE1 ABR2
401-1 501-3
1.0.0.210
1.0.0.201 1.0.0.205 vABR3 vABR102
501-1 501-2
…
1.0.0.13 1.33.0.1-100 1.0.0.23
1.0.0.33
vABR1 vABR2
vPE1 vPE2 vPE1000 1.0.0.34 vPE1 vPE2 vPE1000
… …
vPE1 vPE2 vPE1000
1.1.33.232 … 1.2.0.1 1.2.0.2 1.2.33.232
1.1.0.1 1.1.0.2
1.3.0.1 1.3.0.2 1.3.33.232
vAggregation 3
ASR1000 – XE3.2.0 / 15.1(1)S
ASR9000 – XR 4.1.1 Cisco7600 – 15.1(3)S2
7200 – 15.1(3)S2
© 2011 Cisco and/or its affiliates. All rights reserved. 26
- 27. ISIS L2
1000x /30 prefixes
2.31.0.0 – 2.31.31.56
Симуляция сети размером 50,000 узлов 102x /32 Loopbacks
BGP 1.0.0.33, 1.0.0.34
1.3.0.1 – 1.3.3.232
1000x /32 Loopbacks
1.1.0.1 – 1.1.3.232 AS 65000
Aggregation 1 Core Aggregation 2
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k 7200
1.0.0.213
P1 P2 P3
1.0.0.203 1.0.0.204
1.0.0.202
ABR4 BGP
PE1 ABR2
401-1 501-3 1000x /32 Loopbacks
1.0.0.210 1.2.0.1 – 1.2.3.232
1.0.0.201 1.0.0.205 vABR3 vABR102
501-1 501-2
…
1.0.0.13 1.33.0.1-100 1.0.0.23
1.0.0.33
vABR1 vABR2
vPE1 vPE2 vPE1000 1.0.0.34 vPE1 vPE2 vPE1000
… …
vPE1 vPE2 vPE1000
1.1.33.232 … 1.2.0.1 1.2.0.2 1.2.33.232
1.1.0.1 1.1.0.2
1.3.0.1 1.3.0.2 1.3.33.232
ISIS L1 ISIS L1
vAggregation 3
1500x /30 prefixes BGP 1500x /30 prefixes
2.31.0.0 – 2.31.46.216 2.32.0.0 – 2.32.46.216
1000x /32 Loopbacks 1000x /32 Loopbacks
1.3.0.1 – 1.3.3.232 1000x /32 Loopbacks
1.1.0.1 and/or its affiliates. All rights reserved.
© 2011 Cisco – 1.1.3.232 1.2.0.1 – 1.2.3.232 27
- 28. Basic IGP
Configuration
Tuning of Sub-Second
Convergence
Узлы PE и P (IOS) MPLS & IGP
Interaction
AS 65000
ISIS L1 ISIS L2 ISIS L1
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
1.0.0.202
1.0.0.203
router isis mpls ldp igp sync holddown 10000
net 49.0001.0000.0000.0221.00 mpls ldp router-id Loopback0
is-type level-1
ispf level-1
metric-style wide interface Loopback0
fast-flood ip address 1.0.0.221 255.255.255.255
ip route priority high tag 1000 ip router isis
max-lsp-lifetime 65535 isis tag 1000
lsp-refresh-interval 65000
spf-interval 5 20 50 interface GigabitEthernet0/2/1
ip address 2.203.221.2 interface GigabitEthernet0/2/0
prc-interval 5 20 50 ip address 2.206.221.2 255.255.255.252
lsp-gen-interval 5 20 50 255.255.255.252
ip router isis ip router isis
no hello padding mpls ip
mpls ip
mpls ldp sync isis network point-to-point isis network point-to-point
isis metric 50
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 28
- 29. Basic IGP
Configuration
Tuning of Sub-Second
Convergence
Узлы ABR (IOS) MPLS & IGP
Interaction
AS 65000
ISIS L1 ISIS L2 ISIS L1
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
1.0.0.202
1.0.0.203
interface GigabitEthernet2/4
interface GigabitEthernet2/1
ip address 2.204.206.2 255.255.255.252
ip address 2.201.206.2 255.255.255.252
ip router isis
ip router isis
mpls ip
mpls ip
isis circuit-type level-2-only
isis circuit-type level-1
isis network point-to-point
isis network point-to-point
Core Facing Interfaces
Aggregation Facing Interfaces interface GigabitEthernet2/3
ip address 2.205.206.2 255.255.255.252
ip router isis
mpls ip
Inter ABR Interface isis network point-to-point
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 29
- 30. Basic BGP
Configuration
Redundancy and
<1s Convergence
Unified MPLS
Узлы ABR (IOS) specific
X
Block all L1 Routes &
announce ABRs AS 65000
ISIS L1 ISIS L2
PE4 1.0.0.211 access-list 100 permit ip host 1.0.0.206 any
1.0.0.221 1.0.0.206 ABR1 RR
ABR3
access-list 100 permit ip 2.205.206.0 0.0.0.3 any
ASR1k access-list 100 deny ip any any
P1 P2
1.0.0.209
1.0.0.203 1.0.0.204 ip access-list standard ibgp_nexthops
permit 1.0.0.33
PE1 ABR4 permit 1.0.0.34
501-3 permit 1.0.0.205
permit 1.0.0.206
1.0.0.205 permit 1.0.0.209
1.0.0.201 501-1
ABR2 permit 1.0.0.211
1.0.0.210
permit 1.0.0.210
deny any
Announce ABRs
Ensure all ABRs are in ISIS
router isis
redistribute isis ip level-1 into level-2 distribute-list 100
redistribute isis ip level-2 into level-1 route-map ibgp_nexthops
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 30
- 31. Basic IGP
Configuration
Tuning of Sub-Second
Convergence
MPLS & IGP
Узлы ABR (IOS XR) Interaction
AS 65000
ISIS L1 ISIS L2 ISIS L1
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
Gi2/0/5 1.0.0.202
1.0.0.203
router isis core
net 49.001.000.000.209.00
address-family ipv4 unicast
metric-style wide
ispf
spf-interval maximum-wait 5000 initial-wait 20 secondary-wait 50
spf prefix-priority high tag 1000
!
interface Loopback0
point-to-point
address-family ipv4 unicast
tag 1000
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 31
- 32. Basic IGP
Configuration
Tuning of Sub-Second
Convergence
MPLS & IGP
Узлы ABR (IOS XR) Interaction
AS 65000
ISIS L1 ISIS L2 ISIS L1
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
Gi2/0/5 1.0.0.202
1.0.0.203
router isis core router isis core
interface GigabitEthernet0/0/0/0 router isis core interface GigabitEthernet0/0/0/1
circuit-type level-2-only interface GigabitEthernet0/0/0/4 circuit-type level-1
point-to-point point-to-point point-to-point
address-family ipv4 unicast address-family ipv4 unicast address-family ipv4 unicast
mpls ldp sync mpls ldp sync mpls ldp sync
Aggregation Facing Interfaces Inter ABR Interface Core Facing Interfaces
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 32
- 33. Basic BGP
Configuration
Redundancy and
<1s Convergence
Unified MPLS
Узлы ABR (IOS XR) specific
prefix-set ibgp_nexthops
1.0.0.209,
1.0.0.210,
AS 65000
ISIS L2
X Block all L1 Routes &
announce ABRs
ISIS L1
1.0.0.205, PE6
1.0.0.211 ABR3
1.0.0.206, ABR1
1.0.0.211, RR 1.0.0.209
1.0.0.33, 7200
1.0.0.34 1.0.0.213
end-set P2 P3
! 1.0.0.204
route-policy ibgp_nexthops 1.0.0.202
ABR4
if destination in ibgp_nexthops then ABR2
pass 501-3
endif
end-policy 1.0.0.210
501-1
prefix-set inter_area Announce ABRs
1.0.0.209/32
end-set
! Ensure all ABRs are in ISIS
route-policy inter_area
if destination in inter_area then router isis core
pass address-family ipv4 unicast
endif propagate level 1 into level 2 route-policy inter_area
end-policy propagate level 2 into level 1 route-policy ibgp_nexthops
© 2011 Cisco and/or its affiliates. All rights reserved. 33
- 34. Basic BGP
Configuration
Redundancy and
<1s Convergence
Unified MPLS
Узлы PE (IOS) specific
AS 65000
router bgp 65000
bgp log-neighbor-changes ISIS L1 ISIS L2
neighbor 1.0.0.205 remote-as 65000 PE4 1.0.0.211
neighbor 1.0.0.205 update-source Loopback0 1.0.0.221 1.0.0.206 ABR1 RR
401-4
neighbor 1.0.0.206 remote-as 65000
neighbor 1.0.0.206 update-source Loopback0 ASR1k
!
address-family ipv4 P1 P2
bgp additional-paths install 1.0.0.203 1.0.0.204
bgp nexthop trigger delay 1
bgp mpls-local-label PE1 ABR2
redistribute connected route-map inter_area 401-1 501-3
neighbor 1.0.0.205 activate
neighbor 1.0.0.205 send-label 1.0.0.205
1.0.0.201
neighbor 1.0.0.206 activate 501-1
neighbor 1.0.0.206 route-map primary_weight in
neighbor 1.0.0.206 send-label Cisco 7600 PE specific
no neighbor 1.0.0.211 activate
exit-address-family
Prefer Path via ABR1 Ensure PE is reachable from other Aggregation Areas
ip access-list standard all ip access-list standard inter_area
permit any permit 1.0.0.221
! deny any
route-map primary_weight permit 10 !
match ip address all route-map inter_area permit 10
set weight 10 match ip address inter_area
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 34
- 35. Basic BGP
Configuration
Redundancy and
<1s Convergence
Unified MPLS
Узлы ABR (IOS) specific
AS 65000 router bgp 65000
bgp cluster-id 10
ISIS L1 ISIS L2 bgp log-neighbor-changes
PE4 1.0.0.211 neighbor 1.0.0.209 remote-as 65000
1.0.0.221 1.0.0.206 ABR1 RR
ABR3
neighbor 1.0.0.209 update-source Loopback0
neighbor 1.0.0.210 remote-as 65000
ASR1k
neighbor 1.0.0.210 update-source Loopback0
P1 P2 neighbor 1.0.0.221 remote-as 65000
1.0.0.209 neighbor 1.0.0.221 update-source Loopback0
1.0.0.203 1.0.0.204 !
PE1 ABR2 ABR4 address-family ipv4
bgp nexthop trigger delay 1
501-3 neighbor 1.0.0.209 activate
neighbor 1.0.0.209 route-reflector-client
1.0.0.201 1.0.0.205 neighbor 1.0.0.209 next-hop-self all
501-1 neighbor 1.0.0.209 route-map primary_weight in
1.0.0.210
neighbor 1.0.0.209 send-label
neighbor 1.0.0.210 activate
neighbor 1.0.0.210 route-reflector-client
neighbor 1.0.0.210 next-hop-self all
Prefer Path via ABR3 neighbor 1.0.0.210 send-label
neighbor 1.0.0.221 activate
ip access-list standard all
neighbor 1.0.0.221 route-reflector-client
permit any
neighbor 1.0.0.221 send-label
!
route-map primary_weight permit 10
match ip address all
set weight 10
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 35
- 36. Basic BGP
Configuration
Redundancy and
<1s Convergence
Unified MPLS
Узлы ABR (IOS XR) specific
AS 65000
router bgp 65000
bgp cluster-id 20 Core Aggregation 2
ibgp policy out enforce-modifications ABR3 PE6
ABR1 1.0.0.211
address-family ipv4 unicast RR 1.0.0.209
nexthop trigger-delay critical 1000 7200
allocate-label all 1.0.0.213
!
neighbor 1.0.0.205
P2 P3
remote-as 65000 1.0.0.204
1.0.0.202
update-source Loopback0 ABR4
address-family ipv4 labeled-unicast
ABR2
route-reflector-client 501-3
next-hop-self 1.0.0.210
!
neighbor 1.0.0.206 501-1
remote-as 65000
update-source Loopback0
address-family ipv4 labeled-unicast
route-policy primary_weight in
route-reflector-client route-policy primary_weight
next-hop-self set weight 10
! end-policy
neighbor 1.0.0.213
remote-as 65000
update-source Loopback0
address-family ipv4 labeled-unicast
route-reflector-client
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 36
- 37. Only 2 Touch-points to bring up the
Пример построения EoMPLS Service between any two Nodes !!
Service Targeted LDP (PWE3)
AC AC
iBGP NHS iBGP NHS iBGP
Loopback Loopback
ISIS L1 & Link LDP ISIS L2 & Link LDP ISIS L1 & Link LDP Loopback
Loopback
Infrastructure
AS 65000
Aggregation 1 Core Aggregation 2
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
1.0.0.202
1.0.0.203
interface GigabitEthernet0/0/3.146 interface GigabitEthernet0/1.146
encapsulation dot1Q 146 encapsulation dot1Q 146
xconnect 1.0.0.213 213221146 pw-class mpls xconnect 1.0.0.221 213221146 pw-class mpls
Access Circuit (AC) Configuration Access Circuit (AC) Configuration
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 37
- 38. VPNv4 Layer is independent of
Пример построения L3VPN Infrastructure BGP Layer !!
iBGP VPNv4 only RR iBGP VPNv4 only
Service AC AC
iBGP NHS iBGP NHS iBGP
Loopback Loopback
ISIS L1 & Link LDP ISIS L2 & Link LDP ISIS L1 & Link LDP Loopback
Loopback
Infrastructure
AS 65000
Aggregation 1 Core Aggregation 2
ABR3 PE6
PE4 1.0.0.211
1.0.0.221 1.0.0.206 ABR1 RR 1.0.0.209
402-2
401-4
ASR1k Gi0/3 7200
Gi0/2/0 Gi2/1 Gi2/4 Gi0/0 Gi0/0/0/1
1.0.0.213 Gi0/1
Gi0/0/3 Gi0/2/1 Gi2/2 Gi2/0/4
P1 P2 Gi0/0/0/0 P3
Gi2/0/5 Gi2/0/1 Gi2/0/0 Gi2/1 Gi2/7
Gi2/0/3
1.0.0.202
1.0.0.203
router bgp 65000
neighbor 1.0.0.211 remote-as 65000
neighbor 1.0.0.211 update-source Loopback0
!
interface GigabitEthernet0/1.200 ip vrf vpn1 address-family ipv4
encapsulation dot1Q 200 rd 65001:1 no neighbor 1.0.0.211 activate
ip vrf forwarding vpn1 route-target export 65001:6 !
ip address 3.1.6.1 255.255.255.0 route-target import 65001:4 address-family vpnv4
neighbor 1.0.0.211 activate
neighbor 1.0.0.211 send-community extended
AC to VRF Mapping VRF Definition bgp nexthop trigger delay 5 <- default!
!
address-family ipv4 vrf vpn1
iBGP VPNv4 toward RR redistribute connected
© 2011 Cisco and/or its affiliates. All rights reserved. 38
- 39. Отказ Primary Path
AS 65000
Aggregation 1 Core Aggregation 2
ABR3 PE6
PE4 1.0.0.206 ABR1 1.0.0.211 402-2
401-4 1.0.0.221 Gi2/1 RR 1.0.0.209
Gi0/3
ASR1k 7200 Gi0/1
Gi0/0/0/1
Gi0/3 Gi0/2/0 Gi2/4 1.0.0.213
Gi0/2/1 Gi2/2
P1 P2 Gi0/0/0/0 Gi…/4 P3 Gi2/7
Gi2/0/5 Gi2/3 Gi2/0/0 Gi2/1
Gi2/0/1 Gi2/0/3
1.0.0.204 1.0.0.202
Gi2/0/0 1.0.0.203 Gi2/0/2 Gi…/4 Gi2/2
PE1 Gi2/2 Gi2/0/1
Gi2/3
Gi2/0/2
401-1 Gi2/4 501-3
Gi2/3 Gi2/2 Gi0/0/0/1
Gi0/0/0/0
Gi2/4 Gi2/0/4 Gi2/1 Gi2/0/5 1.0.0.210 Gi2/6
1.0.0.201 ABR2
501-1 vABR1 vABR2 vABR1000 ABR4 501-2
…
1.0.0.205
ASR1000 – XE3.2.0 / 15.1(1)S
7200 – 15.1(3)S2 Cisco7600 – 15.1(3)S2 ASR9000 – XR 4.1.1
© 2011 Cisco and/or its affiliates. All rights reserved. 39