Network diagram, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 75

Advertising
background image

4-22

Network diagram

Figure 4-3

Network diagram for multicast configuration (in IGMP snooping mode)

ONU

OLT

OLT3/0/1

POS

User1

UNI1

UNI2

User2

Eth2/0/1

Multicast Source

Configuration procedure

# Map the multicast addresses to multicast VLANs.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast vlan-id 1002 dest-ip 225.1.2.1 to 225.1.2.255

[Sysname-ftth] multicast vlan-id 1003 dest-ip 225.1.3.1 to 225.1.3.255

[Sysname-ftth] quit

#

Enable IGMP snooping globally.

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

# Enable IGMP snooping in VLAN 1002 and VLAN 1003.

[Sysname] vlan 1002

[Sysname-vlan1002] igmp-snooping enable

[Sysname-vlan1002] quit

[Sysname] vlan 1003

[Sysname-vlan1003] igmp-snooping enable

[Sysname-vlan1003] quit

# Configure the multicast mode of the ONU as IGMP snooping.

[Sysname-Onu3/0/1:1] multicast-mode igmp-snooping

# Assign UNI 1 to multicast VLAN 1002 and UNI 2 to multicast VLAN 1003, and configure the ONU as
a Trunk port (to allow the packets of all the VLANs to pass through the port).

[Sysname-Onu3/0/1:1] uni 1 multicast vlan 1002

[Sysname-Onu3/0/1:1] uni 2 multicast vlan 1003

[Sysname-Onu3/0/1:1] port link-type trunk

# Configure UNI 1 and UNI 2 to remove the multicast VLAN tags from downlink multicast packets.

[Sysname-Onu3/0/1:1] uni 1 multicast-strip-tag enable

[Sysname-Onu3/0/1:1] uni 2 multicast-strip-tag enable

[Sysname-Onu3/0/1:1] quit

# Configure the link type of OLT 3/0/1 as hybrid, allow the packets of VLAN 1002 and VLAN 1003 to
pass through OLT 3/0/1, and add tags to the VLAN 1002 and VLAN 1003 packets sent by OLT 3/0/1.

[Sysname] interface olt 3/0/1

Advertising