Yep.  If you want to prevent advertisement to R5 altogether, try no-advertise.  
Else, no-export will be announced within AS100, but not outside of it.

---- On Fri, 19 Apr 2013 11:40:38 -0700 Bob McCouch<[email protected]> 
wrote ---- 


SW3 and R5 are in the same AS, so no-export wouldn't filter anything at 
that point, it would only prevent R5 from sending the route to another BGP 
AS via an eBGP peering. Does R5 see the route with that community attached 
(show ip bgp 8.8.8.8 255.255.255.255)? 
 
 
On Fri, Apr 19, 2013 at 2:21 PM, Anthony Ciapanno 
<[email protected]>wrote: 
 
> Hi everyone 
> 
> I am trying to prevent sending a route outside of an AS with out using 
> filtering... Trying to use no-export but its not working any ideas.... 
> 
> 
> no service pad 
> service timestamps debug datetime msec 
> service timestamps log datetime msec 
> no service password-encryption 
> ! 
> hostname SW3 
> ! 
> boot-start-marker 
> boot-end-marker 
> ! 
> ! 
> no aaa new-model 
> system mtu routing 1504 
> ip subnet-zero 
> ip routing 
> no ip domain-lookup 
> ! 
> ! 
> ! 
> ! 
> ! 
> ! 
> ! 
> ! 
> ! 
> spanning-tree mode pvst 
> spanning-tree extend system-id 
> ! 
> vlan internal allocation policy ascending 
> ! 
> ! 
> ! 
> ! 
> interface Loopback0 
> ip address 8.8.8.8 255.255.255.255 
> ip ospf 1 area 0 
> ! 
> interface FastEthernet0/1 
> ! 
> interface FastEthernet0/2 
> ! 
> interface FastEthernet0/3 
> ! 
> interface FastEthernet0/4 
> ! 
> interface FastEthernet0/5 
> ! 
> interface FastEthernet0/6 
> ! 
> interface FastEthernet0/7 
> ! 
> interface FastEthernet0/8 
> ! 
> interface FastEthernet0/9 
> ! 
> interface FastEthernet0/10 
> ! 
> interface FastEthernet0/11 
> ! 
> interface FastEthernet0/12 
> ! 
> interface FastEthernet0/13 
> ! 
> interface FastEthernet0/14 
> ! 
> interface FastEthernet0/15 
> ! 
> interface FastEthernet0/16 
> ! 
> interface FastEthernet0/17 
> ! 
> interface FastEthernet0/18 
> ! 
> interface FastEthernet0/19 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface FastEthernet0/20 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface FastEthernet0/21 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface FastEthernet0/22 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface FastEthernet0/23 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface FastEthernet0/24 
> switchport trunk encapsulation dot1q 
> switchport mode trunk 
> ! 
> interface GigabitEthernet0/1 
> ! 
> interface GigabitEthernet0/2 
> ! 
> interface Vlan1 
> no ip address 
> shutdown 
> ! 
> interface Vlan58 
> ip address 58.0.0.8 255.0.0.0 
> ip ospf 1 area 0 
> ! 
> router ospf 1 
> router-id 33.33.33.33 
> log-adjacency-changes 
> ! 
> router bgp 100 
> no synchronization 
> bgp log-neighbor-changes 
> network 8.8.8.8 mask 255.255.255.255 
> neighbor 5.5.5.5 remote-as 100 
> neighbor 5.5.5.5 update-source Loopback0 
> neighbor 5.5.5.5 send-community 
> neighbor 5.5.5.5 route-map DONTADV out 
> no auto-summary 
> ! 
> ip classless 
> ip http server 
> ip http secure-server 
> ! 
> ip bgp-community new-format 
> ! 
> access-list 1 permit 8.8.8.8 
> route-map DONTADV permit 10 
> match ip address 1 
> set community no-export 
> ! 
> ! 
> control-plane 
> ! 
> ! 
> line con 0 
> line vty 0 4 
> login 
> line vty 5 15 
> login 
> ! 
> end 
> 
> 
> 
> -- 
> 
> 
> - Anthony Ciapanno | IT Consultant 
> - PsyNet Networks, LLC 
> - * Email: *a <[email protected]>[email protected]* 
> - ( Office: *503.396.1808* 
> - ยน Hours: Monday - Friday, 8:00AM to 5:00PM PST 
> 
> ** 
> _______________________________________________ 
> For more information regarding industry leading CCIE Lab training, please 
> visit www.ipexpert.com 
> 
> Are you a CCNP or CCIE and looking for a job? Check out 
> www.PlatinumPlacement.com 
> 
> http://onlinestudylist.com/mailman/listinfo/ccie_rs 
> 
_______________________________________________ 
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com 
 
Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com 
 
http://onlinestudylist.com/mailman/listinfo/ccie_rs 


_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Are you a CCNP or CCIE and looking for a job? Check out 
www.PlatinumPlacement.com

http://onlinestudylist.com/mailman/listinfo/ccie_rs

Reply via email to