H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 340

Advertising
background image

29-22

# Configure GigabitEthernet 0/0/3 to be a static router port.

[AC] interface GigabitEthernet 0/0/3

[AC-GigabitEthernet0/0/3] igmp-snooping static-router-port vlan 100

[AC-GigabitEthernet0/0/3] quit

4) Configure Switch A

# Enable IGMP Snooping globally.

<Switch A> system-view

[Switch A] igmp-snooping

[Switch A-igmp-snooping] quit

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

[Switch A] vlan 100

[Switch A-vlan100] port GigabitEthernet 0/0/1 GigabitEthernet 0/0/2

[Switch A-vlan100] igmp-snooping enable

[Switch A-vlan100] quit

5) Configure Switch B

# Enable IGMP Snooping globally.

<Switch B> system-view

[Switch B] igmp-snooping

[Switch B-igmp-snooping] quit

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

[Switch B] vlan 100

[Switch B-vlan100] port GigabitEthernet 0/0/1 to GigabitEthernet 0/0/5

[Switch B-vlan100] igmp-snooping enable

[Switch B-vlan100] quit

6) 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 2 port.

GE0/0/1 (D) ( 00:01:30 )

GE0/0/3 (S)

IP group(s):the following ip group(s) match to one mac group.

IP group address:224.1.1.1

(0.0.0.0, 224.1.1.1):

Attribute: Host Port

Host port(s):total 1 port.

GE0/0/2 (D) ( 00:03:23 )

Advertising