39
Figure 18 Network diagram
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 ensure that LDP establishes LSPs only for the routes 11.1.1.0/24 and 21.1.1.0/24, configure
LSP generation policies on each LSR.
•
To ensure that LDP establishes LSPs only over the link Switch A—Switch B—Switch C,
configure label acceptance policies as follows:
Switch A accepts only the label mapping for FEC 21.1.1.0/24 received from Switch B.
Switch A denies the label mapping for FEC 21.1.1.0/24 received from Switch D.
Switch C accepts only the label mapping for FEC 11.1.1.0/24 received from Switch B.
Switch C denies the label mapping for FEC 11.1.1.0/24 received from Switch D.
Configuration procedure
1.
Configure IP addresses and masks for interfaces, including the loopback interfaces, as shown
in
. (Details not shown.)
2.
Configure OSPF on each switch to ensure IP connectivity between them. (Details not shown.)
3.
Enable MPLS and LDP:
# 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
Switch A
Switch B
Switch C
Loop0
1.1.1.9/32
Loop0
3.3.3.9/32
Vlan-int2
10.1.1.1/24
Vlan-int3
20.1.1.1/24
Vlan-int2
10.1.1.2/24
Vlan-int3
20.1.1.2/24
11.1.1.0/24
21.1.1.0/24
Vlan-int4
11.1.1.1/24
Vlan-int5
21.1.1.1/24
Switch D
Loop0
4.4.4.9/32
Loop0
2.2.2.9/32
Vlan-int6
30.1.1.1/24
Vlan-int7
40.1.1.2/24
Vlan-int6
30.1.1.2/24
Vlan-int7
40.1.1.1/24
Содержание FlexNetwork 5510 HI Series
Страница 9: ...vii Remote support 460 Documentation feedback 460 Index 462 ...
Страница 318: ...309 Request list 0 Retransmit list 0 ...
Страница 363: ...354 Verify that CE 1 and CE 2 can ping each other Details not shown ...
Страница 446: ...437 The MCE has redistributed the OSPF routes of the two VPN instances into the EBGP routing tables of PE 1 ...