R2511-HP MSR Router Series IP Multicast Command Reference(V5)

442
[Sysname-bgp] ipv6-family multicast
Error: Please configure IPv6 Unicast address-family first
The error information means that the ipv6-family command is not configured.
[Sysname-bgp] ipv6-family
[Sysname-bgp-af-ipv6] quit
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul]
Example 2:
# Enter IPv6 MBGP address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv6-family multicast
[Sysname-bgp-af-ipv6-mul]
network (IPv6 MBGP address family view)
Use network to inject a network to the IPv6 MBGP routing table.
Use undo network to remove a network from the routing table.
Syntax
network ipv6-address prefix-length [ route-policy route-policy-name | short-cut ]
undo network ipv6-address prefix-length [ short-cut ]
Default
No network is injected.
Views
IPv6 MBGP address family view
Default command level
2: System level
Parameters
ipv6-address: Specifies an IPv6 address prefix.
prefix-length: Specifies the prefix length of the IPv6 address, in the range of 0 to 128.
short-cut: If the keyword is specified for an IPv6 multicast EBGP route, the route uses the local preference
rather than its own preference, and it cannot become the optimal route.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines
The network to be injected must exist in the local IPv6 routing table. You can use a routing policy to
control the advertisement of the route with more flexibility.
The route injected through the network command has the IGP origin attribute.
Examples
# inject the network 2002::/16.
<Sysname> system-view
[Sysname]bgp 100