222
To do…
Use the command…
Remarks
Specify a preferred value for
routes from an IPv4 MBGP peer
or peer group
peer
{
group-name
|
ip-address
}
preferred-value
value
Optional
The default preferred value is 0.
Controlling route advertisement and reception
Configuration prerequisites
Before you configure this task, configure MBGP basic functions.
Configuring MBGP route redistribution
MBGP can advertise routing information in the local AS to neighboring ASs. It redistributes such routing
information from IGP into its routing table rather than learning the information by itself.
Follow these steps to configure MBGP route redistribution:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter BGP view
bgp
as-number
—
Enter IPv4 MBGP address family
view
ipv4-family multicast
—
Enable route redistribution from
another routing protocol
import-route
protocol
[ {
process-
id
|
all-processes
} [
allow-direct
|
med
med-value
|
route-policy
route-policy-name
] * ]
At least one of these approaches
is required.
No route redistribution is
configured by default.
Currently, the
allow-direct
keyword is available only when
the specified routing protocol is
OSPF.
Inject a network into the MBGP
routing table
network
ip-address
[
mask
|
mask-
length
] [
short-cut
|
route-policy
route-policy-name
]
NOTE:
The Origin attribute of routes redistributed into the MBGP routing table through the
import-route
command is Incomplete.
The Origin attribute of routes injected into the MBGP routing table through the
network
command is
IGP.
The networks to be injected must exist in the local IP routing table, and using a routing policy makes
route control more flexible.
Configure default route redistribution into MBGP
You cannot use the
import-route
command to redistribute a default route into MBGP. This task allows
you to do so.
Follow these steps to configure MBGP to redistribute a default route from another protocol:
Summary of Contents for A5500 EI Switch Series
Page 12: ...xii Conventions 425 Index 427 ...