
Filtering Routes with Community Lists
To use an IP community list or IP extended community list to filter routes, you must apply a match community filter to a route map
and then apply that route map to a BGP neighbor or peer group.
1.
Enter the ROUTE-MAP mode and assign a name to a route map.
CONFIGURATION mode
route-map
map-name
[permit | deny] [
sequence-number
]
2.
Configure a match filter for all routes meeting the criteria in the IP community or IP extended community list.
CONFIG-ROUTE-MAP mode
match {community
community-list-name
[exact] | extcommunity
extcommunity-list-name
[exact]}
3.
Return to CONFIGURATION mode.
CONFIG-ROUTE-MAP mode
exit
4.
Enter ROUTER BGP mode.
CONFIGURATION mode
router bgp
as-number
AS-number
: 0 to 65535 (2-Byte) or 1 to 4294967295 (4-Byte) or 0.1 to 65535.65535 (Dotted format)
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}
To view the BGP configuration, use the
show config
command in CONFIGURATION ROUTER BGP mode. To view a route map
configuration, use the
show route-map
command in EXEC Privilege mode.
To view which BGP routes meet an IP community or IP extended community list’s criteria, use the
show ip bgp {community-
list | extcommunity-list}
command in EXEC Privilege 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 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
Border Gateway Protocol IPv4 (BGPv4)
203
Содержание S4048-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Страница 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Страница 477: ...Figure 68 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 477 ...
Страница 480: ...Figure 70 Inspecting a LAG Port on BRAVO Using the show interface Command 480 Link Aggregation Control Protocol LACP ...
Страница 481: ...Figure 71 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 481 ...
Страница 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Страница 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Страница 524: ...Figure 89 Configuring PIM in Multiple Routing Domains 524 Multicast Source Discovery Protocol MSDP ...
Страница 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Страница 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Страница 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Страница 633: ...Policy based Routing PBR 633 ...
Страница 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Страница 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...