Setup Guide

Table Of Contents
CONFIG-ROUTER-BGP mode
neighbor {ip-address | ipv6-address | peer-group-name} filter-list as-path-name {in | out}
If you assign an non-existent or empty AS-PATH ACL, the software allows all routes.
To view all BGP path attributes in the BGP database, use the show ip bgp paths command in EXEC Privilege mode.
DellEMC#show ip bgp paths
Total 386 Paths
Refcount Metric Path
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
20 0 64801 i
--More--
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 | ipv6-address | peer-group-name} route-map map-name {in | out}
DellEMC# configure terminal
DellEMC(conf)# router bgp 400
DellEMC(conf-router_bgp)# neighbor 10.10.10.1 remote-as 500
DellEMC(conf-router_bgp)# neighbor 10.10.10.1 route-map route2 in
DellEMC(conf-router_bgp)# exit
DellEMC(conf)# route-map route2 permit 10
DellEMC(conf-route-map)# match community 1
DellEMC(conf-route-map)# set community 99
DellEMC(conf-route-map)# exit
DellEMC(conf)# ip community-list 1 permit 100
190
Border Gateway Protocol (BGP)