ipv6 mroute
ipv6 mroute[vrfvrf-name]ipv6-address-prefix/prefix-length{ethernetunit/slot/port|venum|tunnelnum}[cost
][distancedistance-value][namename]no ipv6 mroute[vrfvrf-name]ipv6-address-prefix/prefix-length{ethernetunit/slot/port|venum|tunnelnum}[cost
][distancedistance-value][namename]No static IPv6 multicast route is configured.
- ipv6-address-prefix/prefix-length
- Configures the destination IPv6 address and prefix for which the route should be added.
- cost
- Configures a metric for comparing the route to other static routes in the IPv6 static route table that have the same destination. The range is 1 to 16; the default is 1.
- distancedistance-value
- Configures the route's administrative distance. The range is 1 to 255. The default is 1.
Global configuration mode
VRF configuration mode
The
no form of this command deletes a previously configured static multicast route.
The ethernetunit/slot/port designation for the destination does not apply to PIM SM.
Connected routes on PIM-enabled interfaces are automatically added to the mRTM table.
The following example configures a static IPv6 mroute to directly connected network 2020::0/120 on virtual interface ve 130.
Device# configure terminal Device(config)# ipv6 mroute 2020::0/120 ve 130
The following example configures a static IPv6 mroute within a VRF called vpn1. The VRF has a route descriptor of 100:200. IPv6 addressing is specified for the VRF. The static multicast route has a destination of 2001:0DB8:0:1::1/120, and the address of the next hop gateway is 5100::192:1:1:1.
Device# configure terminal Device(config)# ipv6 unicast-routing Device(config)# vrf vpn1 Device (config-vrf-vpn1)# rd 100:200 Device (config-vrf-vpn1)# address-family ipv6 Device (config-vrf-vpn1-ipv6)# ipv6 mroute 2001:0DB8:0:1::1/120 5100::192:1:1:1
| Release version | Command history |
|---|---|
| 08.0.10a | This command was introduced. |