beautypg.com

Configuration procedure – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 337

background image

29-19

Configuration procedure

1) Configure the IP address of each interface

Configure an IP address and subnet mask for each interface as per

Figure 29-3

. The detailed

configuration steps are omitted.

2) Configure Router

# Enable IP multicast routing, enable PIM-DM on each interface, and enable IGMPv2 on
GigabitEthernet 0/0/1.

system-view

[Router] multicast routing-enable

[Router] interface GigabitEthernet 0/0/1

[Router-GigabitEthernet0/0/1] igmp enable

[Router-GigabitEthernet0/0/1] pim dm

[Router-GigabitEthernet0/0/1] quit

[Router] interface GigabitEthernet 0/0/2

[Router-GigabitEthernet0/0/2] pim dm

[Router-GigabitEthernet0/0/2] quit

3) Configure

AC

# Enable IGMP Snooping globally.

system-view

[AC] igmp-snooping

[AC-igmp-snooping] quit

# Create VLAN 100, assign GigabitEthernet 0/0/1 through GigabitEthernet 0/0/4 to this VLAN, and
enable IGMP Snooping in the VLAN.

[AC] vlan 100

[AC-vlan100] port GigabitEthernet 0/0/1 to GigabitEthernet 0/0/4

[AC-vlan100] igmp-snooping enable

[AC-vlan100] quit

# Enable simulated host joining on GigabitEthernet 0/0/3 and GigabitEthernet 0/0/4 respectively.

[AC] interface GigabitEthernet 0/0/3

[AC-GigabitEthernet0/0/3] igmp-snooping host-join 224.1.1.1 vlan 100

[AC-GigabitEthernet0/0/3] quit

[AC] interface GigabitEthernet 0/0/4

[AC-GigabitEthernet0/0/4] igmp-snooping host-join 224.1.1.1 vlan 100

[AC-GigabitEthernet0/0/4] quit

4) Verify the configuration

# View the detailed information about IGMP Snooping multicast groups in VLAN 100 on AC.

[AC] display igmp-snooping group vlan 100 verbose

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

Port flags: D-Dynamic port, S-Static port, A-Aggregation port, C-Copy port

Subvlan flags: R-Real VLAN, C-Copy VLAN

Vlan(id):100.

Total 1 IP Group(s).

Total 1 IP Source(s).

Total 1 MAC Group(s).

Router port(s):total 1 port.