Reference Guide

Border Gateway Protocol IPv4 (BGPv4) | 203
As seen in the example in Regular Expressions as filters, the expressions are displayed when using the
show commands. Use the show config command in the CONFIGURATION AS-PATH ACL mode and
the
show ip as-path-access-list command in EXEC Privilege mode to view the AS-PATH ACL
configuration.
For more information on this command and route filtering, refer to Filter BGP routes.
Redistribute routes
In addition to filtering routes, you can add routes from other routing instances or protocols to the BGP
process. With the
redistribute command syntax, you can include ISIS, OSPF, static, or directly connected
routes in the BGP process.
Use any of the following commands in ROUTER BGP mode to add routes from other routing instances or
protocols.
Enable additional paths
By default, the add-path feature is disabled.
Command Syntax Command Mode Purpose
redistribute {connected | static}
[route-map map-name]
ROUTER BGP or
CONF-ROUTER_BGPv6_
AF
Include, directly connected or
user-configured (static) routes in BGP.
Configure the following parameters:
map-name: name of a configured route
map.
redistribute isis [level-1 | level-1-2 |
level-2] [metric value] [route-map
map-name]
ROUTER BGP or
CONF-ROUTER_BGPv6_
AF
Include specific ISIS routes in BGP.
Configure the following parameters:
level-1, level-1-2, or level-2: Assign
all redistributed routes to a level.
Default is level-2.
metric range: 0 to 16777215. Default is
0.
map-name: name of a configured route
map.
redistribute ospf process-id [match
external {1 | 2} | match internal]
[metric-type {external | internal}]
[route-map map-name]
ROUTER BGP or
CONF-ROUTER_BGPv6_
AF
Include specific OSPF routes in IS-IS.
Configure the following parameters:
process-id range: 1 to 65535
match external range: 1 or 2
match internal
metric-type: external or internal.
map-name: name of a configured route
map.