
•
redistribute rip
[
metric metric-value
] [
route-policy route-policy-name
]
•
redistribute static
[
metric metric-value
] [
route-policy route-policy-name
]
5.
commit
DETAILED STEPS
Purpose
Command or Action
configure
Step 1
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Step 2
Specifies either the IPv4 or IPv6 address family and enters
address family configuration submode.
address-family
{
ipv4
|
ipv6
}
unicast
Example:
Step 3
To see a list of all the possible keywords and arguments for
this command, use the CLI help (?).
RP/0/RP0/CPU0:router(config-bgp)# address-family
ipv4 unicast
Causes routes from the specified instance to be redistributed
into BGP.
Do one of the following:
Step 4
•
redistribute connected
[
metric metric-value
] [
route-policy route-policy-name
]
•
redistribute eigrp process-id
[
match
{
external
|
internal
}] [
metric metric-value
] [
route-policy
route-policy-name
]
•
redistribute isis process-id
[
level
{
1
|
1-inter-area
|
2
}] [
metric metric-value
] [
route-policy route-policy-name
]
•
redistribute ospf process-id
[
match
{
external
[
1
|
2
] |
internal
|
nssa-external
[
1
|
2
]]} [
metric
metric-value
] [
route-policy route-policy-name
]
•
redistribute ospfv3 process-id
[
match
{
external
[
1
|
2
] |
internal
|
nssa-external
[
1
|
2
]]} [
metric metric-value
] [
route-policy
route-policy-name
]
•
redistribute rip
[
metric metric-value
] [
route-policy route-policy-name
]
•
redistribute static
[
metric metric-value
] [
route-policy route-policy-name
]
Example:
RP/0/RP0/CPU0:router(config-bgp-af)# redistribute
ospf 110
commit
Step 5
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
59
Implementing BGP
Redistributing Prefixes into Multiprotocol BGP