Default-Route Imported (Bgp/Bgp-Vpn Instance View) - HP 6125G Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Examples
# In BGP view, configure the default MED as 25.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] default med 25
# In BGP-VPN instance view, configure the default MED as 25. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-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 default-route imported to allow default route redistribution into the BGP routing table.
Use undo default-route imported to disallow the redistribution.
By default, default route redistribution is not allowed.
You must use the default-route imported command together with the import-route command to
redistribute default routes from other protocols.
Related commands: import-route.
Examples
# In BGP view, allow default route redistribution from OSPF into BGP.
<Sysname> system-view
[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> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] default-route imported
[Sysname-bgp-ipv4-vpn1] import-route ospf 1
137

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents