H3c-technologies H3C S3100V2 Series Switches Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 111
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
56
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] pim dm
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim dm
[RouterA-Ethernet1/0/2] igmp enable
3. Configure Switch A
# Enable IGMP snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 10, assign Ethernet1/0/1 to VLAN 10, and enable IGMP snooping in this VLAN.
[SwitchA] vlan 10
[SwitchA-vlan10] port ethernet 1/0/1
[SwitchA-vlan10] igmp-snooping enable
[SwitchA-vlan10] quit
# Create VLAN 2 and enable IGMP snooping in the VLAN.
[SwitchA] vlan 2
[SwitchA-vlan2] igmp-snooping enable
[SwitchA-vlan2] quit
The configuration for VLAN 3 and VLAN 4 is similar. The detailed configuration steps are omitted.
# Configure Ethernet1/0/2 as a hybrid port. Configure VLAN 2 as the default VLAN. Configure
Ethernet1/0/2 to permit packets of VLAN 2 and VLAN 10 to pass and untag the packets when
forwarding them.
[SwitchA] interface ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type hybrid
[SwitchA-Ethernet1/0/2] port hybrid pvid vlan 2
[SwitchA-Ethernet1/0/2] port hybrid vlan 2 untagged
[SwitchA-Ethernet1/0/2] port hybrid vlan 10 untagged
[SwitchA-Ethernet1/0/2] quit
The configuration for Ethernet1/0/3 and Ethernet1/0/4 is similar. The detailed configuration steps are
omitted.
# Configure VLAN 10 as a multicast VLAN.
[SwitchA] multicast-vlan 10
# Assign Ethernet1/0/2 and Ethernet1/0/3 to VLAN 10.
[SwitchA-mvlan-10] port ethernet 1/0/2 to ethernet 1/0/3
[SwitchA-mvlan-10] quit
# Assign Ethernet1/0/4 to VLAN 10.
[SwitchA] interface ethernet 1/0/4
[SwitchA-Ethernet1/0/4] port multicast-vlan 10
[SwitchA-Ethernet1/0/4] quit
4. Verify the configuration
# View the multicast VLAN information on Switch A.
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 110 111

Komentáře k této Příručce

Žádné komentáře