beautypg.com

Verifying the configuration – H3C Technologies H3C S12500-X Series Switches User Manual

Page 135

background image

125

[SwitchA-vlan100] quit

# Configure Ten-GigabitEthernet 1/0/3 as a static router port.

[SwitchA] interface ten-gigabitethernet 1/0/3

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

[SwitchA-Ten-GigabitEthernet1/0/3] quit

4.

Configure Switch B:
# Enable MLD snooping globally.

system-view

[SwitchB] mld-snooping

[SwitchB-mld-snooping] quit

# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 and Ten-GigabitEthernet 1/0/2 to the
VLAN, and enable MLD snooping for the VLAN.

[SwitchB] vlan 100

[SwitchB-vlan100] port ten-gigabitethernet 1/0/1 ten-gigabitethernet 1/0/2

[SwitchB-vlan100] mld-snooping enable

[SwitchB-vlan100] quit

5.

Configure Switch C:
# Enable MLD snooping globally.

system-view

[SwitchC] mld-snooping

[SwitchC-mld-snooping] quit

# Create VLAN 100, assign Ten-GigabitEthernet 1/0/1 through Ten-GigabitEthernet 1/0/5 to

the VLAN, and enable MLD snooping for the VLAN.

[SwitchC] vlan 100

[SwitchC-vlan100] port ten-gigabitethernet 1/0/1 to ten-gigabitethernet 1/0/5

[SwitchC-vlan100] mld-snooping enable

[SwitchC-vlan100] quit

# Configure Ten-GigabitEthernet 1/0/3 as a static member port for the IPv6 multicast group
FF1E::101.

[SwitchC] interface ten-gigabitethernet 1/0/3

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

[SwitchC-Ten-GigabitEthernet1/0/3] quit

# Configure Ten-GigabitEthernet 1/0/5 as a static member port for the IPv6 multicast group
FF1E::101.

[SwitchC] interface ten-gigabitethernet 1/0/5

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

[SwitchC-Ten-GigabitEthernet1/0/5] quit

Verifying the configuration

# Display information about the static router ports in VLAN 100 on Switch A.

[SwitchA] display mld-snooping static-router-port vlan 100

VLAN 100:

Router slots (1 in total):

1

Router ports (1 in total):

XGE1/0/3