3Com S7902E Command Reference Manual - page 877
1-13
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] default med 25
default-route imported (BGP/BGP-VPN instance view)
Syntax
default-route imported
undo default-route imported
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
None
Description
Use the
default-route imported
command to allow default route redistribution into the BGP routing
table.
Use the
undo default-route imported
command to disallow the redistribution.
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 BGP view, allow default route redistribution from OSPF into BGP.
[Sysname] bgp 100
[Sysname-bgp] default-route imported
[Sysname-bgp] import-route ospf 1
# In BGP-VPN instance view, enable redistributing default route from OSPF into BGP (the VPN has
been created).
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] default-route imported
[Sysname-bgp-vpn1] import-route ospf 1
display bgp group
Syntax
display bgp group
[
group-name
]