Configuring Static Lsps - HP 12500 Series Configuration Manual

Mpls, routing switch series
Table of Contents

Advertisement

NOTE:
By default, Ethernet interfaces, VLAN interfaces, and aggregate interfaces are in DOWN state. To
configure such an interface, first use the undo shutdown command to bring the interface up.

Configuring static LSPs

Network requirements
Switch A, Switch B, and Switch C support MPLS.
Establish static LSPs between Switch A and Switch C so that subnets 10.1.1.0/24 and 21.1.1.0/24 can
access each other over MPLS. Check the connectivity of the static LSPs.
Figure 13 Network diagram
Vlan-int4
11.1.1.1/24
11.1.1.0/24
Configuration considerations
On an LSP, the out label of an upstream LSR must be identical with the in label of its downstream
LSR.
Configure an LSP for each direction on the forwarding path.
Configure a static route to the destination address of the LSP on each ingress node. Such a route is
not required on the transit and egress nodes. You do not need to configure any routing protocol on
the switches.
Configuration procedure
Configure IP addresses for the interfaces according to
1.
Configure a static route to the destination address of the FEC on each ingress node.
2.
# Configure a static route to network 21.1.1.0/24 on Switch A.
<SwitchA> system-view
[SwitchA] ip route-static 21.1.1.0 24 10.1.1.2
# Configure a static route to network 11.1.1.0/24 on Switch C.
<SwitchC> system-view
[SwitchC] ip route-static 11.1.1.0 255.255.255.0 20.1.1.1
Enable MPLS.
3.
# Configure MPLS on Switch A.
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls
[SwitchA-mpls] quit
Loop0
1.1.1.9/32
Vlan-int2
10.1.1.1/24
Vlan-int2
10.1.1.2/24
Switch A
Loop0
2.2.2.9/32
Vlan-int3
20.1.1.2/24
Vlan-int3
20.1.1.1/24
Switch B
Figure
32
Loop0
3.3.3.9/32
Vlan-int5
21.1.1.1/24
Switch C
21.1.1.0/24
13. (Details not shown)

Advertisement

Table of Contents
loading

Table of Contents