Home > HP > Printer > HP 5500 Ei 5500 Si Switch Series Configuration Guide

HP 5500 Ei 5500 Si Switch Series Configuration Guide

    Download as PDF Print this page Share this page

    Have a look at the manual HP 5500 Ei 5500 Si Switch Series Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    Page
    of 2513
    							 35 
    Step Command Remarks 
    2.  Enter VLAN view. 
    vlan vlan-id   N/A 
    3.  Enable the IGMP snooping 
    host tracking function in the 
    VLAN.  igmp-snooping host-tracking 
    Disabled by default 
     
    Setting the DSCP value for IGMP messages  
    Step Command Remarks  
    1.  Enter system view. 
    system-view  N/A 
    2.  Enter IGMP-snooping view.  
    igmp-snooping  N/A 
    3.  Set the DSCP value for IGMP 
    messages  dscp
     dscp-value   By default, the DSCP value in IGMP 
    messages is 48.
     
     
     NOTE: 
    This confi
    guration applies to only the IGMP messages that the local switch generates rather than those
    forwarded ones.  
     
    Displaying and maintaining IGMP snooping 
     
    Task Command Remarks 
    Display IGMP snooping group 
    information.  display igmp-snooping group
     
    [ vlan  vlan-id  ] [ slot  slot-number  ] 
    [ verbose  ] [ | { begin |  exclude | 
    include  } regular-expression ]   Available in any view 
    Display information about the hosts 
    tracked by IGMP snooping.  display igmp-snooping host vlan
     
    vlan-id  group  group-address  
    [ source  source-address ] [ slot 
    slot-number  ] [ | { begin |  exclude 
    |  include  } regular-expression  ] Available in any view 
    Display static multicast MAC 
    address entries.  display mac-address
     
    [ mac-address [ vlan  vlan-id  ] | 
    [ multicast  ] [ vlan  vlan-id  ] 
    [ count ] ] [ |  { begin |  exclude | 
    include  } regular-expression ]  Available in any view 
    Display statistics for the IGMP 
    messages learned by IGMP 
    snooping.  display igmp-snooping statistics
     [ | 
    {  begin |  exclude | include  } 
    regular-expression  ] 
      Available in any view
     
    Remove all the dynamic group 
    entries of a specified IGMP 
    snooping group or all IGMP 
    snooping groups.  reset
     igmp-snooping group 
    {  group-address  | all } [ vlan  
    vlan-id  ]  Available in user view
     
    Clear statistics for the IGMP 
    messages learned by IGMP 
    snooping.  reset igmp-snooping statistics 
    Available in user view 
      
    						
    							 36 
      NOTE: 
    •  The  reset igmp-snooping group  command works only on an IGMP snooping–enabled VLAN, but no
    t
    in a VLAN with IGMP enabled on its VLAN interface.  
    •   The  reset igmp-snooping group  command cannot remove the static group entries of IGMP snooping 
    groups. 
     
    IGMP snooping configuration examples 
    Group policy and simulated joining configuration example 
    Network requirements 
    As shown in  Figure 14, I G M P v 2  r u n s  o n  R o u t e r  A ,  I G M P v 2  s n o o p i n g  r u n s  o n  Swi t c h  A ,  a n d  R o u t e r  A  a c t s  
    as the IGMP querier on the subnet.  
    The receivers, Host A and Host B, can receive multicast traffic addressed to multicast group 224.1.1.1 only.   
    Multicast data for group 224.1.1.1 can be forwarded through GigabitEthernet 1/0/3 and 
    GigabitEthernet 1/0/4 of Switch A even if Host A  and Host B accidentally, temporarily stop receiving 
    multicast data, and that Switch A drops unknown mu lticast data and does not broadcast the data to the 
    VLAN where Switch A resides. 
    Figure 14  Network diagram  
     
     
    Configuration procedure 
    1. Configure IP addresses: 
    Configure an IP address and subnet mask for each interface as per  Figure 14. (Details not shown.) 
    2. Configure Router A: 
    # Enable IP multicast routing, enable PIM-DM  on each interface, and enable IGMP on 
    GigabitEthernet 1/0/1.  
     system-view 
    [RouterA] multicast routing-enable  
    						
    							 37 
    [RouterA] interface gigabitethernet 1/0/1 
    [RouterA-GigabitEthernet1/0/1] igmp enable 
    [RouterA-GigabitEthernet1/0/1] pim dm 
    [RouterA-GigabitEthernet1/0/1] quit 
    [RouterA] interface gigabitethernet 1/0/2 
    [RouterA-GigabitEthernet1/0/2] pim dm 
    [RouterA-GigabitEthernet1/0/2] quit 
    3. Configure Switch A: 
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchA] igmp-snooping 
    [SwitchA-igmp-snooping] quit 
    # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, 
    and enable IGMP snooping and the function of dro pping unknown multicast traffic in the VLAN.  
    [SwitchA] vlan 100 
    [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 
    [SwitchA-vlan100] igmp-snooping enable 
    [SwitchA-vlan100] igmp-snooping drop-unknown 
    [SwitchA-vlan100] quit 
    # Configure a multicast group filter so that the hosts in VLAN 100 can join only the multicast group 
    224.1.1.1.  
    [SwitchA] acl number 2001 
    [SwitchA-acl-basic-2001] rule permit source 224.1.1.1 0 
    [SwitchA-acl-basic-2001] quit 
    [SwitchA] igmp-snooping 
    [SwitchA-igmp-snooping] group-policy 2001 vlan 100 
    [SwitchA-igmp-snooping] quit 
    # Configure GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 as simulated hosts for multicast 
    group 224.1.1.1.  
    [SwitchA] interface gigabitethernet 1/0/3 
    [SwitchA-GigabitEthernet1/0/3] igmp-snooping host-join 224.1.1.1 vlan 10\
    0 
    [SwitchA-GigabitEthernet1/0/3] quit 
    [SwitchA] interface gigabitethernet 1/0/4 
    [SwitchA-GigabitEthernet1/0/4] igmp-snooping host-join 224.1.1.1 vlan 10\
    0 
    [SwitchA-GigabitEthernet1/0/4] quit 
    4.  Verify the configuration:  
    # Display detailed IGMP snooping groups  information in VLAN 100 on Switch A. 
    [SwitchA] display igmp-snooping group vlan 100 verbose 
      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, P-PIM port 
      Subvlan flags: R-Real VLAN, C-Copy VLAN 
      Vlan(id):100. 
        Total 1 IP Group(s). 
        Total 1 IP Source(s).  
    						
    							 38 
        Total 1 MAC Group(s). 
        Router port(s):total 1 port. 
                GE1/0/1                (D) ( 00:01:30 ) 
        IP group(s):the following ip group(s) match to one mac group. 
          IP group address:224.1.1.1 
            (0.0.0.0, 224.1.1.1): 
              Attribute:    Host Port 
              Host port(s):total 2 port. 
                GE1/0/3                (D) ( 00:03:23 ) 
                GE1/0/4                (D) ( 00:04:10 ) 
        MAC group(s): 
          MAC group address:0100-5e01-0101 
              Host port(s):total 2 port. 
                GE1/0/3 
                GE1/0/4 
    The output shows that GigabitEthernet 1/0/3 and GigabitEthernet 1/0/4 of Switch A has joined 
    multicast group 224.1.1.1.  
    Static port configuration example 
    Network requirements 
    As shown in Figure 15 , IGMPv2 runs on Router A, and IGMPv2 snooping runs on Switch A, Switch B, 
    and Switch C. Router A acts as the IGMP querier. 
    Host A and host C are permanent receivers of multicast group 224.1.1.1. GigabitEthernet 1/0/3 and 
    GigabitEthernet 1/0/5 on Switch C are required to be configured as static member ports for multicast 
    group 224.1.1.1 to enhance the reliability of multicast traffic transmission.  
    Suppose STP runs on the network. To avoid data loop s, the forwarding path from Switch A to Switch C 
    is blocked under normal conditions, and multicast traffic flows to the receivers attached to Switch C only 
    along the path of Switch A—Switch B—Switch C. 
    Configure GigabitEthernet 1/0/3 on Switch A as a static router port, so that multicast traffic can flow to 
    the receivers nearly uninterruptedly along the path of Switch A—Switch C in the case that the path of 
    Switch A—Switch B—Switch C gets blocked.  
    For more information about the Spanning Tree Protocol (STP), see  Layer 2—LAN Switching Configuration 
    Guide.  
     
      NOTE: 
    If no static router port is configured, when the path of Switch A—Switch B—Switch C 
    gets blocked, at least
    one IGMP query-response cycle must be completed before the multicast data can flow to the receivers 
    along the new path of Switch A—Switch C. Namely mu lticast delivery will be interrupted during this 
    process.  
      
    						
    							 39 
    Figure 15  Network diagram  
     
     
    Configuration procedure 
    1. Configure IP addresses: 
    Configure an IP address and subnet mask for each interface as per  Figure 15. (Details not shown.) 
    2. Configure Router A: 
    # Enable IP multicast routing, enable PIM-DM  on each interface, and enable IGMP on 
    GigabitEthernet 1/0/1.  
     system-view 
    [RouterA] multicast routing-enable 
    [RouterA] interface gigabitethernet 1/0/1 
    [RouterA-GigabitEthernet1/0/1] igmp enable 
    [RouterA-GigabitEthernet1/0/1] pim dm 
    [RouterA-GigabitEthernet1/0/1] quit 
    [RouterA] interface gigabitethernet 1/0/2 
    [RouterA-GigabitEthernet1/0/2] pim dm 
    [RouterA-GigabitEthernet1/0/2] quit 
    3.  Configure Switch A: 
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchA] igmp-snooping 
    [SwitchA-igmp-snooping] quit 
    # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to this VLAN, 
    and enable IGMP snooping in the VLAN.  
    [SwitchA] vlan 100 
    [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3 
    [SwitchA-vlan100] igmp-snooping enable 
    [SwitchA-vlan100] quit 
    Source
    1.1.1.1/24Router A
    IGMP querier
    GE1/0/1
    10.1.1.1/24Switch A Switch B
    Switch C
    GE1/0/1
    G E
    1
    /0 /
    2
    G
    E1/
    0
    /3
    G
    E
    1/
    0
    /1
    G E
    1/
    0 /
    1
    G
    E1/
    0
    /3
    G
    E1/
    0 /5
    Host A
    Receiver
    Host B
    Host C
    Receiver
    VLAN 100
    GE1/0/2
    1.1.1.2/24 
    						
    							 40 
    # Configure GigabitEthernet 1/0/3 to be a static router port.  
    [SwitchA] interface gigabitethernet 1/0/3 
    [SwitchA-GigabitEthernet1/0/3] igmp-snooping static-router-port vlan 100\
     
    [SwitchA-GigabitEthernet1/0/3] quit 
    4. Configure Switch B: 
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchB] igmp-snooping 
    [SwitchB-igmp-snooping] quit 
    # Create VLAN 100, assign GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to this VLAN, 
    and enable IGMP snooping in the VLAN.  
    [SwitchB] vlan 100 
    [SwitchB-vlan100] port gigabitethernet 1/0/1 gigabitethernet 1/0/2 
    [SwitchB-vlan100] igmp-snooping enable 
    [SwitchB-vlan100] quit 
    5. Configure Switch C: 
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchC] igmp-snooping 
    [SwitchC-igmp-snooping] quit 
    # Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/5 to this VLAN, 
    and enable IGMP snooping in the VLAN.  
    [SwitchC] vlan 100 
    [SwitchC-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/5 
    [SwitchC-vlan100] igmp-snooping enable 
    [SwitchC-vlan100] quit 
    # Configure GigabitEthernet 1/0/3 and GigabitE thernet 1/0/5 as static member ports for 
    multicast group 224.1.1.1. 
    [SwitchC] interface GigabitEthernet 1/0/3 
    [SwitchC-GigabitEthernet1/0/3] igmp-snooping static-group 224.1.1.1 vlan\
     100 
    [SwitchC-GigabitEthernet1/0/3] quit 
    [SwitchC] interface GigabitEthernet 1/0/5 
    [SwitchC-GigabitEthernet1/0/5] igmp-snooping static-group 224.1.1.1 vlan\
     100 
    [SwitchC-GigabitEthernet1/0/5] quit 
    6.  Verify the configuration:  
    # Display detailed IGMP snooping group information in VLAN 100 on Switch A. 
    [SwitchA] display igmp-snooping group vlan 100 verbose 
      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, P-PIM port 
      Subvlan flags: R-Real VLAN, C-Copy VLAN 
      Vlan(id):100. 
        Total 1 IP Group(s). 
        Total 1 IP Source(s). 
        Total 1 MAC Group(s).  
    						
    							 41 
        Router port(s):total 2 port. 
                GE1/0/1                (D) ( 00:01:30 ) 
                GE1/0/3                (S) 
        IP group(s):the following ip group(s) match to one mac group. 
          IP group address:224.1.1.1 
            (0.0.0.0, 224.1.1.1): 
              Attribute:    Host Port 
              Host port(s):total 1 port. 
                GE1/0/2                (D) ( 00:03:23 ) 
        MAC group(s): 
          MAC group address:0100-5e01-0101 
              Host port(s):total 1 port. 
                GE1/0/2 
    The output shows that GigabitEthernet 1/0/3 of  Switch A has become a static router port.  
    # Display detailed IGMP snooping group information in VLAN 100 on Switch C. 
    [SwitchC] display igmp-snooping group vlan 100 verbose 
      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, P-PIM port 
      Subvlan flags: R-Real VLAN, C-Copy VLAN 
      Vlan(id):100. 
        Total 1 IP Group(s). 
        Total 1 IP Source(s). 
        Total 1 MAC Group(s). 
        Router port(s):total 1 port. 
                GE1/0/2                (D) ( 00:01:23 ) 
        IP group(s):the following ip group(s) match to one mac group. 
          IP group address:224.1.1.1 
            (0.0.0.0, 224.1.1.1): 
              Attribute:    Host Port 
              Host port(s):total 2 port. 
                GE1/0/3                (S) 
                GE1/0/5                (S) 
        MAC group(s): 
          MAC group address:0100-5e01-0101 
              Host port(s):total 2 port. 
                GE1/0/3 
                GE1/0/5 
    The output shows that GigabitEthernet 1/0/3  and GigabitEthernet 1/0/5 on Switch C have 
    become static member ports for multicast group 224.1.1.1. 
    IGMP snooping querier configuration example 
    Network requirements 
    As shown in Figure 16 , in a Layer 2–only network environment, two multicast sources Source 1 and 
    Source 2 send multicast data to multicast groups 224.1.1.1 and 225.1.1.1 respectively, Host A and Host C  
    						
    							 42 
    are receivers of multicast group 224.1.1.1, and Host B and Host D are receivers of multicast group 
    2 2 5 .1.1.1.  
    All the receivers run IGMPv2, and all the switches run IGMPv2 snooping. Switch A, which is close to the 
    multicast sources, is chosen as the IGMP snooping querier. 
    To prevent flooding of unknown multicast traffic within the VLAN, be sure to configure all the switches to 
    drop unknown multicast data packets.  
    Because a switch does not enlist a port that has heard an IGMP query with a source IP address of 0.0.0.0 
    (default) as a dynamic router port, configure a non-all-zero IP address as the source IP address of IGMP 
    queries to ensure normal creation of Layer 2 multicast forwarding entries.  
    Figure 16  Network diagram  
     
     
    Configuration procedure 
    1. Configure switch A:  
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchA] igmp-snooping 
    [SwitchA-igmp-snooping] quit 
    # Create VLAN 100 and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to the 
    VLAN. 
    [SwitchA] vlan 100 
    [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3 
    # Enable IGMP snooping and the function of dro pping unknown multicast traffic in VLAN 100.  
    [SwitchA-vlan100] igmp-snooping enable 
    [SwitchA-vlan100] igmp-snooping drop-unknown 
    # Enable the IGMP snooping querier function in VLAN 100 
    [SwitchA-vlan100] igmp-snooping querier 
    # 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 general-query source-ip 192.168.1.1 
    [SwitchA-vlan100] quit  
    						
    							 43 
    2.
     
    Configure Switch B:  
    # Enable IGMP snooping globally.  
     system-view 
    [SwitchB] igmp-snooping 
    [SwitchB-igmp-snooping] quit 
    # Create VLAN 100, and assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to the 
    VLAN. 
    [SwitchB] vlan 100 
    [SwitchB-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 
    # Enable IGMP snooping and the function of dro pping unknown multicast traffic in VLAN 100.  
    [SwitchB-vlan100] igmp-snooping enable 
    [SwitchB-vlan100] igmp-snooping drop-unknown 
    [SwitchB-vlan100] quit 
    Configurations on Switch C and Switch D are similar to the configuration on Switch B.  
    3. Verify the configuration: 
    After the IGMP snooping querier starts to work, a ll the switches but the querier can receive IGMP 
    general queries. By using the  display igmp-snooping statistics  command, you can view the 
    statistics information about the IGMP  messages received. For example:  
    # Display IGMP message statistics on Switch B.  
    [SwitchB] display igmp-snooping statistics 
      Received IGMP general queries:3. 
      Received IGMPv1 reports:0. 
      Received IGMPv2 reports:12. 
      Received IGMP leaves:0. 
      Received IGMPv2 specific queries:0. 
      Sent     IGMPv2 specific queries:0. 
      Received IGMPv3 reports:0. 
      Received IGMPv3 reports with right and wrong records:0. 
      Received IGMPv3 specific queries:0. 
      Received IGMPv3 specific sg queries:0. 
      Sent     IGMPv3 specific queries:0. 
      Sent     IGMPv3 specific sg queries:0. 
      Received error IGMP messages:0. 
    IGMP snooping proxying configuration example 
    Network requirements 
    As shown in Figure 17 , Ro u t e r  A  r u n s  I GM P v 2  a n d  Swi t ch  A  r u n s  I GM P v 2  s n o o pi n g.  Ro u t e r  A  a c t s  as  t h e  
    IGMP querier.  
    Configure IGMP snooping proxying on Switch A, enabling the switch to forward IGMP reports and leave 
    messages on behalf of attached hosts and to resp ond to IGMP queries from Router A and forward the 
    queries to the hosts on behalf of Router A.   
    						
    							 44 
    Figure 17  Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for interfaces: 
    Configure an IP address and subnet mask for each interface as per  Figure 17. (Details not shown.) 
    2. Configure Router A: 
    # Enable IP multicast routing, enable PIM-DM  on each interface, and enable IGMP on 
    GigabitEthernet 1/0/1. 
     system-view 
    [RouterA] multicast routing-enable 
    [RouterA] interface gigabitethernet 1/0/1 
    [RouterA-GigabitEthernet1/0/1] igmp enable 
    [RouterA-GigabitEthernet1/0/1] pim dm 
    [RouterA-GigabitEthernet1/0/1] quit 
    [RouterA] interface gigabitethernet 1/0/2 
    [RouterA-GigabitEthernet1/0/2] pim dm 
    [RouterA-GigabitEthernet1/0/2] quit 
    3.  Configure Switch A: 
    # Enable IGMP snooping globally. 
     system-view 
    [SwitchA] igmp-snooping 
    [SwitchA-igmp-snooping] quit 
    # Create VLAN 100, assign ports GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this 
    VLAN, and enable IGMP snooping and IG MP snooping proxying in the VLAN. 
    [SwitchA] vlan 100 
    [SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4 
    [SwitchA-vlan100] igmp-snooping enable 
    [SwitchA-vlan100] igmp-snooping proxying enable 
    [SwitchA-vlan100] quit 
    4. Verify the configuration:  
    						
    All HP manuals Comments (0)

    Related Manuals for HP 5500 Ei 5500 Si Switch Series Configuration Guide