background image

1

Cisco IOS Release 12.2(8)T

OSPF Sham-Link Support for MPLS VPN

Feature History

This document describes how to configure and use a sham-link to connect Virtual Private Network
(VPN) client sites that run the Open Shortest Path First (OSPF) protocol and share backdoor OSPF links
in a Multiprotocol Label Switching (MPLS) VPN configuration.

This document includes the following sections:

Feature Overview, page 1

Supported Platforms, page 8

Supported Standards, MIBs, and RFCs, page 10

Prerequisites, page 10

Configuration Tasks, page 10

Configuration Examples, page 12

Command Reference, page 12

Glossary, page 16

Feature Overview

Using OSPF in PE-CE Router Connections

In an MPLS VPN configuration, the OSPF protocol is one way you can connect customer edge (CE) routers
to service provider edge (PE) routers in the VPN backbone. OSPF is often used by customers that run OSPF
as their intrasite routing protocol, subscribe to a VPN service, and want to exchange routing information
between their sites using OSPF (during migration or on a permanent basis) over an MPLS VPN backbone.

Figure 1

 shows an example of how VPN client sites that run OSPF can connect over an MPLS VPN

backbone.

Release

Modification

12.2(8)T

This feature was introduced.

Содержание Aironet 1400 Series

Страница 1: ...n Tasks page 10 Configuration Examples page 12 Command Reference page 12 Glossary page 16 Feature Overview Using OSPF in PE CE Router Connections In an MPLS VPN configuration the OSPF protocol is one way you can connect customer edge CE routers to service provider edge PE routers in the VPN backbone OSPF is often used by customers that run OSPF as their intrasite routing protocol subscribe to a VP...

Страница 2: ...d by the receiving PE router to decide the type of link state advertisement LSA to be generated when the BGP route is redistributed to the OSPF PE CE process In this way internal OSPF routes that belong to the same VPN and are advertised over the VPN backbone are seen as interarea routes on the remote sites For basic information about how to configure an MPLS VPN refer to http www cisco com univer...

Страница 3: ...hs 3 available best 2 Advertised to non peer group peers 10 3 1 2 10 3 1 5 Local 10 3 1 5 metric 30 from 10 3 1 5 10 3 1 5 Origin incomplete metric 22 localpref 100 valid internal Extended Community RT 1 793 OSPF DOMAIN ID 0 0 0 100 OSPF RT 1 2 0 OSPF 2 Local 10 2 1 38 from 0 0 0 0 10 3 1 6 Origin incomplete metric 86 localpref 100 weight 32768 valid sourced best Extended Community RT 1 793 OSPF D...

Страница 4: ...r links between sites are used only for backup purposes and do not participate in the VPN service then the default route selection shown in the preceding example is not acceptable To reestablish the desired path selection over the MPLS VPN backbone you must create an additional OSPF intra area logical link between ingress and egress VRFs on the relevant PE routers This link is called a sham link A...

Страница 5: ...signed to show how a sham link is used only to affect the OSPF intra area path selection of the PE and CE routers The PE router also uses the information received from MP BGP to set the outgoing label stack of incoming packets and to decide to which egress PE router to label switch the packets Figure 4 shows a sample MPLS VPN topology in which a sham link configuration is necessary A VPN client ha...

Страница 6: ...s 10 3 1 2 Default IP Routing Table from 10 3 1 7 00 12 59 ago The next example shows forwarding information in which the next hop for the route 10 3 1 2 is the PE 3 router rather than the PE 2 router which is the best path according to OSPF The reason the OSPF route is not redistributed to BGP on the PE is because the other end of the sham link already redistributed the route to BGP and there is ...

Страница 7: ...spf 100 distance 110 metric 12 type intra area Redistributing via bgp 215 Last update from 10 3 1 2 00 00 10 ago Routing Descriptor Blocks 10 3 1 2 Default IP Routing Table from 10 3 1 7 00 00 10 ago Route metric is 12 traffic share count is 1 PE 2 show ip bgp vpnv4 all 10 3 1 7 BGP routing table entry for 100 251 10 3 1 7 32 version 166 Paths 1 available best 1 Not advertised to any peer Local 10...

Страница 8: ...ndamentals Command Reference Release 12 2 Cisco IOS IP Command Reference Volume 2 of 3 Routing Protocols Release 12 2 http www cisco com univercd cc td doc product software ios122 122cgcr fiprrp_r 1rfospf htm MPLS Virtual Private Networks http www cisco com univercd cc td doc product software ios120 120newft 120t 120t5 vpn htm Configuring OSPF http www cisco com univercd cc td doc product software...

Страница 9: ...ific set of features and which features are supported in a specific Cisco IOS image You can search by feature or release Under the release section you can compare releases side by side to display both the features unique to each software release and the features in common To access Cisco Feature Navigator you must have an account on Cisco com If you have forgotten or lost your account information ...

Страница 10: ...ed with the routing process Assign area IDs to be associated with the range of IP addresses For more information on these OSPF configuration procedures go to http www cisco com univercd cc td doc product software ios122 122cgcr fiprrp_r 1rfospf htm Configuration Tasks See the following sections for configuration tasks for the sham link feature Each task in the list is identified as either required...

Страница 11: ...ed as the endpoint of the sham link on PE 2 and enters interface configuration mode Step 9 Router2 config if ip vrf forwarding vrf name Associates the second loopback interface with a VRF Removes the IP address Step 10 Router2 config if ip address ip address mask Reconfigures the IP address of the loopback interface on PE 2 Step 11 Router2 config if end Returns to global configuration mode Step 12...

Страница 12: ...opback 1 Router1 config if ip vrf forwarding ospf Router1 config if ip address 10 2 1 1 255 255 255 255 Router2 config interface loopback 1 Router2 config if ip vrf forwarding ospf Router2 config if ip address 10 2 1 2 255 255 255 255 Router1 config router ospf 100 vrf ospf Router1 config if area 1 sham link 10 2 1 1 10 2 1 2 cost 40 Router2 config router ospf 100 vrf ospf Router2 config if area 1...

Страница 13: ...n MPLS VPN use the area sham link cost command to configure a sham link between two PEs to connect the sites through the MPLS VPN backbone A sham link represents an intra area unnumbered point to point connection between PEs All other routers in the area see the sham link and use it to calculate intra area shortest path first SPF routes to the remote site Configure the source and destination addre...

Страница 14: ...ost 1 Router1 config if redistribute bgp 1 subnets Router1 config if network 10 2 0 1 255 255 255 255 area 1 Router1 config if network 10 120 0 0 0 255 255 255 area 120 Router1 config if network 10 140 0 0 0 255 255 255 area 120 Router2 config interface loopback 44 Router2 config if ip vrf forwarding v1 Router2 config if ip address 44 0 0 1 255 255 255 255 Router2 config router ospf 2 vrf v1 Route...

Страница 15: ... configured on a PE router Examples The following example shows sample output from the show ip ospf sham links command for a PE router in the VPN backbone Router1 show ip ospf sham links Sham Link OSPF_SL0 to address 10 44 0 1 is up Area 120 source address 10 0 0 1 Run as demand circuit DoNotAge LSA allowed Cost of using 1 Transmit Delay is 1 sec State POINT_TO_POINT Timer intervals configured Hel...

Страница 16: ...cket used by link state protocols The LSA contains information about neighbors and path costs and is used by the receiving router to maintain a routing table MPLS Multiprotocol Label Switching Emerging industry standard upon which tag switching is based PE router provider edge router A router that is part of a service provider network connected to a customer edge CE router All VPN processing occur...

Отзывы: