HP 10500 Series Configuration Manual page 87

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

Enable LDP on each switch.
2.
Configure LSP generation policies so LDP uses only the routes 11.1.1.0/24 and 21.1.1.0/24 to
3.
establish LSPs.
Configure label advertisement policies, so LDP sets up LSPs only over the link Switch A—Switch
4.
B—Switch C, as follows:
Switch A advertises only the label mapping for FEC 1 1.1.1.0/24 to Switch B.
Switch C advertises only the label mapping for FEC 21.1.1.0/24 to Switch B.
Switch D does not advertise label mapping for FEC 21.1.1.0/24 to Switch A. Switch D does not
advertise label mapping for FEC 1 1.1.1.0/24 to Switch C.
Configuration procedure
Configure IP addresses and masks for interfaces, including the loopback interfaces, as shown
1.
in
Figure
Configure OSPF on each switch to ensure IP connectivity between them. (Details not shown.)
2.
Enable MPLS and LDP:
3.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls ldp
[SwitchA-ldp] quit
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] mpls enable
[SwitchA-Vlan-interface2] mpls ldp enable
[SwitchA-Vlan-interface2] quit
[SwitchA] interface vlan-interface 6
[SwitchA-Vlan-interface6] mpls enable
[SwitchA-Vlan-interface6] mpls ldp enable
[SwitchA-Vlan-interface6] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] mpls lsr-id 2.2.2.9
[SwitchB] mpls ldp
[SwitchB-ldp] quit
[SwitchB] interface vlan-interface 2
[SwitchB-Vlan-interface2] mpls enable
[SwitchB-Vlan-interface2] mpls ldp enable
[SwitchB-Vlan-interface2] quit
[SwitchB] interface vlan-interface 3
[SwitchB-Vlan-interface3] mpls enable
[SwitchB-Vlan-interface3] mpls ldp enable
[SwitchB-Vlan-interface3] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] mpls lsr-id 3.3.3.9
[SwitchC] mpls ldp
[SwitchC-ldp] quit
[SwitchC] interface vlan-interface 3
24. (Details not shown.)
81

Advertisement

Table of Contents
loading

Table of Contents