MPLS Lecture1H 102020
MPLS Lecture1H 102020
MPLS Lecture1H 102020
networks.
«Computer networks and
telecommunications» (Additional
chapters).
Icons and Symbols
Router Workgroup Switch
Edge Label
Network
Switch
Cloud,
Router
Line: Ethernet
Line: Serial
Foundations of Traditional IP Routing
MPLS core routers swap labels and forward packets based on simple label
lookups.
MPLS edge routers also perform a routing table lookup, and add or remove
labels.
MPLS Concepts
The label forwarding information base (LFIB) on an LSR does not contain
an incoming interface.
The same label can be used on any interface and is announced to all
adjacent LSRs.
The label is announced to adjacent LSRs only once and can be used on any
link.
Per-platform label space is less secure than per-interface
label space.
Negotiating Label
Space
• Occurs after the LSRs have exchanged the labels, and the LIB,
LFIB, and FIB data structures are completely populated
Link Failure Actions
AR2200
S5700
Console
Huawei VRP User Interface
Functions
<Huawei>system-view
<Huawei>system-view
Enter
Enter system
system view,
view, return
return user
user view
view with
with Ctrl+Z.
Ctrl+Z.
[Huawei]interface
[Huawei]interface GigabitEthernet
GigabitEthernet 0/0/0
0/0/0
[Huawei-GigabitEthernet0/0/0]
[Huawei-GigabitEthernet0/0/0]
CLI Help Features
<Huawei> d?
Partial Help
<Huawei> display h?
Command Line Help
<Huawei> ?
Complete Help
<Huawei> display ?
[Huawei]d?
[Huawei]d?
ddns
ddns dhcp
dhcp
dhcpv6
dhcpv6 diagnose
diagnose
display
display dns
dns
domain
domain dot1x
dot1x
CLI Basic Device Setup
Command Function
<Huawei>system-view
<Huawei>system-view
Enter
Enter system
system view,
view, return
return user
user view
view with
with Ctrl+Z.
Ctrl+Z.
[Huawei]sysname
[Huawei]sysname RTA
RTA
[RTA]
[RTA]
Command Function
## Set
Set the
the size
size of
of the
the history
history command
command buffer
buffer to
to 20.
20.
<Huawei>system-view
<Huawei>system-view
[Huawei]user-interface
[Huawei]user-interface console
console 00
[Huawei-ui-console0]history-command
[Huawei-ui-console0]history-command max-size
max-size 20
20
## Set
Set the
the timeout
timeout duration
duration to
to 11 minute
minute and
and 30
30 seconds.
seconds.
[Huawei-ui-console0]idle-timeout
[Huawei-ui-console0]idle-timeout 11 30
30
CLI Interface Configuration
RTA RTB
10.0.12.1/24
1.1.1.1/32
G0/0/0 G0/0/0
Current- Saved-
Configuration File Save Configuration File
Load
RAM Flash
Saving the Configuration File
Command Function
<Huawei>save
<Huawei>save
The
The current
current configuration
configuration will
will be
be written
written to
to the
the device.
device.
Are you sure to continue?[Y/N]y
Are you sure to continue?[Y/N]y
It
It will
will take
take several
several minutes
minutes toto save
save configuration
configuration file,
file, please
please
wait...............
wait...............
Configuration
Configuration filefile had
had been
been saved
saved successfully
successfully
Note:
Note: The configuration file will take effect
The configuration file will take effect after
after being
being activated
activated
Configuring IP Addresses
[R1]interface loopback 0
[R1-LoopBack0]ip address 2.2.2.2 24
Checking the routing table and the
possibility of a connection
[R2]ping 10.0.1.2
PING 10.0.1.2: 56 data bytes, press CTRL_C to break
Reply from 10.0.1.2: bytes=56 Sequence=1 ttl=253 time=36 ms
Reply from 10.0.1.2: bytes=56 Sequence=2 ttl=253 time=31 ms
Reply from 10.0.1.2: bytes=56 Sequence=3 ttl=253 time=31 ms
Reply from 10.0.1.2: bytes=56 Sequence=4 ttl=253 time=31 ms
Reply from 10.0.1.2: bytes=56 Sequence=5 ttl=253 time=31 ms
If the labels received on the router are not controlled, then it will set a large
number of LSP routes, which will require a large amount of memory.
When configuring the input policy for LDP, the router must be configured to
receive labels only from the specified router and sets the LSPs route to it, while
saving resources.
CE1
10 AS 500
.1
G0
/
.1
3 OSPF Area 0 AS300
0/
0G .0
/2 PE1 P PE2
0/ 4
172.16.1.1/32
0/
0 10.1.34.0/24 10.1.45.0/24 10.1.56.0/24 CE3
VPN 1 (branch 1)
G1/0/0G0/0/0 G0/0/1G0/0/0 G0/0/1G0/0/0
AS200 0/
1
G0/
/0
/0
2 4
CE2 G0 .0/ 172.16.3.1/32
.23
.1 VPN3 (HQ)
10
172.16.2.1/32
VPN 2 (branch 2)
CE1
10 AS 500
.1
G0 . 13 OSPF Area 0
/0 .0
/0 /
G0
24
AS100 /0 10.1.34.0/24 10.1.45.0/24 10.1.56.0/24 CE3
/0
VPN 1 (branch 1)
VPN 2 (branch 2) G1/0/0G0/0/0 G0/0/1 G0/0/0
G0/0/1G0/0/0
AS200 /0
/1
G0 4
2
CE2
G0
/0
/0
3 .0/ 172.16.3.1/32
.1 .2 VPN3 (HQ)
10
– Diagnosis
• The connectivity between loopback interfaces is
broken; the LDP session is usually established
between loopback interfaces of adjacent LSRs.
– Verification
• Verify connectivity with the extended ping
command.
Intermittent MPLS Failures
After Interface Failure
– Symptom
• The overall MPLS connectivity in a router
intermittently breaks after an interface
failure.
– Diagnosis
• The IP address of a physical interface is used
for the LDP identifier. Configure a loopback
interface on the router.
– Verification
• Verify the local LDP identifier.
Packet Propagation
Issues
– Symptom
• Large packets are not propagated across the network.
– Use of the extended ping command with varying
packet sizes fails for packet sizes close to 1500
packets.
• In some cases, MPLS might work, but MPLS VPN will fail.
– Diagnosis
• There are label MTU issues or switches that do not
support jumbo frames in the forwarding path.
– Verification
• Issue the traceroute command through the forwarding
path; identify all LAN segments in the path.
• Verify the label MTU setting on routers attached to LAN
segments.
• Check for low-end switches in the transit path.