Ldp Configuration Examples; Ldp Lsp Configuration Example - HP 6127xlg Configuration Manual

Blade switch series
Hide thumbs Also See for 6127xlg:
Table of Contents

Advertisement

Task
Display LDP-IGP synchronization
information.
Display LDP LSP information.
Display LDP running parameters.
Display LDP peer and session
information.
Display LDP summary information.

LDP configuration examples

LDP LSP configuration example

Network requirements
Switch A, Switch B, and Switch C all support MPLS.
Configure LDP to establish LSPs between Switch A and Switch C, so subnets 1 1.1.1.0/24 and 21.1.1.0/24
can reach each other over MPLS.
Configure LDP to establish LSPs only for destinations 1.1.1.9/32, 2.2.2.9/32, 3.3.3.9/32, 1 1.1.1.0/24,
and 21.1.1.0/24 on Switch A, Switch B, and Switch C.
Figure 17 Network diagram
Vlan-int4
11.1.1.1/24
11.1.1.0/24
Requirements analysis
To ensure that the LSRs establish LSPs automatically, enable LDP on each LSR.
To establish LDP LSPs, configure a routing protocol to ensure IP connectivity between the LSRs. This
example uses OSPF.
To control the number of LSPs, configure an LSP generation policy on each LSR.
Configuration procedure
1.
Configure IP addresses and masks for interfaces, including the loopback interfaces, as shown
in
Figure
2.
Configure OSPF on each switch to ensure IP connectivity between them:
Loop0
1.1.1.9/32
Vlan-int2
10.1.1.1/24
10.1.1.2/24
Switch A
17. (Details not shown.)
Command
display mpls ldp igp sync [ interface interface-type
interface-number ]
display mpls ldp lsp [ vpn-instance vpn-instance-name ]
[ destination-address mask-length ]
display mpls ldp parameter [ vpn-instance vpn-instance-name ]
display mpls ldp peer [ vpn-instance vpn-instance-name ]
[ peer-lsr-id ] [ verbose ] [ standby slot slot-number ]
display mpls ldp summary [ all | vpn-instance vpn-instance-name ]
[ standby slot slot-number ]
Loop0
2.2.2.9/32
Vlan-int2
Vlan-int3
20.1.1.1/24
Switch B
36
Loop0
3.3.3.9/32
Vlan-int3
20.1.1.2/24
Vlan-int5
21.1.1.1/24
Switch C
21.1.1.0/24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents