Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


IPVPN cloud / vpls

IPVPN cloud / vpls

IPVPN cloud / vpls

Hello there,

Trying to solve an issues regarding vpls. How can I stop advertising only certain subnets to a specific branch on the other side of a vpls/ipvpn cloud? Im using bgp routing with static routes as well.

Any help would be appreciated.

RE: IPVPN cloud / vpls

is this just a point-to-point connection or do you have multiple sites involved?? do you control the other sites CE device?? there are a few different ways to tackle this depending on your structure.

RE: IPVPN cloud / vpls

there are other sites that are also connected to the vpls. i just control the main site and one branch

RE: IPVPN cloud / vpls

ok, so since you are using L2 VPN I am making the assumption that you have a full-mesh of BGP peers between all of your locations. if so, you can take care of this on your CE in the location that is originating this prefix.

L1 is the location where you are sourcing,, and L2 should not receive, but it should receive the other prefixes. Your VPLS subnet is 192.168.10/24 with L2 residing at

Use a prefix-list

CODE -->

ip prefix-list prune deny
ip prefix-list prune permit le 32

router bgp 65000
 neigh prefix-list prune out
 neigh description L2

clear ip bgp soft out 
or use a distribute-list


ip access-list extended prune
 deny ip any
 permit ip any any

router bgp 65000
 neigh distribute-list prune out

clear ip bgp soft out 
or, use a route-map


ip prefix-list prune deny
ip prefix-list prune permit le 32

route-map rmap-prune
 match ip address prefix-list prune

router bgp 65000
 neigh route-map rmap-prune out

clear ip bgp soft out 

RE: IPVPN cloud / vpls

Appretiate it very much. I will go with the prefix list first and see how it works out. Will let you know how it goes.

Thanks again : )

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close