Administrator Guide

deny 702:112
deny 703:112
deny 704:112
deny 705:112
deny 14551:112
deny 701:667
deny 702:667
deny 703:667
deny 704:666
deny 705:666
deny 14551:666
DellEMC#
Congure BGP attributes
Following sections explain how to congure the BGP attributes such as MED, COMMUNITY, WEIGHT, and LOCAL_PREFERENCE.
Changing MED Attributes
By default, Dell EMC Networking OS uses the MULTI_EXIT_DISC or MED attribute when comparing EBGP paths from the same AS.
To change how the MED attribute is used, enter any or all of the following commands.
Enable MED comparison in the paths from neighbors with dierent ASs.
CONFIG-ROUTER-BGP mode
bgp always-compare-med
By default, this comparison is not performed.
Change the bestpath MED selection.
CONFIG-ROUTER-BGP mode
bgp bestpath med {confed | missing-as-best}
confed: Chooses the bestpath MED comparison of paths learned from BGP confederations.
missing-as-best: Treat a path missing an MED as the most preferred one.
To view the nondefault values, use the show config command in CONFIGURATION ROUTER BGP mode.
Manipulating the COMMUNITY Attribute
In addition to permitting or denying routes based on the values of the COMMUNITY attributes, you can manipulate the COMMUNITY
attribute value and send the COMMUNITY attribute with the route information.
By default, Dell EMC Networking OS does not send the COMMUNITY attribute.
To send the COMMUNITY attribute to BGP neighbors, use the following command.
Enable the software to send the router’s COMMUNITY attribute to the BGP neighbor or peer group specied.
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address | peer-group-name} send-community
To view the BGP conguration, use the show config command in CONFIGURATION ROUTER BGP mode.
If you want to remove or add a specic COMMUNITY number from a BGP path, you must create a route map with one or both of the
following statements in the route map. Then apply that route map to a BGP neighbor or peer group.
1 Enter ROUTE-MAP mode and assign a name to a route map.
224
Border Gateway Protocol (BGP)