cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
483
Views
0
Helpful
1
Replies

RPL in IOS XR

simapiroh
Level 1
Level 1

Dear Sir/Madam

Recently Google just deployed Google Cach Server (LGC) in my network and peering to reduce traffic and fast respond to end users.

but my config seem not work fine, that's why most traffic still go to Internation instead go to Google Cach.

Below is my existing configuration and pls correct it as i want all traffic to Google/Youtube direct to Google Cach first, if not cached then go to Interational.

Pls advise

1/ Configuration to Google Cach

route-policy rp_bgp_GGC_in

  if destination in pfs_customer then

    pass

  endif

  end-policy

route-policy rp_bgp_GGC_out

  if destination in pfs_GGC_permit then

    pass

  endif

  end-policy

neighbor 123.108.253.16

  remote-as 65535

    session-open-mode passive-only

  address-family ipv4 unicast

   route-policy rp_bgp_GGC_in in

   route-policy rp_bgp_GGC_out out

   soft-reconfiguration inbound always

  !

prefix-set pfs_GGC_permit

  # ----- NEOCOMISP Prefix -----

  x,x.x.0/24,

  x,x.x.0/24,

  x.x.x.0/24,

  x.x.x.0/24,

  x.x.x.0/24

  end-set

2/Configuration to Google Internation

as-path-set aps_google_in

  ios-regex '^(15169_)+$',

  ios-regex '^(15169_)+(36561_)+$',

  ios-regex '^(15169_)+(26910_)+$',

  ios-regex '^(15169_)+(6432_)+$',

  ios-regex '^(15169_)+(22577_)+$',

  ios-regex '^(15169_)+(36492_)+$'

  end-set

route-policy rp_bgp_google_in

  if destination in (0.0.0.0/0 le 24) then

    pass

  endif

  end-policy

route-policy rp_bgp_google_out

  if destination in pfs_customer then

    pass

  endif

  end-policy

!

prefix-set pfs_customer

  x.x.248.0/24,

  x.x.249.0/24,

  x.x.250.0/24,

  x.x.251.0/24

  end-set

!

neighbor x.x.x.6

  remote-as 15169

  description ## Google BGP Peering ##

  address-family ipv4 unicast

   route-policy rp_bgp_google_in in

   maximum-prefix 525000 90

   route-policy rp_bgp_google_out out

   default-originate

   remove-private-AS

   soft-reconfiguration inbound always

1 Reply 1

Hi Sim,
I guess the policy should be the same but applied to in and out direction.

As I read you did two different policies, one for each direction.

Hope this helps

Alessio

Sent from Cisco Technical Support iPad App

Review Cisco Networking for a $25 gift card