92
Configuration example of inter-AS MPLS TE tunnel using
RSVP-TE
Network requirements
•
Switch A and Switch B are in AS 100, and they run OSPF as the IGP.
•
Switch C and Switch D are in AS 200, and they run OSPF as the IGP.
•
Establish an EBGP connection between ASBRs Switch B and Switch C. Redistribute BGP routes into
OSPF and OSPF routes into BGP, so that a route is available between AS 100 and AS 200.
•
Establish an MPLS TE tunnel between Switch A and Switch D by using RSVP-TE.
Figure 22
Network diagram
Device
Interface
IP address
Device
Interface
IP address
Switch A
Loop0
1.1.1.9/32
Switch D
Loop0
4.4.4.9/32
Vlan-int1
10.1.1.1/24
Vlan-int3
30.1.1.2/24
Switch B
Loop0
2.2.2.9/32
Switch C
Loop0
3.3.3.9/32
Vlan-int1
10.1.1.2/24
Vlan-int3
30.1.1.1/24
Vlan-int2
20.1.1.1/24
Vlan-int2
20.1.1.2/24
Configuration procedure
1.
Assign IP addresses and masks to interfaces (see
2.
Configure OSPF to advertise routes within the ASs.
# Configure OSPF on Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 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] network 1.1.1.9 0.0.0.0
[SwitchA-ospf-1-area-0.0.0.0] quit
[SwitchA-ospf-1] quit
# Configure OSPF on Switch B.
<SwitchB> system-view
[SwitchB] ospf
[SwitchB-ospf-1] import-route direct