RE: Set community problem

From: Fabrice Bobes (study@xxxxxxxxxxx)
Date: Sat Aug 03 2002 - 01:12:19 GMT-3


   
H.

If you want to display the community value using a short form (AS:2Byte
or new format), you need to add the following command:
Ip bgp-community new-format

Or else it will be displayed using the default format (4 bytes number).

Fabrice
http://www.6CoLabs.com

-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Hunt Lee
Sent: Friday, August 02, 2002 8:34 PM
To: ccielab@groupstudy.com
Subject: Set community problem

Hello all,

I am trying to set BGP community attribute by using Route-map:-

R10(config)#route-map test1 permit 10
R10(config-route-map)#set community 10:900

But when I look up the Route-map by "show route-map test1", the
community value mysterically changes itself from 10:900 to a bizzard
value (656260)...

R10#sh route-map test1
route-map test1, permit, sequence 10
  Match clauses:
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes
    community 656260
R10#

Also, I don't understand why the commuinty value would appear on the
line under "Policy routing matches", rather than under "Set clauses"???

And when my routes are advertised out to the BGP neighbors, they are
seeing the same bizzard number.

R8#sh ip bgp
BGP table version is 3, local router ID is 100.1.1.2
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal Origin codes: i - IGP, e - EGP, ? - incomplete

   Network Next Hop Metric LocPrf Weight Path
*> 175.10.10.0/24 100.1.1.3 0 0 200 i
*> 196.196.10.0 100.1.1.3 0 0 200 i

R8#sh ip bgp 196.196.10.0
BGP routing table entry for 196.196.10.0/24, version 3
Paths: (1 available, best #1, table Default-IP-Routing-Table)
Flag: 0x208
  Advertised to non peer-group peers:
  100.1.1.1
  200
    100.1.1.3 (metric 2297856) from 100.1.1.3 (196.196.10.1)
      Origin IGP, metric 0, localpref 100, valid, external, best
      Community: 656260
R8#

N.B: I'm using IOS 12.2(10b).

Regards,
H.

http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!



This archive was generated by hypermail 2.1.4 : Sat Sep 07 2002 - 19:48:15 GMT-3