Jump to content

BGP route-map-out community

Ребят, чет я туплю... Не получается навесить аттрибут только на один свой префикс:

 

router bgp XXXX
neighbor XXX.XXX.XXX.XXX remote-as XXXX
neighbor XXX.XXX.XXX.XXX prefix-list pl-ournetworks-uplink out
neighbor XXX.XXX.XXX.XXX route-map uplink-out out

ip prefix-list pl-ournetworks-uplink seq 5 permit 1.1.1.0/24
ip prefix-list pl-ournetworks-uplink seq 6 permit 2.2.2.0/24
ip prefix-list pl-ournetworks-uplink seq 7 deny any

ip prefix-list pl-ournetworks-uplink-community seq 5 permit 2.2.2.0/24

route-map uplink-out permit 10
match ip address prefix-list pl-ournetworks-uplink-community
set community XXXX:XXXX

 

Ессно в adv-routes я вижу только 2.2.2.0/24... То есть, порезало на route-map. Бошка тупая стала. А как навесить community на один свой префикс и садвертайзить все остальные префиксы без community?

 

А все, ступил... Бывает. :) on-match убрал и в два этапа. Спасибо всем любопытствующим. :)

Edited by tartila

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.