cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
426
Views
25
Helpful
3
Replies

BGP Community different output when I do a show run

genexjeff
Level 1
Level 1

Guys,

When I create a route map and add set community 701:90, the router accepts the command, but when i do a show run the route map is different. See below, what gives??

phl_internet_vz(config)#route-map public_routes permit 20
phl_internet_vz(config-route-map)#set community 701:90             
phl_internet_vz(config-route-map)#

phl_internet_vz(config-route-map)#do sh run | sec route-map

route-map public_routes permit 20
 set community 45940826

Why is the set community changing from 701:90 to 45940826?

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

It the same community number it's just that by default Cisco display it as a 32 bit number.

If you want to see it in the format you typed you can use this command on your router -

"ip bgp-community new-format"

Jon

View solution in original post

3 Replies 3

Vinit Jain
Cisco Employee
Cisco Employee

Hello,

You need to configure ip bgp-community new-format command on the global config of the router.

Regards

Vinit

Thanks
--Vinit

Vinit

Sorry, I was posting while you answered :-)

Jon

Jon Marshall
Hall of Fame
Hall of Fame

It the same community number it's just that by default Cisco display it as a 32 bit number.

If you want to see it in the format you typed you can use this command on your router -

"ip bgp-community new-format"

Jon

Review Cisco Networking products for a $25 gift card