beautypg.com

Configuring ldp to establish lsps dynamically, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 79

background image

2-37

Reply from 10.1.1.1: bytes=100 Sequence=2 time = 75 ms

Reply from 10.1.1.1: bytes=100 Sequence=3 time = 75 ms

Reply from 10.1.1.1: bytes=100 Sequence=4 time = 74 ms

Reply from 10.1.1.1: bytes=100 Sequence=5 time = 75 ms

--- FEC: LDP IPV4 PREFIX 1.1.1.9/32 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 74/74/75 ms

Configuring LDP to Establish LSPs Dynamically

Network requirements

z

Switch A, Switch B, and Switch C support MPLS and use OSPF as the IGP for the MPLS
backbone.

z

Configure LDP to establish LSPs between Switch A and Switch C dynamically.

z

Check the validity and reachability of the LSPs.

Figure 2-14

Network diagram for establishing LDP LSPs

Configuration procedure

1) Configure the IP addresses of the interfaces

Configure the IP addresses and masks of the interfaces including the loopback interfaces as required
in

Figure 2-14

. (Omitted)

2) Configure OSPF to ensure reachability between the switches

# Configure OSPF on Switch A.

system-view

[Sysname] sysname SwitchA

[SwitchA] ospf

[SwitchA-ospf-1] area 0

[SwitchA-ospf-1-area-0.0.0.0] network 1.1.1.9 0.0.0.0

[SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255

[SwitchA-ospf-1-area-0.0.0.0] quit

[SwitchA-ospf-1] quit

# Configure OSPF on Switch B.

system-view

[Sysname] sysname SwitchB

[SwitchB] ospf

[SwitchB-ospf-1] area 0

[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0

[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255