3Com S7902E Command Reference Manual - page 1244
1-8
preferred. When a router running BGP obtains several routes with an identical destination but different
next-hops from various external peers, it will select the best route depending on the MED value. In the
case that all other conditions are the same, the system selects the route with the smallest MED as the
best external route.
Examples
# In IPv4 MBGP address family view, configure the default MED as 25.
[Sysname]bgp 100
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul]default med 25
default-route imported (MBGP family view)
Syntax
default-route imported
undo default-route imported
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
None
Description
Use the
default-route imported
command to allow default route redistribution into the MBGP routing
table.
Use the
undo default-route imported
command to restore the default.
By default, default route redistribution is not allowed.
Using the
default-route imported
command cannot redistribute default routes. To do so, use the
import-route
command.
Related commands:
import-route.
Examples
# In IPv4 MBGP address family view, allow default route redistribution from OSPF into MBGP.
[Sysname]bgp 100
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] default-route imported
[Sysname-bgp-af-mul] import-route ospf 1