H3C Technologies H3C S3100 Series Switches User Manual

Page 331

Advertising
background image

3-24

# Enable MLD snooping globally.

<SwitchA> system-view

[SwitchA] mld-snooping

[SwitchA-mld-snooping] quit

# Create VLAN 100, assign Ethernet 1/0/1 through Ethernet 1/0/3 to this VLAN, and enable MLD

snooping in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port ethernet 1/0/1 to ethernet 1/0/3

[SwitchA-vlan100] mld-snooping enable

[SwitchA-vlan100] quit

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

[SwitchA] interface ethernet 1/0/3

[SwitchA-Ethernet1/0/3] mld-snooping static-router-port vlan 100

[SwitchA-Ethernet1/0/3] quit

4) Configure Switch B

# Enable MLD snooping globally.

<SwitchB> system-view

[SwitchB] mld-snooping

[SwitchB-mld-snooping] quit

# Create VLAN 100, assign Ethernet 1/0/1 and Ethernet 1/0/2 to this VLAN, and enable MLD snooping

in the VLAN.

[SwitchB] vlan 100

[SwitchB-vlan100] port ethernet 1/0/1 ethernet 1/0/2

[SwitchB-vlan100] mld-snooping enable

[SwitchB-vlan100] quit

5) Configure Switch C

# Enable MLD snooping globally.

<SwitchC> system-view

[SwitchC] mld-snooping

[SwitchC-mld-snooping] quit

# Create VLAN 100, assign Ethernet 1/0/1 through Ethernet 1/0/5 to this VLAN, and enable MLD

snooping in the VLAN.

[SwitchC] vlan 100

[SwitchC-vlan100] port ethernet 1/0/1 to ethernet 1/0/5

[SwitchC-vlan100] mld-snooping enable

[SwitchC-vlan100] quit

# Configure Ethernet 1/0/3 and Ethernet 1/0/5 as static member ports for IPv6 multicast group

FF1E::101.

[SwitchC] interface ethernet 1/0/3

[SwitchC-Ethernet1/0/3] mld-snooping static-group ff1e::101 vlan 100

[SwitchC-Ethernet1/0/3] quit

[SwitchC] interface ethernet 1/5

[SwitchC-Ethernet1/0/5] mld-snooping static-group ff1e::101 vlan 100

[SwitchC-Ethernet1/0/5] quit

6) Verify the configuration

# Display the detailed MLD snooping multicast group information in VLAN 100 on Switch A.

[SwitchA] display mld-snooping group vlan 100 verbose

Advertising