...
Enable Community Exchange with Peer
The set protocols bgp neighbor send-community command enables community and/or extended community exchange with the specified neighbor. When this command is configured for the peer-group, then all the neighbors that are part of peer-group will send the community values to the peers.
The following example allows community values to be sent to a specific neighbor.
Code Block |
---|
admin@XorPlus# set protocols bgp ipv4 unicast neighbor 2.2.2.2 send-community both
admin@XorPlus# commit |
Apply a Routing Policy to Routes Advertised
The set protocols bgp neighbor route-map command applies a route map to incoming or outgoing routes. It configures the route map for modifying the community attribute of the route.
Code Block |
---|
admin@XorPlus# set protocols bgp ipv4 unicast neighbor 2.2.2.2 in route-map map1
admin@XorPlus# commit |