Hi 

The following is a lab configuration with some comunity and some other BGP
staff, I hopw it will help.

hostname Lab
!
!
!
!
interface Loopback0
 ip address 197.12.1.1 255.255.255.0
!
interface Loopback1
 ip address 197.12.8.1 255.255.255.0
!
interface Ethernet0
 ip address 192.168.20.12 255.255.255.0
 media-type 10BaseT
!
interface Ethernet1
 ip address 192.168.12.50 255.255.255.240
 media-type 10BaseT
!
router eigrp 12
 network 192.168.12.0
 network 197.12.1.0
 network 197.12.8.0
!
router bgp 65001
 bgp confederation identifier 12
 bgp confederation peers 65002 65003 65004 
 aggregate-address 197.12.0.0 255.255.0.0 as-set summary-only attribute-map
setcom
 redistribute eigrp 12 route-map intoBGP
 neighbor 192.168.20.20 remote-as 20
 neighbor 192.168.20.20 send-community
 neighbor 192.168.20.20 route-map prepend out
 neighbor 192.168.20.20 unsuppress-map R3R4
 neighbor 192.168.20.20 filter-list 12 out
 neighbor 197.12.2.1 remote-as 65002
 neighbor 197.12.2.1 ebgp-multihop 255
 neighbor 197.12.2.1 update-source Loopback0
 neighbor 197.12.2.1 next-hop-self
 neighbor 197.12.2.1 send-community
 neighbor 197.12.2.1 unsuppress-map R1R2
!
ip classless
ip bgp-community new-format
ip as-path access-list 12 permit ^$
!
access-list 1 permit 197.12.0.0
access-list 10 permit 197.12.0.0 0.0.255.255
access-list 12 permit 197.12.8.0
access-list 12 permit 197.12.1.0
access-list 12 permit 197.12.3.0
access-list 12 permit 197.12.2.0
access-list 34 permit 197.12.5.0
access-list 34 permit 197.12.4.0
access-list 34 permit 197.12.7.0
access-list 34 permit 197.12.6.0
route-map R1R2 permit 10
 match ip address 12
!
route-map setcom permit 10
 set community 12:100
!
route-map R3R4 permit 10
 match ip address 34
!
route-map intoBGP permit 10
 match ip address 10
 set origin igp
!
route-map prepend permit 10
 match ip address 1
 set as-path prepend 12 12
!
route-map prepend permit 9999
!
!
!
line con 0
line aux 0
line vty 0 4
 login
!
end


 Enjoy 

  Gil


-----Original Message-----
From: suaveguru [mailto:[EMAIL PROTECTED]]
Sent: ??? ??? 27 ?????? 2000 16:08
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: BGP community tagging


thanks I appreciate it , will you be able to give me
an example to illustrate what you say?
--- [EMAIL PROTECTED] wrote:
> Hi,
> 
>    In BGP you can tag routes to ensure consistent
> filtering or route
> selection policy, you can tag inbound and outbound
> updates or when you
> redistribute and by that select best path.
> The communities are built out of 32bit value and
> split in to two parts the
> first 16 bit contain ASN of the AS that defines
> community meaning.
> The second part defines the local meaning.
> 
>   I hope it clears it up for you 
> 
>    Gil
> 
> 
> -----Original Message-----
> From: suaveguru [mailto:[EMAIL PROTECTED]]
> Sent: ??? ??? 27 ?????? 2000 11:06
> To: [EMAIL PROTECTED]
> Subject: BGP community tagging
> 
> 
> hi anyone
> 
> knows what community tagging is in bgp ? I have
> people
> asking me to remove them from community tagging ,
> anyone knows what it is?
> 
> 
> suaveguru
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> http://shopping.yahoo.com/
> 
> _________________________________
> FAQ, list archives, and subscription info:
> http://www.groupstudy.com/list/cisco.html
> Report misconduct and Nondisclosure violations to
[EMAIL PROTECTED]


__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

_________________________________
FAQ, list archives, and subscription info:
http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

_________________________________
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]

Reply via email to