當前位置:網站首頁>華為設備配置基於用戶VLAN的組播VLAN多對多功能

華為設備配置基於用戶VLAN的組播VLAN多對多功能

2022-05-15 02:03:48Tony_long7483

在這裏插入圖片描述

  1. 使能IGMP Snooping
    [LSW1]igmp-snooping enable
  2. 在用戶VLAN下使能IGMP Snooping功能,並在用戶VLAN下使能組播流觸發功能
    [LSW1]vlan 100
    [LSW1-vlan100]igmp-snooping enable
    [LSW1-vlan100]multicast flow-trigger enable
  3. 創建組播和組播VLAN,並在組播VLAN下使能IGMP Snooping功能和IGMP Snooping查詢器功能
    [LSW1]vlan 10
    [LSW1-vlan10]igmp-snooping enable
    [LSW1-vlan10]igmp-snooping querier enable
    [LSW1-vlan10]multicast-vlan enable
    [LSW1-vlan10]vlan 20
    [LSW1-vlan20]igmp-snooping enable
    [LSW1-vlan20]multicast-vlan enable
    [LSW1-vlan20]igmp-snooping querier enable
  4. 用戶VLAN加入組播VLAN,並且在組播VLAN下配置靜態組播流
    [LSW1]vlan 10
    [LSW1-vlan10]multicast-vlan user-vlan 100
    [LSW1-vlan10]multicast static-flow 225.1.1.1
    [LSW1-vlan10]vlan 20
    [LSW1-vlan20]multicast-vlan user-vlan 100
    [LSW1-vlan20]multicast static-flow 225.1.2.1
  5. 接口加入VLAN
    [LSW1-GigabitEthernet0/0/1]port link-type hybrid
    [LSW1-GigabitEthernet0/0/1]port hybrid untagged vlan 10
    [LSW1-GigabitEthernet0/0/1]port hybrid pvid vlan 10
    [LSW1-GigabitEthernet0/0/2]port link-type hybrid
    [LSW1-GigabitEthernet0/0/2]port hybrid pvid vlan 20
    [LSW1-GigabitEthernet0/0/2]port hybrid untagged vlan 20
    [LSW1-GigabitEthernet0/0/3]port link-type hybrid
    [LSW1-GigabitEthernet0/0/3]port hybrid untagged vlan 100
    [LSW1-GigabitEthernet0/0/3]port hybrid pvid vlan 100
  6. 驗證配置
    在這裏插入圖片描述

版權聲明
本文為[Tony_long7483]所創,轉載請帶上原文鏈接,感謝
https://cht.chowdera.com/2022/135/202205142057507301.html

隨機推薦