Tp-Link T1700G-28TQ V2 — layer 2 Multicast Configuration Guide for Network Switches [412/772]

Превью страниц Страница 412 / 772
Tp-Link T1700G-28TQ V2 [412/772] Using the cli
Configuring Layer 2 Multicast Configuration Examples
Configuration Guide
387
5.4.5 Using the CLI
1) Enable IGMP Snooping Globally.
Switch#configure
Switch(config)#ip igmp snooping
2) Enable IGMP Snooping on port 1/0/1-4.
Switch(config)#interface range gigabitEthernet 1/0/1-4
Switch(config-if-range)#ip igmp snooping
Switch(config-if-range)#exit
3) Create VLAN 10.
Switch(config)#vlan 10
Switch(config-vlan)#name vlan10
Switch(config-vlan)#exit
4) Add port 1/0/1-3 to VLAN 10 and set the link type as untagged. Add port 1/0/4 to VLAN
10 and set the link type as tagged.
Switch(config)#interface range gigabitEthernet 1/0/1-3
Switch(config-if-range)#switchport general allowed vlan 10 untagged
Switch(config-if-range)#exit
Switch(config)#interface gigabitEthernet 1/0/4
Switch(config-if)#switchport general allowed vlan 10 tagged
Switch(config-if)#exit
5) Set the PVID of port 1/0/1-4 as 10.
Switch(config)#interface range gigabitEthernet 1/0/1-4
Switch(config-if-range)#switchport pvid 10
Switch(config-if-range)#exit
6) Enable IGMP Snooping in VLAN 10.
Switch(config)#ip igmp snooping vlan-config 10
Switch(config-if)#exit
7) Create Profile 1, configure the mode as permit, and add an IP range with both start IP
and end IP being 225.0.0.1.
Switch(config)#ip igmp profile 1
Switch(config-igmp-profile)#permit

Содержание

3073

Learn how to configure Layer 2 multicast with IGMP snooping and VLANs on network switches. Step-by-step examples for effective network management.