R2 (config-route-map)# set local-preference 150 R2 (config-route-map)# match community 10 R2 (config)# ip community-list 10 permit 100:999 To configure router R2 to match on specific community and change the prefixes preference: Assign an IP address (10.0.10. Origin IGP, metric 0, localpref 100, valid, external, best Community: 100:999 HI, what is the best practice for a trunk between a Switch and Router/firewall, imaging I want Vlan 10 for management purpose. Paths: (1 available, best #1, table Default-IP-Routing-Table) R1# show bgp ipv4 unicast neighbors 80.50.0.2 | i CommunityīGP Community attribute sent to this neighborīGP routing table entry for 94.70.40.0/24, version 6 R1 (config-router)# neighbor 80.50.0.2 send-community R1 (config-route-map)# set community 100:999 R1 (config)# route-map COMMUNITY permit 10 R1 (config)# ip bgp- community new-format To configure router R1 to send prefix marked with community: NOPEER (0xFFFFFF04) – advisory to BGP neighbor not to readvertise the route prefix to all external bilateral peers.A broadcast domain is typically bounded or enclosed by routers as they do. VLANs define the limits of broadcast domains in a Layer 2 network. Most enterprise networks separate their traffic using VLANs. NO_EXPORT_SUBCONFED (0xFFFFFF03) – inform the BGP neighbor not to advertise prefix to any BGP peers outside a local sub-confederation, This is a basic lab, that will reinforce a common use of inter-VLAN routing.NO_ADVERTISE (0xFFFFFF02) – obligate the BGP neighbor not to advertise prefix to any BGP peers,.NO_EXPORT (0xFFFFFF01) – instruct the BGP neighbor not to advertise prefix to any EBGP peers,.There are four well-known communities values ( ): With that possibility we can manipulate the whole bunch of prefixes base on single tag which is transitive across BGP autonomous systems. Platform: Catalyst 3560, 3750, 3850, 4500, 6500, ISR/ASR RoutersīGP community stands for the attributes which can easily be added to the group of prefixes to marked them with the same meaning.