Documente Academic
Documente Profesional
Documente Cultură
e1/3
e1/1
e1/1
e1/1
fa0/1
fa0/5
172.16.10.4/30
2406:6400:e:1::/64
e1/0
e1/3
11
172.16.10.0/30
2406:6400:e::/64
e1/1
172.16.10.8/30
2406:6400:e:2::/64
e1/0
fa0/1
e1/1
fa0/8
e1/1
e1/3
e1/3
11
lo 0
172.16.15.8/32
2406:6400::8/128
e1/1
44
fa0/0
e1/1
172.16.10.72/30
2406:6400:e:30::/64
e1/0
e1/1
172.16.10.76/30
2406:6400:e:31::/64
AS17821
lo 0
172.16.15.11/32
2406:6400::11/128
r18-CBR3
R9
2 54
172.16.4.0/27
2406:6400:c00::/48
lo 0
172.16.15.9/32
2406:6400::9/128
2 58
fa0/1
2 162
172.16.11.160/30
2406:6400:24::/64
11
fa0/0
e1/0
172.16.6.0/27
2406:6400:e00::/48
lo 0
172.16.15.7/32
2406:6400::7/128
fa0/0
161 1
Infra
CPE
172.16.26.0/24
2406:6400:d800::/48
e1/1
1 53
e1/0
78 2
Infra
1 57
1 49
fa0/0
77 1
R12
2 50
33
44
fa0/1
fa0/0
172.16.11.128/30
2406:6400:20::/64 r17-CAR3
129 1
2 130
11
fa0/1
fa0/0
fa0/0
172.16.10.56/30
2406:6400:e:22::/64
R8
e1/0
172.16.10.52/30
2406:6400:e:21::/64
CPE
82 2
fa0/1
fa0/0
1 225
226 2
172.16.11.224/30
2406:6400:2c::/64
R11
73 1
11
r20-CBR4
11
fa0/0
33
lo 0
172.16.15.10/32
2406:6400::10/128
172.16.10.80/30
2406:6400:e:32::/64
172.16.18.0/24
2406:6400:9800::/48
e1/1
e1/0
74 2
11
fa0/8
R7
81 1
r16-CBR2
fa0/1
2 98
97 1
172.16.11.96/30
2406:6400:1c::/64
fa0/0
172.16.24.0/24
2406:6400:c000::/48
1 193
fa0/0
lo 0
172.16.15.6/32
2406:6400::6/128
fa0/5
SW2
172.16.10.48/30
2406:6400:e:20::/64
fa0/0
194 2
fa0/1
11
fa0/0
lo 0
172.16.15.4/32
2406:6400::4/128
R6
2 30
R10
r19-CAR4
11
SW1
2 34
e1/0
fa0/11
172.16.28.0/24
2406:6400:e000::/48
fa0/2
fa0/11
172.16.11.192/30
2406:6400:28::/64
lo 0
172.16.15.12/32
2406:6400::12/128
172.16.30.0/24
2406:6400:f800::/48
e1/0
2 66
fa0/1
172.16.22.0/24
2406:6400:b800::/48
62
172.16.12.0/24
2406:6400:2::/48
172.16.10.28/30
2406:6400:e:11::/64
R3
10 2
fa0/1
fa0/0
34 2
1 33
172.16.11.32/30
2406:6400:14::/64
1 29
22
fa0/0
r15-CAR2
1 33
1 25
fa0/0
11
e1/0
2 26
172.16.10.32/30
2406:6400:e:12::/64
51
R5
172.16.13.0/24
2406:6400:3::/48
fa0/1
fa0/2
r14-CBR1
11
fa0/0
R2
11
22
lo 0
172.16.15.3/32
2406:6400::3/128
lo 0
172.16.15.5/32
2406:6400::5/128
lo 0
172.16.15.2/32
2406:6400::2/128
11
lo 0
172.16.15.1/32
2406:6400::1/128
CPE
172.16.11.64/30
2406:6400:18::/64
65 1
e1/0
22
91
11
fa0/1
Infra
R4
e1/0
22
172.16.2.0/27
2406:6400:a00::/48
fa0/0
11
fa0/0
172.16.0.0/27
2406:6400:800::/48
R1
e1/1
r13-CAR1
172.16.20.0/24
2406:6400:a000::/48
172.16.11.0/30
2406:6400:10::/64
172.16.10.24/30
2406:6400:e:10::/64
172.16.16.0/24
2406:6400:8000::/48
CPE
Lab Notes
Out of all 20 routers on the above lab topology R1, R3, R4, R6, R7, R9, R10, R12 are PE (LER)
routers. R2, R5, R8, R11 are P (LSR) routers and R13-20 are CE routers. On all PE and P routers
interfaces connecting to other PE or P routers we need to configure LDP protocol.
Please spend some time to be familiar with the network topology and addressing plan before you start
building the configuration on the routers.
1
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Point-to-point
R2-R1=> 172.16.10.0/30
R2-R3=> 172.16.10.4/30
R1-R3=> 172.16.10.8/30
R5-R4=> 172.16.10.24/30
R5-R6=> 172.16.10.28/30
R4-R6=> 172.16.10.32/30
R8-R7=> 172.16.10.48/30
R8-R9=> 172.16.10.52/30
R7-R9=> 172.16.10.56/30
R11-R10=> 172.16.10.72/30
R11-R12=> 172.16.10.76/30
R11-R12=> 172.16.10.80/30
Transport
Purple=> 172.16.12.0/24
Green=> 172.16.13.0/24
Lab Exercise
1. LDP Configuration:
Here is an example configuration for R1
config t
ip cef
CEF (Cisco Express Forwarding), which enhanced the previous process switching mechanism. For
MPLS to work CEF switching is mandatory.
mpls label range 100 199
Specifying the label range for this router start from 100 to 199. It will help us to identify and
analyse the label allocation during troubleshooting and debugging purpose.
mpls ldp router-id loopback 0 force
MPLS MTU size will be changed to 1512 considering 3 stack of 32 bit MPLS label including main
label, VPN and Traffic engineering
int e1/1
mpls ip
mpls label protocol ldp
mpls mtu override 1512
exit
exit
wr
APNIC
Created: 24 June 2014
Updated: 24 June 2014
This prefix list will match all loopback prefix belongs to subnet 172.16.15.0/24 and from range 24
to 32
mpls ldp label
allocate global prefix-list ALL-LOOPBACK
From the global IGP table filter all prefixes other then those match by prefix list ALLLOOPBACK then allocate local label and advertise to LDP neighbour.
exit
exit
wr
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
5
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
10
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
11
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
12
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
13
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
14
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
15
APNIC
Created: 24 June 2014
Updated: 24 June 2014
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
16
Verification Command:
sh mpls ldp discovery [LDP ID]
sh mpls ldp parameters [LDP version, different LDP timers etc]
sh mpls ldp neighbor [LDP neighbor status etc]
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
Verification Command:
traceroute [router1, router2, router3..router12]
Verification Command:
sh mpls ldp bindings [LDP label binding etc]
sh mpls forwarding-table [MPLS forwarding table]
traceroute [router1, router2, router3..router12]
17
APNIC
Created: 24 June 2014
Updated: 24 June 2014