now time my LAB to configure comunity for influence my neighboor for influence my Localpreferences to 120
herewith my config:
==== R5 ====
R5#conf t Enter configuration commands, one per line. End with CNTL/Z. R5(config)#router bgp 10 R5(config-router)#neighbor R5 route-map BGP_COMMUNITY_TEST out R5(config-router)#exit R5(config)#route-map BGP_COMMUNITY_TEST permit 10 R5(config-route-map)#match ip address prefix-list SET-COMMUNITY R5(config-route-map)#set local-preference 120 R5(config-route-map)#set community 11:110 additive R5(config-route-map)#exit R5(config)# R5(config)#route-map BGP_COMMUNITY_TEST permit 20 R5(config-route-map)#set community 11:120 additive R5(config)#^Z R5#
====R8====
R8#sh ip bgp 1.1.1.0/24 BGP routing table entry for 1.1.1.0/24, version 96 Paths: (1 available, best #1, table Default-IP-Routing-Table) Flag: 0x820 Advertised to update-groups: 1 (10) 100 5.5.5.5 from 5.5.5.5 (5.5.5.5) Origin incomplete, metric 0, localpref 120, valid, confed-external, best Community: 11:110 R8#
notes:
additive means I want to insert this community into existing Routing table