2. Enter the
ip community-list extended
command using the
permit
keyword to configure a BGP community ACL.
device(config)# ip community-list extended 1 permit ^[1-2]23
3. Enter the
route-map
name
command to create and define a route map and enter route map configuration mode.
device(config)# route-map ComRmap permit 10
4. Enter the
match community
command and specify a community list name.
device(config-route-map-ComRmap)# match community 1
5. Enter the
set community
command to set the BGP community attributes.
device(config-route-map-ComRmap)# set community 323:1 additive
6. Enter the
exit
command to return to global configuration mode.
device(config-route-map-ComRmap)# exit
7. Enter the
route-map
name
command to define a route map and enter route map configuration mode.
device(config)# route-map sendComRmap permit 10
8. Enter the
set community
command to set the BGP community attributes.
device(config-route-map-sendComRmap)# set community 3:3
The following example configures a BGP community ACL and sets the BGP community attributes in a route map instance.
device# configure terminal
device(config)# ip community-list extended 1 permit ^[1-2]23
device(config)# route-map ComRmap permit 10
device(config-route-map-ComRmap)# match community 1
device(config-route-map-ComRmap)# set community 323:1 additive
device(config-route-map-ComRmap)# exit
device(config)# route-map sendComRmap permit 10
device(config-route-map-sendComRmap)# set community 3:3
Applying a BGP extended community filter
A BGP extended community filter can be applied.
1. Enter the
configure terminal
command to access global configuration mode.
device# configure terminal
2. Enter the
ip community-list extended
command using the
permit
keyword to configure a BGP community ACL.
device(config)# ip community-list extended 1 permit ^[1-2]23
3. Enter the
route-map
name
command to create and define a route map and enter route map configuration mode.
device(config)# route-map ComRmap permit 10
4. Enter the
match community
command and specify a community list name.
device(config-route-map-ComRmap)# match community 1
Configuring BGP4+
FastIron Ethernet Switch Layer 3 Routing
496
53-1003627-04
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...