H3c-technologies H3C S3100V2 Series Switches Manual do Utilizador

Consulte online ou descarregue Manual do Utilizador para Routers H3c-technologies H3C S3100V2 Series Switches. H3C Technologies H3C S3100V2 Series Switches User Manual Manual do Utilizador

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 0
H3C S3100V2 Switch Series
IP Multicast Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 5103
Document version: 6W100-20110620
Vista de página 0
1 2 3 4 5 6 ... 110 111

Resumo do Conteúdo

Página 1 - H3C S3100V2 Switch Series

H3C S3100V2 Switch Series IP Multicast Configuration Guide Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software

Página 2

2 In unicast transmission, the traffic transmitted over the network is proportional to the number of hosts that need the information. If a large numbe

Página 3 - Preface

92 [SwitchA] domain domain1 [SwitchA-isp-domian1] authentication lan-access radius-scheme scheme1 [SwitchA-isp-domian1] authorization lan-access radi

Página 4 - Obtaining documentation

93 # Create an ISP domain domain2; reference scheme2 for the authentication, authorization, and accounting for LAN users; specify domain2 as the defa

Página 5 - Documentation feedback

94 Host port(s):total 1 port(s). Eth1/0/3 The output shows that Ethernet 1/0/3 on Switch B has joined FF1E::101 but not FF1E::1

Página 6 - Contents

95 Analysis • The IPv6 ACL rule is incorrectly configured. • The IPv6 multicast group policy is not correctly applied. • The function of droppin

Página 7

96 IPv6 multicast VLAN configuration(available only on the S3100V2-EI) This chapter includes these sections: • Introduction to IPv6 multicast VLAN •

Página 8

97 Figure 30 Port-based IPv6 multicast VLAN After the configuration, upon receiving an MLD message on a user port, Switch A tags the message with t

Página 9 - Multicast overview

98 Configuration prerequisites Before you configure port-based IPv6 multicast VLAN, complete the following tasks: • Create VLANs as required • Ena

Página 10 - Multicast

99 To do... Use the command... Remarks Configure the specified VLAN as an IPv6 multicast VLAN and enter IPv6 multicast VLAN view multicast-vlan ipv

Página 11 - Features of multicast

100 • MLDv1 runs on Router A. MLDv1 snooping runs on Switch A. Router A acts as the MLD querier. • Switch A’s Ethernet 1/0/1 belongs to VLAN 10, E

Página 12 - Applications of multicast

101 [SwitchA] mld-snooping [SwitchA-mld-snooping] quit # Create VLAN 10, assign Ethernet 1/0/1 to VLAN 10, and enable MLD snooping in this VLAN. [Sw

Página 13 - Multicast architecture

3 Figure 3 Multicast transmission In Figure 3, Host B, Host D and Host E are receivers of the information. They must join the multicast group. The r

Página 14 - Multicast addresses

102 Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):10. Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router

Página 15 - 0 7 11 15 31

103 Index C D I M T C Configuring an IGMP snooping policy,27 Configuring an MLD snooping policy,73 Configuring basic functions of IGMP snooping,18 C

Página 16

4 For a better understanding of the multicast concept, you can compare multicast transmission with the transmission of TV programs. Table 1 An analog

Página 17 - Multicast protocols

5 Multicast models Multicast models—any-source multicast (ASM), source-filtered multicast (SFM), and source-specific multicast (SSM)—determines how th

Página 18 - Layer 2 multicast protocols

6 4. Multicast applications—A software system that supports multicast applications, such as video conferencing, must be installed on multicast sources

Página 19

7 Address Description 224.0.0.6 OSPF designated routers/backup designated routers 224.0.0.7 Shared Tree (ST) routers 224.0.0.8 ST hosts 224.0.0.9

Página 20 - IGMP snooping configuration

8 Bit Description T • When set to 0, it indicates that this address is an IPv6 multicast address permanently-assigned by IANA. • When set to 1, it i

Página 21 - IGMP snooping related ports

9 The most-significant four bits of a multicast IPv4 address are 1110, which indicates that this address is a multicast address. Only 23 bits of the r

Página 22 - How IGMP snooping works

