Ads 468x60px

Monday, August 2, 2010

SOO - BGP Extended Community


SOO -BGP Extended Community used in MPLS

AS path-based BGP loop prevention is bypassed with AS-override and allowas-in features.
In these scenarios, to avoid loops,
BGP extended community attributes such as site of origin (SOO) can also be applied to the MP-iBGP update prior to propagation. The SOO attribute is used to identify the specific site from which the PE learns the route and it  is used to identify and prevent the routing loops. The SOO is a BGP extended communities attribute used to identify routes that have originated from a site so that the re-advertisement of that prefix back to the source site can be prevented, thus preventing routing loops. .

The SOO extended community uniquely identifies the site from which a PE router has learned a route. SOO enables filtering of traffic based on the site from which it was originated. SOO filtering manages MPLS VPN traffic and prevents routing loops from occurring in complex and mixed network topologies in which the customer sites might have connectivity across the MPLS VPN backbone as well as have backdoor links between sites.

*SOO loop prevention mechanism are needed only for customer’s networks with Multihomed sites. Loops can never occur in customer networks that have only stub sites.

  • The SOO is needed only of Multihomed sites.
  • When EBGP is run between PE and CE routers, The SOO is configured through a route-map command.
  • For other routing protocols, the SOO can be applied to routes learned through a particular VRF interface during the redistribution into BGP

Example:
Creates a route map that sets the SOO attribute.
PE(config)#
route-map SOO permit seq
match conditions
set extcommunity soo extended-community-value

Apply the route-map
Router(config-router-af)#
neighbor ip-address route-map name in

Router(config-router-af)#neighbor 10.1.1.1 route-map SOO in

route-map SOO permit 10
set extcommunity soo 65000:100

OSPF Domain ID in MPLS


OSPF Domain ID Role in MPLS

When OSPF is used as the routing protocol on a MPLS Provider Edge to customer edge (PE-CE) link in (MPLS) VPN. PE routers mark OSPF routes with the domain attribute derived from the OSPF process number, it indicates whether the route originated within the same OSPF domain or from other OSPF domain. If the OSPF process numbering is inconsistent on PE routers in the MPLS VPN, the domain-id command in OSPF should be used to mark that the OSPF processes with different numbers belong to the same OSPF domain.
Then you can get O IA routes instead of E2 routes.

The command are :
Show ip ospf  ( To know the domain id)
PE-1#sh ip ospf 2
 Routing Process "ospf 2" with ID 200.1.1.1
   Domain ID type 0x0005, value 0.0.0.2  (Check the value field).

 router ospf  
domain-id 0.0.0.x

Then check the OSPF route type it will be O IA.
Related Posts Plugin for WordPress, Blogger...