Configure MLD Static Adding
Network Requirements
- The whole network runs the IPv6 PIM-SM protocol.
- Receiver is one receiver of the Device stub network.
- Run MLDv2 between Device and the stub network.
- Device interface vlan3 adds to multicast group FF1E::1 statically.
Network Topology
Figure 9-2 Networking of configuring MLD static adding
Configuration Steps
Step 1: Configure VLAN, and add the port to the corresponding VLAN (omitted).
Step 2: Configure the IPv6 address of the interface (omitted).
Step 3: Globally enable the IPv6 multicast forwarding, enable the multicast protocol IPv6 PIM-SM on the interface. Enable MLD on the interface of connecting the Receiver.
#Configure Device.
Globally enable the IPv6 multicast forwarding, enable the multicast protocol IPv6 PIM-SM on the related interfaces, and enable MLD on the interface of connecting Receiver.
Device#configure terminal
Device(config)#ipv6 multicast-routing
Device(config)#interface vlan2
Device(config-if-vlan2)#ipv6 pim sparse-mode
Device(config-if-vlan2)#exit
Device(config)#interface vlan3
Device(config-if-vlan3)#ipv6 pim sparse-mode
Device(config-if-vlan3)#ipv6 mld enable
Device(config-if-vlan3)#exit
|
#View the MLD information of Device interface vlan3.
Device#show ipv6 mld interface vlan3
Interface vlan3 (Index 23)
MLD Enabled, Active
Querier: fe80::201:2ff:fe03:406 (Self)
Default version: 2
Querier parameter:
Query interval is 125 seconds
Querier timeout is 255 seconds
Query response time is 10 seconds
Last member query response interval is 1 seconds
Last member query count is 2
Group Membership interval is 260 seconds
Robustness variable is 2
Step 4: Device interface vlan3 adds to multicast group FF1E::1 statically.
#Configure Device.
Device(config)#interface vlan3
Device(config-if-vlan3)#ipv6 mld static-group ff1e::1
Device(config-if-vlan3)#exit
|
Step 5: Check the result.
#Source sends the multicast packet with multicast group FF1E::1.
#View the multicast member table of Device.
Device#show ipv6 mld groups
MLD Static Group Membership
Total 1 Static Groups
Group Source Interface
ff1e::1 :: vlan3
#View the multicast route table of Device.
Device#show ipv6 pim mroute
IP Multicast Routing Table:
PIM6 VRF Name: Default
Total 0 (*,*,RP) entry
Total 1 (*,G) entry
Total 1 (S,G) entry
Total 1 (S,G,rpt) entry
Total 0 FCR entry
Up timer/Expiry timer
(*, ff1e::1)
Up time: 00:01:06
RP: ::
RPF nbr: ::
RPF idx: None
Flags:
Upstream State: NOT JOINED
Local interface list:
Vlan3
Joined interface list:
Asserted interface list:
(1000::a, ff1e::1)
Up time: 00:00:04
KAT time: 00:03:26
RPF nbr: ::
RPF idx: None
SPT bit: TRUE
Flags:
JOIN DESIRED COULD REGISTER
Upstream State: JOINED
Local interface list: Joined
interface list: register_vif0
Asserted interface list:
Outgoing interface list: register_vif0
vlan3
Packet count 1
(1000::a, ff1e::1, rpt)
Up time: 00:00:04
RP: ::
Flags:
RPT JOIN DESIRED
RPF SGRPT XG EQUAL
Upstream State: NOT PRUNED
Local interface list:
Pruned interface list:
Outgoing interface list:
#Receiver can receive the multicast packet with multicast group FF1E::1 sent by Source.