10 Figure 8 Positions of Layer 3 multicast protocols 1. Multicast group management protocols Typically, the internet group management protocol (I

Página 23

11 Figure 9 Positions of Layer 2 multicast protocols SourceReceiver Receiver IPv4/IPv6 multicast packetsIGMP Snooping/MLD SnoopingMulticast VLAN/IPv6

Página 24 - IGMP snooping proxying

Copyright © 2011, Hangzhou H3C Technologies Co., Ltd. and its licensors All rights reserved No part of this manual may be reproduced or transmitted i

Página 25 - Protocols and standards

12 IGMP snooping configuration This chapter includes these sections: • IGMP snooping overview • IGMP snooping configuration task list • Displaying

Página 26 - Enabling IGMP snooping

13 • Reducing Layer 2 broadcast packets, saving network bandwidth • Enhancing the security of multicast traffic • Facilitating the implementation

Página 27

14 Aging timers for dynamic ports in IGMP snooping and related messages and actions Table 6 Aging timers for dynamic ports in IGMP snooping and relat

Página 28

15 • If no entry in the forwarding table exists for the reported group, the switch creates an entry, adds the port as a dynamic member port to the o

Página 29 - Configuring static ports

16 The switch removes the port from the outgoing port list of the entry in the forwarding table for that multicast group when the aging timer expires

Página 30

17 IGMP message Actions Report When receiving a report for a multicast group, the proxy looks up the multicast forwarding table for the entry for th

Página 31

18 Task Remarks Configuring the function of dropping unknown multicast data Optional Configuring IGMP report suppression Optional Configuring maxi

Página 32

19 NOTE: • Enable IGMP snooping globally before enable it in a VLAN. • When you enable IGMP snooping in a specified VLAN, this function takes e

Página 33

20 Configuring a static multicast MAC address entry in interface view Follow these steps to configure static multicast MAC address entries in interfa

Página 34

21 If multicast group memberships change frequently, set a relatively small value for the dynamic member port aging timer, and vice versa. Configuri

Página 35

Preface The H3C S3100V2 documentation set includes 9 configuration guides, which describe the software features for the S3100V2 Switch Series and guid

Página 36

22 To do... Use the command... Remarks Configure the port(s) as static router port(s) igmp-snooping static-router-port vlan vlan-id Required No s

Página 37

23 Configuring fast leave processing The fast leave processing feature allows the switch to process IGMP leave messages in a fast way. With the fast

Página 38

24 To solve these problems, disable that switch port from changing into a dynamic router port upon receiving an IGMP general query or a PIM Hello mes

Página 39

25 Follow these steps to enable IGMP snooping querier: To do... Use the command... Remarks Enter system view system-view — Enter VLAN view vlan

Página 40

26 Configuring IGMP queries and responses in a VLAN Follow these steps to configure IGMP queries and responses in a VLAN: To do... Use the command.

Página 41 - Command Reference

27 • Determine the source IP address for the IGMP reports sent by the proxy • Determine the source IP address for the IGMP leave messages sent by t

Página 42

28 Configuring a multicast group filter On an IGMP snooping–enabled switch, a multicast group filter enables the service provider to define restricti

Página 43 - 3. Configure Switch A

29 Configuring multicast source port filtering globally Follow these steps to configure multicast source port filtering globally: To do... Use the

Página 44

30 are attached to the Layer 2 device, the Layer 3 device directly connected with it will receive duplicate IGMP reports from these members. With th

Página 45

31 Configuring multicast group replacement For various reasons, the number of multicast groups that can be joined on the current switch or a port mig

Página 46 - 5. Configure Switch C

Convention Description &<1-n> The argument or keyword and argument combination before the ampersand (&) sign can be entered 1 to n times

Página 47

32 Configuring 802.1p precedence for IGMP messages globally Follow these steps to configure 802.1p precedence for IGMP messages globally: To do... U

Página 48

33 To do... Use the command... Remarks Return to system view quit — Enable the created user profile user-profile profile-name enable Required D

Página 49

34 IGMP snooping configuration examples Group policy and simulated joining configuration example Network requirements • As shown in Figure 13, Route

Página 50

35 [RouterA-Ethernet1/0/2] quit 3. Configure Switch A # Enable IGMP snooping and the function of dropping unknown multicast traffic globally. <S

Página 51

36 Attribute: Host Port Host port(s):total 2 port. Eth1/0/3 (D) ( 00:03:23 ) Eth1/0/4

Página 52

37 Figure 14 Network diagram for static port configuration Source1.1.1.1/24Router AIGMP querierEth1/0/110.1.1.1/24Switch ASwitch BSwitch CEth1/0/1Et

Página 53 - Configuration procedures

38 # Configure Ethernet 1/0/3 to be a static router port. [SwitchA] interface ethernet 1/0/3 [SwitchA-Ethernet1/0/3] igmp-snooping static-router-por

Página 54

39 Router port(s):total 2 port. Eth1/0/1 (D) ( 00:01:30 ) Eth1/0/3 (S) IP group(s):the

Página 55

40 IGMP snooping querier configuration example Network requirements • As shown in Figure 15, in a Layer 2–only network environment, two multicast so

Página 56

41 # Set the source IP address of IGMP general queries and group-specific queries to 192.168.1.1 in VLAN 100. [SwitchA-vlan100] igmp-snooping genera

Página 57 - Symptom

[Technical Support & Documents > Technical Documents] – Provides hardware installation, software upgrading, and software feature configuration

Página 58

42 Configure IGMP snooping proxying on Switch A, enabling the switch to forward IGMP reports and leave messages on behalf of attached hosts and to re

Página 59 - Multicast VLAN configuration

43 [SwitchA-vlan100] quit 4. Verify the configuration After the configuration is completed, Host A and Host B send IGMP join messages for group 224.

Página 60

44 Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port Subvlan flags: R

Página 61

45 Figure 17 Network diagram for multicast source/user control policy configuration Switch BReceiverHost AHost B2.1.1.1/24Eth1/0/2Eth1/0/3Eth1/0/1Sou

Página 62

46 [SwitchA] interface vlan-interface 104 [SwitchA-Vlan-interface104] pim dm [SwitchA-Vlan-interface104] igmp enable [SwitchA-Vlan-interface104] quit

Página 63 - Network diagram

47 [SwitchA-isp-domian1] authentication lan-access radius-scheme scheme1 [SwitchA-isp-domian1] authorization lan-access radius-scheme scheme1 [Switch

Página 64

48 [SwitchB] domain domain2 [SwitchB-isp-domian2] authentication lan-access radius-scheme scheme2 [SwitchB-isp-domian2] authorization lan-access radi

Página 65

49 The output shows that Ethernet 1/0/3 on Switch B has joined 224.1.1.1 but not 224.1.1.2. Assume that Source 2 starts sending multicast traffic to

Página 66 - MLD snooping overview

50 Analysis • The ACL rule is incorrectly configured. • The multicast group policy is not correctly applied. • The function of dropping unknown

Página 67 - MLD snooping related ports

51 Multicast VLAN configuration This chapter includes these sections: • Introduction to multicast VLAN • Multicast VLAN configuration task list •

Página 68 - How MLD snooping works

i Contents Multicast overview ························································································································

Página 69 - MLD snooping proxying

52 Figure 19 Port-based multicast VLAN After the configuration, upon receiving an IGMP message on a user port, Switch A tags the message with the m

Página 70

53 Configuration prerequisites Before you configure port-based multicast VLAN, complete the following tasks: • Create VLANs as required • Enable I

Página 71

54 To do... Use the command... Remarks Enter system view system-view — Configure the specified VLAN as a multicast VLAN and enter multicast VLAN v

Página 72 - Enabling MLD snooping

55 Multicast VLAN configuration examples Port-based multicast VLAN configuration Network requirements • As shown in Figure 20, Router A connects to

Página 73

56 <RouterA> system-view [RouterA] multicast routing-enable [RouterA] interface ethernet 1/0/1 [RouterA-Ethernet1/0/1] pim dm [RouterA-Ethernet

Página 74

57 [SwitchA] display multicast-vlan Total 1 multicast-vlan(s) Multicast vlan 10 port list: Eth1/0/2 Eth1/0/3

Página 75

58 MLD snooping configuration(available only on the S3100V2-EI) This chapter includes these sections: • MLD snooping overview • MLD snooping config

Página 76

59 MLD snooping forwards multicast data to only the receivers that require it at Layer 2. It brings the following advantages: • Reducing Layer 2 bro

Página 77

60 Aging timers for dynamic ports in MLD snooping Table 8 Aging timers for dynamic ports in MLD snooping and related messages and actions Timer Desc

Página 78

61 • If no forwarding table entry exists for the reported IPv6 multicast group, the switch creates an entry, adds the port as a dynamic member port

Página 79

ii Configuring 802.1p precedence for IGMP messages ······················································································ 31 Configuri

Página 80

62 NOTE: Even though an MLD snooping proxy is a host from the perspective of its upstream device, the MLD membership report suppression mechanism

Página 81

63 Protocols and standards • RFC 4541, Considerations for Internet Group Management Protocol (IGMP) and Multicast Listener Discovery (MLD) Snooping

Página 82

64 NOTE: • In MLD-snooping view, the configuration is effective for all VLANs. In VLAN view, the configuration is effective on only the ports that

Página 83

65 Configuring the version of MLD snooping By configuring the MLD snooping version, you actually configure the version of MLD messages that MLD snoop

Página 84

66 To do... Use the command... Remarks Enter Ethernet interface/Layer 2 aggregate interface view or port group view interface interface-type interf

Página 85

67 Configuring aging timers for dynamic ports globally Follow these steps to configure aging timers for dynamic ports globally: To do... Use the co

Página 86

68 NOTE: • An IPv6 static (S, G) join takes effect only if a valid IPv6 multicast source address is specified and MLDsnooping version 2 is current

Página 87

69 Configuring fast leave processing The fast leave processing feature enables the switch to process MLD done messages quickly. When the fast leave p

Página 88 - 2. Configure Router A

70 To solve these problems, disable that switch port from changing into a dynamic router port upon receiving an MLD general query or IPv6 PIM Hello m

Página 89

71 To do... Use the command... Remarks Enter VLAN view vlan vlan-id — Enable the MLD snooping querier mld-snooping querier Required Disabled by

Página 90

iii Configuring an IPv6 multicast group filter ·······································································································

Página 91

72 To do... Use the command... Remarks Configure MLD query interval mld-snooping query-interval interval Optional 125 seconds by default Configur

Página 92

73 Enabling MLD snooping proxying The MLD snooping proxying function works on a per-VLAN basis. After you enable the function in a VLAN, the device w

Página 93

74 Configuring an IPv6 multicast group filter On a MLD snooping-enabled switch, the configuration of an IPv6 multicast group filter enables the servi

Página 94

75 Follow these steps to enable dropping unknown IPv6 multicast data globally: To do... Use the command... Remarks Enter system view system-view

Página 95

76 NOTE: • When the number of IPv6 multicast groups that can be joined on a port reaches the maximum numberconfigured, the system deletes all the

Página 96

77 CAUTION: Be sure to configure the maximum number of IPv6 multicast groups allowed on a port before enabling IPv6multicast group replacement. Othe

Página 97

78 Follow these steps to configure a multicast user control policy To do... Use the command... Remarks Enter system view system-view — Create a u

Página 98

79 NOTE: • The reset mld-snooping group command works on only an MLD snooping–enabled VLAN, but cannotwork on a VLAN with MLD enabled on its VLAN

Página 99

80 2. Configure Router A # Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLDv1 on Ethernet 1/0/1. <RouterA>

Página 100 - 3. Configure Switch B

81 Port flags: D-Dynamic port, S-Static port, C-Copy port Subvlan flags: R-Real VLAN, C-Copy VLAN Vlan(id):100. Total 1 IP Group(s). To

Página 101 - 5. Verify the configuration

1 Multicast overview NOTE: This document focuses on the IP multicast technology and device operations. Unless otherwise stated, theterm multicast i

Página 102 - Troubleshooting MLD snooping

82 Figure 25 Network diagram for static port configuration Source1::1/64Router AMLD querierEth1/0/12001::1/64Switch ASwitch BSwitch CEth1/0/1Eth1/0/

Página 103 - Solution

83 [SwitchA-vlan100] quit # Configure Ethernet 1/0/3 to be a static router port. [SwitchA] interface ethernet 1/0/3 [SwitchA-Ethernet1/0/3] mld-snoo

Página 104

84 Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Router port(s):total 2 port(s). Eth1/0/1

Página 105

85 MLD snooping querier configuration example Network requirements • As shown in Figure 26, in a Layer-2-only network environment, two multicast sou

Página 106 - Configuration prerequisites

86 2. Configure Switch B # Enable IPv6 forwarding and enable MLD snooping and the function of dropping unknown IPv6 multicast data packets globally

Página 107 - Network requirements

87 Figure 27 Network diagram for MLD snooping proxying configuration SourceRouter AMLD querierReceiverReceiverHost AHost BHost C1::1/64Eth1/0/4Eth1/0

Página 108 - Configuration procedure

88 4. Verify the configuration After the configuration is completed, Host A and Host B send MLD join messages addressed to group FF1E::101. When rec

Página 109 - 4. Verify the configuration

89 Total 1 IP Group(s). Total 1 IP Source(s). Total 1 MAC Group(s). Port flags: D-Dynamic port, S-Static port, C-Copy port Subvlan flags: R

Página 110

90 Figure 28 Network diagram for IPv6 multicast source/user control policy configuration Configuration procedures 1. Configure IP addresses for in

Página 111 - C D I M T

91 [SwitchA] interface vlan-interface 104 [SwitchA-Vlan-interface104] pim ipv6 dm [SwitchA-Vlan-interface104] mld enable [SwitchA-Vlan-interface104]

Comentários a estes Manuais

Sem comentários