3com 8807 Guia Do Utilizador

Página de 883
Multicast VLAN Configuration Example
433
[Switch A-Vlan-interface2] pim dm
 
[Switch A-Vlan-interface2] quit 
# Configure the IP address of the VLAN 10 interface to 168.20.1.1. Enable the 
PIM-DM and IGMP protocols.
[Switch A] interface vlan-interface 10
 
[Switch A-Vlan-interface10] ip address 168.20.1.1 255.255.255.0
 
[Switch A-Vlan-interface10] pim dm
 
[Switch A-Vlan-interface10]igmp enable
 
[Switch A-Vlan-interface10] quit 
# Define Ethernet 1/1/10 as a trunk port and add this port to VLAN 10.
[Switch A]interface Ethernet1/1/10
 
[Switch A-Ethernet1/1/10]port link-type trunk
 
[Switch A-Ethernet1/1/10]port trunk permit vlan 10 
Configure Switch B
# Enable IGMP Snooping.
<Switch B> system-view
 
System View: return to User View with Ctrl+Z.
 
[Switch B] igmp-snooping enable 
# Enable IGMP-Snooping on VLAN 2 and VLAN 3.
[Switch B] vlan 2
 
[Switch B-vlan 2] igmp-snooping enable
 
[Switch B-vlan 2]quit
 
[Switch B] vlan 3
 
[Switch B-vlan 3] igmp-snooping enable 
# Configure VLAN 10 as multicast VLAN. Enable IGMP Snooping.
[Switch B] vlan 10
 
[Switch B-vlan10] igmp-snooping enable
 
[Switch B-vlan10] service-type multicast
 
[Switch B-vlan10] quit 
# Define Ethernet 1/1/10 as trunk port. Add the port to VLAN 10.
[Switch B] interface Ethernet 1/1/10
 
[Switch B-Ethernet 1/1/10] port link-type trunk
 
[Switch B-Ethernet 1/1/10] port trunk vlan 10
 
[Switch B-Ethernet 1/1/10] quit 
# Define Ethernet 1/1/1 as hybrid port. Add the port to VLAN 2 and VLAN 10. 
Make the port carry no VLAN label when it transmits packets of VLAN 2 and VLAN 
10. Set the default VLAN ID of the port to VLAN 2.
[Switch B] interface Ethernet 1/1/1
 
[Switch B-Ethernet 1/1/1] port link-type hybrid
 
[Switch B-Ethernet 1/1/1] port hybrid vlan 2 10 untagged
 
[Switch B-Ethernet 1/1/1] port hybrid pvid vlan 2
 
[Switch B-Ethernet 1/1/1] quit