Dell S50V Switch User Manual


  Open as PDF
of 1262
 
Border Gateway Protocol IPv4 (BGPv4) | 249
Figure 10-28. Command example: show ip community-lists
Use these commands in the following sequence, starting in the CONFIGURATION mode, To use an IP
Community list or 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.
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 Extended Community list’s criteria, use the
show ip
bgp
{community-list | extcommunity-list} command in EXEC Privilege mode.
Step Command Syntax Command Mode Purpose
1 route-map map-name [permit |
deny] [sequence-number]
CONFIGURATION Enter the ROUTE-MAP mode and assign
a name to a route map.
2
match {community
community-list-name [exact] |
extcommunity
extcommunity-list-name [exact]}
CONFIG-ROUTE-MAP Configure a match filter for all routes
meeting the criteria in the IP Community
or Extended Community list.
3
exit
CONFIG-ROUTE-MAP Return to the CONFIGURATION mode.
4
router bgp as-number CONFIGURATION Enter the ROUTER BGP mode.
AS-number: 0-65535 (2-Byte) or
1-4294967295 (4-Byte) or
0.1-65535.65535 (Dotted format)
5
neighbor {ip-address |
peer-group-name} route-map
map-name {in | out}
CONFIG-ROUTER-BGP Apply the route map to the neighbor or
peer group’s incoming or outgoing routes.
FTOS#show ip community-lists
ip community-list standard 1
deny 701:20
deny 702:20
deny 703:20
deny 704:20
deny 705:20
deny 14551:20
deny 701:112
deny 702:112
deny 703:112
deny 704:112
deny 705:112
deny 14551:112
deny 701:667
deny 702:667
deny 703:667