多平台统一管理软件接口,如何实现多平台统一管理软件接口
550
2022-09-18
华为设备配置IGMP SSM Mapping功能(华为设备配置密码策略)
1. 关闭stp功能,避免三层业务不能正常运行
[LSW1]stp disable
[LSW2]stp disable
[LSW3]stp disable
[LSW4]stp disable
2. 配置各交换机接口IP地址
[LSW1]vlan batch 10 11 40
[LSW1-GigabitEthernet0/0/1]port link-type hybrid
[LSW1-GigabitEthernet0/0/1]port hybrid untagged vlan 11
[LSW1-GigabitEthernet0/0/1]port hybrid pvid vlan 11
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2]port trunk allow-pass vlan 10
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-GigabitEthernet0/0/4]port trunk allow-pass vlan 40
[LSW1-Vlanif10]ip add 10.1.1.1 24
[LSW1-Vlanif11]ip add 192.168.1.1 24
[LSW1-Vlanif40]ip add 10.1.4.1 24
[LSW2]vlan batch 10 12 20
[LSW2-GigabitEthernet0/0/1]port link-type trunk
[LSW2-GigabitEthernet0/0/1]port trunk allow-pass vlan 10
[LSW2-GigabitEthernet0/0/3]port link-type trunk
[LSW2-GigabitEthernet0/0/3]port trunk allow-pass vlan 20
[LSW2-GigabitEthernet0/0/2]port link-type hybrid
[LSW2-GigabitEthernet0/0/2]port hybrid untagged vlan 12
[LSW2-GigabitEthernet0/0/2]port hybrid pvid vlan 12
[LSW2-Vlanif10]ip add 10.1.1.2 24
[LSW2-Vlanif20]ip add 10.1.2.2 24
[LSW2-Vlanif12]ip add 192.168.2.2 24
[LSW3]vlan batch 13 20 30
[LSW3-GigabitEthernet0/0/1]port link-type hybrid
[LSW3-GigabitEthernet0/0/1]port hybrid untagged vlan 13
[LSW3-GigabitEthernet0/0/1]port hybrid pvid vlan 13
[LSW3-GigabitEthernet0/0/2]port link-type trunk
[LSW3-GigabitEthernet0/0/2]port trunk allow-pass vlan 20
[LSW3-GigabitEthernet0/0/4]port link-type trunk
[LSW3-GigabitEthernet0/0/4]port trunk allow-pass vlan 30
[LSW3-Vlanif13]ip add 192.168.3.3 24
[LSW3-Vlanif20]ip add 10.1.2.3 24
[LSW3-Vlanif30]ip add 10.1.3.3 24
[LSW4]vlan batch 14 30 40
[LSW4-GigabitEthernet0/0/1]port link-type trunk
[LSW4-GigabitEthernet0/0/1]port trunk allow-pass vlan 40
[LSW4-GigabitEthernet0/0/3]port link-type trunk
[LSW4-GigabitEthernet0/0/3]port trunk allow-pass vlan 30
[LSW4-GigabitEthernet0/0/2]port link-type hybrid
[LSW4-GigabitEthernet0/0/2]port hybrid untagged vlan 14
[LSW4-GigabitEthernet0/0/2]port hybrid pvid vlan 14
[LSW4-Vlanif30]ip add 10.1.3.4 24
[LSW4-Vlanif40]ip add 10.1.4.4 24
[LSW4-Vlanif14]ip add 192.168.4.4 24
3. 配置单播路由协议
[LSW1]ospf 1
[LSW1-ospf-1]area 0
[LSW1-ospf-1-area-0.0.0.0]network 10.1.4.0 0.0.0.255
[LSW1-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[LSW1-ospf-1-area-0.0.0.0]network 192.168.1.0 0.0.0.255
[LSW2]ospf 1
[LSW2-ospf-1]area 0
[LSW2-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[LSW2-ospf-1-area-0.0.0.0]network 10.1.1.0 0.0.0.255
[LSW2-ospf-1-area-0.0.0.0]network 192.168.2.0 0.0.0.255
[LSW3]ospf 1
[LSW3-ospf-1]area 0
[LSW3-ospf-1-area-0.0.0.0]network 10.1.2.0 0.0.0.255
[LSW3-ospf-1-area-0.0.0.0]network 10.1.3.0 0.0.0.255
[LSW3-ospf-1-area-0.0.0.0]network 192.168.3.0 0.0.0.255
[LSW4]ospf 1
[LSW4-ospf-1]area 0
[LSW4-ospf-1-area-0.0.0.0]network 10.1.3.0 0.0.0.255
[LSW4-ospf-1-area-0.0.0.0]network 10.1.4.0 0.0.0.255
[LSW4-ospf-1-area-0.0.0.0]network 192.168.4.0 0.0.0.255
4. 使能IP组播路由功能,并在所有接口上使能PIM-SM功能
[LSW1]multicast routing-enable
[LSW1-Vlanif10]pim sm
[LSW1-Vlanif40]pim sm
[LSW1-Vlanif11]pim sm
[LSW2]multicast routing-enable
[LSW2-Vlanif10]pim sm
[LSW2-Vlanif20]pim sm
[LSW2-Vlanif12]pim sm
[LSW3]multicast routing-enable
[LSW3-Vlanif13]pim sm
[LSW3-Vlanif20]pim sm
[LSW3-Vlanif30]pim sm
[LSW4]multicast routing-enable
[LSW4-Vlanif14]pim sm
[LSW4-Vlanif30]pim sm
[LSW4-Vlanif40]pim sm
5. 配置LSW4的VLANIF40为C-BSR和C-RP
[LSW4]pim
[LSW4-pim]c-bsr Vlanif 40
[LSW4-pim]c-rp Vlanif 40
6. 在LSW4的成员端接口上使能IGMP,配置版本为IGMPv3
[LSW4-Vlanif14]igmp enable
[LSW4-Vlanif14]igmp version 3
7. 使能成员端接口的IGMP SSM Mapping功能
[LSW4-Vlanif14]igmp ssm-mapping enable
8. 在所有交换机上配置SSM组播组地址范围:232.1.1.0/24
[LSW1]acl 2000
[LSW1-acl-basic-2000]rule permit source 232.1.1.0 0.0.0.255
[LSW1]pim
[LSW1-pim]ssm-policy 2000
[LSW2]acl 2000
[LSW2-acl-basic-2000]rule permit source 232.1.1.0 0.0.0.255
[LSW2]pim
[LSW2-pim]ssm-policy 2000
[LSW3]acl 2000
[LSW3-acl-basic-2000]rule permit source 232.1.1.0 0.0.0.255
[LSW3]pim
[LSW3-pim]ssm-policy 2000
[LSW4]acl 2000
[LSW4-acl-basic-2000]rule permit source 232.1.1.0 0.0.0.255
[LSW4]pim
[LSW4-pim]ssm-policy 2000
9. 在连接主机的LSW4上配置IGMP SSM Mapping的映射规则
[LSW4]igmp
[LSW4-igmp]ssm-mapping 232.1.1.0 24 192.168.1.10
[LSW4-igmp]ssm-mapping 232.1.1.0 24 192.168.3.30
10. 验证配置
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~