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 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 specified.
CONFIG-ROUTER-BGP mode
neighbor {
ip-address
|
peer-group-name
} send-community
To view the BGP configuration, use the
show config
command in CONFIGURATION ROUTER BGP mode.
If you want to remove or add a specific 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.
CONFIGURATION mode
route-map
map-name
[permit | deny] [
sequence-number
]
2
Configure a set filter to delete all COMMUNITY numbers in the IP community list.
CONFIG-ROUTE-MAP mode
set comm-list
community-list-name
delete
OR
set community {
community-number
| local-as | no-advertise | no-export | none}
Configure a community list by denying or permitting specific community numbers or types of community.
•
community-number
: use AA:NN format where AA is the AS number (2 or 4 Bytes) and NN is a value specific to that
autonomous system.
•
local-AS
: routes with the COMMUNITY attribute of NO_EXPORT_SUBCONFED and are not sent to EBGP peers.
•
no-advertise
: routes with the COMMUNITY attribute of NO_ADVERTISE and are not advertised.
•
no-export
: routes with the COMMUNITY attribute of NO_EXPORT.
•
none
: remove the COMMUNITY attribute.
•
additive
: add the communities to already existing communities.
3
Return to CONFIGURATION mode.
CONFIG-ROUTE-MAP mode
exit
4
Enter the ROUTER BGP mode.
CONFIGURATION mode
router bgp
as-number
5
Apply the route map to the neighbor or peer group’s incoming or outgoing routes.
CONFIG-ROUTER-BGP mode
neighbor {
ip-address
|
peer-group-name
} route-map
map-name
{in | out}
Border Gateway Protocol IPv4 (BGPv4)
211
Summary of Contents for S4048T-ON
Page 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Page 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Page 251: ...Dell Control Plane Policing CoPP 251 ...
Page 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Page 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Page 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Page 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Page 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Page 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Page 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Page 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...