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

BGP Community different output when I do a show run

genexjeff
Beginner
Beginner

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
VIP Community Legend VIP Community Legend
VIP Community Legend

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
VIP Community Legend VIP Community Legend
VIP Community Legend

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers