Configuring Ldp To Establish Lsps Dynamically - H3C S5500-HI Series Mpls Configuration Manual

Hide thumbs Also See for S5500-HI Series:
Table of Contents

Advertisement

0.00% packet loss
round-trip min/avg/max = 1/1/2 ms
# On Switch C, test the connectivity of the LSP from Switch C to Switch A.
[SwitchC] ping lsp -a 21.1.1.1 ipv4 11.1.1.0 24
LSP Ping FEC: IPV4 PREFIX 11.1.1.0/24 : 100
Reply from 10.1.1.1: bytes=100 Sequence=1 time = 3 ms
Reply from 10.1.1.1: bytes=100 Sequence=2 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=3 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=4 time = 2 ms
Reply from 10.1.1.1: bytes=100 Sequence=5 time = 2 ms
--- FEC: IPV4 PREFIX 11.1.1.0/24 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 2/2/3 ms

Configuring LDP to establish LSPs dynamically

Network requirements
Switch A, Switch B, and Switch C support MPLS.
Configure LDP to establish LSPs between Switch A and Switch C so that subnets 1 1.1.1.0/24 and
21.1.1.0/24 can reach each other over MPLS. Test the LSP connectivity.
Figure 25 Network diagram
Vlan-int4
11.1.1.1/24
11.1.1.0/24
Configuration considerations
Enable LDP on the LSRs. LDP dynamically distributes labels and establishes LSPs and thus there is no
need to manually configure labels for LSPs.
LDP uses routing information for label distribution. Therefore, you must configure a routing protocol
to learn routing information. OSPF is used in this example.
Configuration procedure
Configure IP addresses for interfaces according to
1.
Configure OSPF to ensure reachability between the switches:
2.
# Configure OSPF on Switch A.
<Sysname> system-view
Loop0
1.1.1.9/32
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Switch A
data bytes, press CTRL_C to break
Loop0
2.2.2.9/32
Vlan-int3
20.1.1.2/24
Vlan-int3
20.1.1.1/24
Switch B
Figure
25. (Details not shown.)
85
Loop0
3.3.3.9/32
Vlan-int5
21.1.1.1/24
Switch C
21.1.1.0/24

Advertisement

Table of Contents
loading

This manual is also suitable for:

S10500 series

Table of Contents