HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Routing Comma - Page 148
default-route imported (BGP/BGP-VPN instance view
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 148 highlights
Examples # In BGP view, configure the default MED as 25. 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.) 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 View undo default-route imported 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. 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.) 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