Example Configuring BGP on Service Provider Routers

This example shows the configuration of an ISP edge router. AS 65001

Customer Network

Service Provider Network router bgp 387 neighbor remote-as 65001 neighbor default-originate neighbor prefix-list DefaultOnly out neighbor prefix-list CustomerA in neighbor filter-list 15 in neighbor route-map AllCustomersIn in ip as-path access-list 15 permit A65001(_65001)*$ ip prefix-list DefaultOnly permit ip prefix-list CustomerA permit le 32 ip prefix-list Provider permit le 32

route-map AllCustomersIn permit 10 match ip prefix-list Provider set comnunity no-export additive

The customer is assigned the private AS number 65001. The BGP session is opened with the customer IP address,

The ISP sends the default route only to the customer. This route is configured using first the default-originate command and then the prefix-list DefaultOnly.

Received routes from the customer must first pass the prefix-list CustomerA. There is one dedicated prefix-list for each individual customer; the prefix-list permits only the routes that the customer is allowed to announce. If the routes are allowed by the prefix-list, they must also pass the filter-list named "15 in." In this case, the filter allows the private AS of the customer in any number of repetitions, as long as it is the only AS number in the path. This filter-list allows for AS-path prepending configurations on the customer side. If the received route is allowed by both the prefix-list and the filter-list, then the route-map AllCustomersIn is applied.

The route-map is a general route-map that is used for all customers. It checks every route that is received, via the prefix-list Provider, and if the route is within the big block of PA address space that the ISP announces to the rest of the Internet, the customer route is marked with the no-export community. This mark means that the route is used within the ISP AS only and is not sent to the rest of the Internet.

Routes that are received from the customer and are allowed by the prefix-list and filter-list, but do not fall within the PA address space, are allowed by the route-map and are not changed in any way. The ISP propagates these routes to the rest of the Internet.

route-map AllCustomersIn permit 9999

5-56 Configuring BGP on Cisco Routers (BGP) v3.2

Was this article helpful?

0 0
Search Engine Optimization Overview

Search Engine Optimization Overview

This is the 2nd volume of a 9 volume series called the Webmasters Toolbox package. Search engines are the number one way that internet users find websites. In most cases, a listing in a search engine is free. So, it's no surprise that Search Engine Optimization SEO is often the first priority when marketing a website.

Get My Free Ebook

Post a comment