R3303-HP HSR6800 Routers IP Multicast Command Reference
228
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 a redistributed route is used as its MED in the BGP routing domain.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
The origin attribute of routes redistributed through the import-route command is incomplete.
The undo import-route protocol all-processes command can cancel only the configuration that you make
by using the import-route protocol all-processes command. To cancel the configuration that you make by
using the import-route protocol process-id command, you must use the undo import-route protocol
process-id command.
Examples
# In IPv4 MBGP address family view, enable route redistribution from RIP.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul] import-route rip
ipv4-family multicast
Use ipv4-family multicast to enter IPv4 MBGP address family view.
Use undo ipv4-family multicast to remove all configurations made in IPv4 MBGP address family view
and return to MBGP view.
Syntax
ipv4-family multicast
undo ipv4-family multicast
Views
BGP view
Default command level
2: System level
Examples
# Enter IPv4 MBGP address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family multicast
[Sysname-bgp-af-mul]
network (MBGP address family view)
Use network to inject a network to the IPv4 MBGP routing table.
Use undo network to remove a network from the IPv4 MBGP routing table.
Syntax
network ip-address [ mask | mask-length ] [ short-cut | route-policy route-policy-name ]