R3303-HP HSR6800 Routers Layer 3 - IP Routing Command Reference
251
med-value: Specifies a MED value for redistributed routes, in the range of 0 to 4294967295. If the
argument is not specified, the cost of the redistributed route is used as its MED in the BGP routing domain.
route-policy-name: Name of a routing policy used to filter redistributed routes, a case-sensitive string of
1 to 63 characters.
Usage guidelines
Only active routes can be redistributed. You can use the display ip routing-table protocol command to
display route state information.
The ORIGIN attribute of routes redistributed with the import-route command is INCOMPLETE.
Examples
# In BGP view, redistribute routes from RIP process 1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] import-route rip
# In BGP-VPN instance view, redistribute routes from RIP process 1. (The VPN has been created.)
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-ipv4-vpn1] import-route rip
ipv4-family vpn-instance
Use ipv4-family vpn-instance to associate the specified VPN instance with the IPv4 address family, and
enter BGP-VPN instance view.
Use undo ipv4-family vpn-instance to remove all configurations in BGP-VPN instance view.
Syntax
ipv4-family vpn-instance vpn-instance-name
undo ipv4-family vpn-instance vpn-instance-name
Views
BGP view
Default command level
2: System level
Parameters
vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters.
Usage guidelines
Before you enter BGP-VPN instance view, the VPN instance must have been created.
Examples
# Associate the specified VPN instance with the IPv4 address family, and enter BGP-VPN instance view.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] quit
[Sysname] bgp 100