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
    							 160 
    •  The MAC address of IP phone A is 001 1-1100-0001. The phone connects to a downstream device 
    named PC A whose MAC address is 0022-1 100-0002 and to GigabitEthernet 1/0/1 on an 
    upstream device named Device A. 
    •   The MAC address of IP phone B is 001 1-2200-0001. The phone connects to a downstream device 
    named PC B whose MAC address is 0022-2200-0002 and to GigabitEthernet 1/0/2 on Device A. 
    •   Device A uses voice VLAN 2 to transmit voice packets for IP phone A and uses voice VLAN 3 to 
    transmit voice packets for IP phone B. 
    •   Configure GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 to operate in automatic voice VLAN 
    assignment mode. In addition, if one of them has not received any voice packet in 30 minutes, the 
    port is removed from the corresponding voice VLAN automatically. 
    Figure 50  Network diagram 
     
     
    Configuration procedure 
    # Create VLAN 2 and VLAN 3. 
     system-view 
    [DeviceA] vlan 2 to 3 
    Please wait... Done. 
    # Set the voice VLAN aging time to 30 minutes.  
    [DeviceA] voice vlan aging 30 
    # Since GigabitEthernet 1/0/1 might receive both voice traffic and data traffic at the same time, to 
    ensure the quality of voice packets and effective bandwidth use, configure voice VLANs to operate in 
    security mode. Configure the voice VLANs to transmit only voice packets. By default, voice VLANs 
    operate in security mode. (Optional) 
    [DeviceA] voice vlan security enable 
    # Configure the allowed OUI addresses as MAC addresses prefixed by 001 1-110 0 - 0 0 0 0  o r  
    001 1-2200-0000. In this way, Device A identifi es packets whose MAC addresses match any of the 
    configured OUI addresses as voice packets. 
    [DeviceA] voice vlan mac-address 0011-1100-0001 mask ffff-ff00-0000 desc\
    ription IP phone 
    A 
    [DeviceA] voice vlan mac-address 0011-2200-0001 mask ffff-ff00-0000 desc\
    ription IP phone 
    B 
    # Configure GigabitEthernet 1/0/1 as a hybrid port. 
    [DeviceA] interface gigabitethernet 1/0/1  
    						
    							 161 
    [DeviceA-GigabitEthernet1/0/1] port link-type hybrid 
    # Configure GigabitEthernet 1/0/1 to operate in automatic voice VLAN assignment mode. By default, 
    a port operates in automatic voice VLAN assignment mode. (Optional) 
    [DeviceA-GigabitEthernet1/0/1] voice vlan mode auto 
    # Configure VLAN 2 as the voice VLAN for GigabitEthernet 1/0/1. 
    [DeviceA-GigabitEthernet1/0/1] voice vlan 2 enable 
    [DeviceA-GigabitEthernet1/0/1] quit 
    # Configure GigabitEthernet 1/0/2. 
    [DeviceA] interface gigabitethernet 1/0/2 
    [DeviceA-GigabitEthernet1/0/2] port link-type hybrid 
    [DeviceA-GigabitEthernet1/0/2] voice vlan mode auto 
    [DeviceA-GigabitEthernet1/0/2] voice vlan 3 enable 
    Verifying the configurations 
    # Display the OUI addresses, OUI address masks, and description strings. 
     display voice vlan oui 
    Oui Address     Mask            Description 
    0001-e300-0000  ffff-ff00-0000  Siemens phone 
    0003-6b00-0000  ffff-ff00-0000  Cisco phone 
    0004-0d00-0000  ffff-ff00-0000  Avaya phone 
    0011-1100-0000  ffff-ff00-0000  IP phone A 
    0011-2200-0000  ffff-ff00-0000  IP phone B 
    0060-b900-0000  ffff-ff00-0000  Philips/NEC phone 
    00d0-1e00-0000  ffff-ff00-0000  Pingtel phone 
    00e0-7500-0000  ffff-ff00-0000  Polycom phone 
    00e0-bb00-0000  ffff-ff00-0000  3com phone 
    # Display the states of voice VLANs. 
     display voice vlan state 
    Maximum of Voice VLANs: 8 
     Current Voice VLANs: 2 
     Voice VLAN security mode: Security 
     Voice VLAN aging time: 30 minutes 
     Voice VLAN enabled port and its mode: 
    PORT                        VLAN        MODE        COS        DSCP 
     -------------------------------------------------------------------- 
    GigabitEthernet1/0/1          2          AUTO        6          46 
    GigabitEthernet1/0/2          3          AUTO        6          46 
    Manual voice VLAN assignment mode configuration example 
    Network requirements 
    As shown in Figure 51, 
    •   Cr
    eate VLAN 2 and configure it as a voice VLAN that permits only voice traffic to pass through. 
    •   The IP phones send untagged voice traffic. Co nfigure GigabitEthernet 1/0/1 as a hybrid port.  
    						
    							 162 
    •  Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode. Configure 
    GigabitEthernet 1/0/1 to allow voice traffic with an OUI address of 001 1-2200-0000, a mask of 
    ffff-ff00-0000, and a description string of test  to be forwarded in the voice VLAN. 
    Figure 51  Network diagram 
     
     
    Configuration procedure 
    # Configure the voice VLAN to operate in security mode. A voice VLAN operates in security mode by 
    default. (Optional) 
     system-view 
    [DeviceA] voice vlan security enable 
    # Add a recognizable OUI address 0011-2200-0000. 
    [DeviceA] voice vlan mac-address 0011-2200-0000 mask ffff-ff00-0000 desc\
    ription test 
    # Create VLAN 2.  
    [DeviceA] vlan 2 
    [DeviceA-vlan2] quit 
    # Configure GigabitEthernet 1/0/1 to operate in manual voice VLAN assignment mode. 
    [DeviceA] interface gigabitethernet 1/0/1 
    [DeviceA-GigabitEthernet1/0/1] undo voice vlan mode auto 
    # Configure GigabitEthernet 1/0/1 as a hybrid port. 
    [DeviceA-GigabitEthernet1/0/1] port link-type hybrid 
    # Configure the voice VLAN (VLAN 2) as the PVID of GigabitEthernet 1/0/1 and configure 
    GigabitEthernet 1/0/1 to permit the voice traffic of VLAN 2 to pass through untagged. 
    [DeviceA-GigabitEthernet1/0/1] port hybrid pvid vlan 2 
    [DeviceA-GigabitEthernet1/0/1] port hybrid vlan 2 untagged 
    # Enable voice VLAN on GigabitEthernet 1/0/1. 
    [DeviceA-GigabitEthernet1/0/1] voice vlan 2 enable 
    Verifying the configurations 
    # Display the OUI addresses, OUI address masks, and description strings. 
     display voice vlan oui 
    Oui Address     Mask            Description 
    0001-e300-0000  ffff-ff00-0000  Siemens phone 
    0003-6b00-0000  ffff-ff00-0000  Cisco phone 
    0004-0d00-0000  ffff-ff00-0000  Avaya phone 
    0011-2200-0000  ffff-ff00-0000  test 
    00d0-1e00-0000  ffff-ff00-0000  Pingtel phone  
    						
    							 163 
    0060-b900-0000  ffff-ff00-0000  Philips/NEC phone 
    00e0-7500-0000  ffff-ff00-0000  Polycom phone 
    00e0-bb00-0000  ffff-ff00-0000  3com phone 
    # Display the states of voice VLANs. 
     display voice vlan state 
    Maximum of Voice VLANs: 8 
     Current Voice VLANs: 1 
     Voice VLAN security mode: Security 
     Voice VLAN aging time: 1440 minutes 
     Voice VLAN enabled port and its mode: 
     PORT                        VLAN        MODE        COS        DSCP 
     -------------------------------------------------------------------- 
     GigabitEthernet1/0/1        2          MANUAL        6          46     \
               
    						
    							 164 
    Configuring GVRP 
    The Generic Attribute Registration Protocol (GARP) provides a generic framework for devices in a 
    switched LAN, such as end stations and switches, to register and deregister attribute values. The GARP 
    VLAN Registration Protocol (GVRP) is a GARP application that registers and deregisters VLAN attributes. 
    GVRP uses the operating mechanism of GARP to ma intain and propagate dynamic VLAN registration 
    information for GVRP devices on the network.  
    Overview 
    GARP 
    GARP provides a mechanism that allows participants  in a GARP application to distribute, propagate, 
    and register—with other participants in a LAN—the attrib utes specific to the GARP application, such as 
    VLAN or multicast address attributes.  
    How GARP works 
    Each port that participates in a GARP application (GVRP, for example) is a GARP participant.  
    GARP enables GARP participants to propagate attribut e values throughout the switched LAN. As shown 
    in  Figure 52 , a G
     ARP participant registers and deregist ers its attribute values with other GARP 
    participants by sending and withdrawing declarations,  and registers and deregisters the attribute values 
    of other participants according to the declarations and withdrawals that it has received.  
    Figure 52  How GARP works 
     
     
    For example, a GVRP-enabled port registers and deregisters VLAN in the following cases. 
    •   When the port receives a VLAN attribute declaratio n, it registers the VLAN attribute and joins the 
    VLAN. 
    •   When the port receives a VLAN withdrawal, it deregisters the VLAN and leaves the VLAN. 
    GARP messages 
    A GARP participant exchanges information with othe r GARP participants by sending GARP messages:  
    Join, Leave, and LeaveAll. As a GARP application, GVRP also uses GARP messages for information 
    exchange.  
    •   Join messages 
      
    						
    							 165 
    A GARP participant sends Join messages when it wishes to declare its attribute values or receives 
    Join messages from other GARP participants.  
    Join messages fall into JoinEmpty and JoinIn. A  GARP participant sends JoinEmpty messages to 
    declare attribute values that it has not register ed. It sends JoinIn messages to declare attribute 
    values that it has registered. 
    •   Leave messages 
    A GARP participant sends Leave messages when it wi shes to withdraw declarations of its attribute 
    values (because, for example, it has deregistered  its attribute values), or receives Leave messages 
    from other participants.  
    Leave messages fall into LeaveEmpty and Leav eIn. A GARP participant sends LeaveEmpty 
    messages to withdraw declarations of the attribute values that it has not registered. It sends LeaveIn 
    messages to withdraw  declarations of the attribute va lues that it has registered. 
    •   LeaveAll messages 
    A GARP participant sends a LeaveAll me ssage when it declares that it is deregistering all attribute 
    values or receives LeaveAll messages from other  participants. If any participants want to maintain 
    the registration for a particular attribute value, they must send a Join message.  
    GARP timers 
    HPs implementation of GARP uses the following timers to control GARP message transmission: 
    •   Hold timer 
    The Hold timer sets the delay that a GARP par ticipant waits before sending a Join or Leave 
    message. 
    When an attribute value changes or a Join or  Leave message arrives, the GARP participant does 
    not send the message immediately. Rather, it  assembles Join and Leave messages in the least 
    number of GARP PDUs, and sends them out when  the Hold timer expires. This timer reduces the 
    number of GARP PDUs and saves bandwidth.  
    •   Join timer 
    A GARP participant might declare an  attribute twice to ensure reliable transmission. The Join timer 
    sets the interval between the two declarations. 
    A GARP participant starts a Join timer when it de clares an attribute value or receives a JoinIn 
    message for the attribute value. If the GARP participant does not receive any declaration for the 
    attribute value when the Join timer expire s, it re-declares the attribute value.  
    Because all attributes of a GARP participant share th e same Join timer, you must set the Join timer 
    long enough so that all attributes  can be sent out in one declaration. 
    •   Leave timer 
    A GARP participant starts a Leave timer when it re ceives a Leave message for an attribute value. 
    If the GARP participant receives no Join message for the attribute value before the timer expires, it 
    deregisters the attribute value. 
    •   LeaveAll timer 
    When a GARP application is enabled, a LeaveAll  timer starts. The GARP participant sends a 
    LeaveAll message when the timer expires. Then, th e LeaveAll timer restarts to begin a new cycle. 
    The LeaveAll timer and all other GARP timers also  restart when the GARP participant receives a 
    LeaveAll message.  
    When you configure GARP timers, follow these guidelines: 
    •   The settings of GARP timers apply to all GARP applications, such as GVRP, on a LAN.   
    						
    							 166 
    •  On a GARP-enabled network, each port maintain s its own Hold, Join, and Leave timers, but only 
    one LeaveAll timer is maintained on each device. This LeaveAll timer applies to all ports on the 
    device.  
    •   The value ranges for the Hold, Join, Leave, and LeaveAll timers are dependent on one another. 
    See  Tabl e  2 0  
    for their dependencies. 
    •   Set the LeaveAll timer greater than any Leave timer and not smaller than its default value, 1000 
    centiseconds. Each time a LeaveAll timer expires, a network-wide re-join occurs.  
    •   A device can send LeaveAll messages at the interval set by its LeaveAll timer or the LeaveAll timer 
    of another device on the network, whichever is smaller. This is because each time a device on the 
    network receives a LeaveAll message, it resets its LeaveAll timer. 
    GARP PDU format  
    Figure 53  GARP PDU format 
     
     
    As shown in Figure 53, G ARP PDUs are encapsulated in IEEE 802.3 Ethernet frames.  
    Table 19  GARP PDU fields 
    Field Descri
    ption   Value 
    Protocol ID  Protocol identifier for GARP  0x0001 
    Message One or multiple messages, each of which 
    contains an attribute type and an attribute 
    list
      N/A 
    End mark  Indicates the end of a GARP PDU 
    0x00 
    Attribute type  Defined by the GARP application 
     0x01 for GVRP, which indicates the VLAN 
    ID attribute
     
    Attribute list  Contains one or multiple attributes
     N/A 
    Attribute  Consists of an attribute length, an attribute 
    event, and an attribute value
     N/A 
    Attribute length 
    Length of an attribute, inclusive of the 
    attribute length field 
      2 to 255 (in bytes)
     
    Ethernet frame
    Attribute lengthAttribute eventAttribute value
    DASALengthDSAPSSAPCtrlGARP PDU
    Attribute listAttribute type
    ...Message nMessage 1Protocol IDEnd mark
    ...Attribute 1Attribute nEnd mark 
    						
    							 167 
    Field Description  Value 
    Attribute event  Event that the attribute describes 
     
    • 0x00—LeaveAll event 
    • 0x01 —JoinEmpty event 
    • 0x02 —JoinIn event 
    • 0x03 —LeaveEmpty event 
    • 0x04—LeaveIn event 
    • 0x05 —Empty event  
    Attribute value  Attribute value 
     VLAN ID for GVRP 
    If the value of the attribute event field is 
    0x00 (LeaveAll event), the attribute value 
    field is invalid.
     
     
    The destination MAC addresses of GARP messages are multicast MAC addresses, and vary with GARP 
    applications. For example, the destination MAC address of GVRP is 01-80-C2-00-00-21.  
    GVRP 
    GVRP overview 
    As a GARP application, GVRP uses the operatin g mechanism of GARP to maintain and propagate 
    dynamic VLAN registrations throughout a switched LAN.  
    In a switched LAN, each GVRP-enabled switch send s and receives VLAN declarations and withdrawals 
    from other GVRP-enabled switches, and dynamically updates its local database, including active VLAN 
    members and through which port each VLAN member can be reached. This makes sure that all 
    GVRP-enabled switches in a LAN maintain the same VLAN information.  
    The VLAN information propagated by GVRP includ es not only manually configured static VLAN 
    information but also dynamic VLAN information from other switches.  
    GVRP registration modes 
    GVRP is available on trunk ports. It provides the following registration modes: 
    •   Normal  mode —Performs dynamic VLAN registrations and deregistrations on the trunk port, and 
    sends declarations and withdrawals for dynamic and static VLANs. VLANs manually configured 
    are called static VLANs, and VLANs created by GVRP are called dynamic VLANs. 
    •   Fixed  mode — D i s a b l e s  t h e  t r u n k  p o r t  t o  re g i s t e r  o r  wi t h d ra w  d yn a m i c  V L A N  i n f o r m a t i o n,  b u t  a l l ow s  
    the port to send declarations for static VLANs. A tr unk port in this mode carries only static VL ANs, 
    even if it has been assigned to all VLANs.  
    •   Forbidden  mode —Disables the trunk port to register or  withdraw dynamic VLAN information, and 
    allows the port to send declarations only for VLAN 1. A trunk port in this mode carries only VLAN 
    1 even if it has been assigned to any other VLANs. 
    Protocols and standards 
    IEEE 802.1Q,  Virtual Bridged Local Area Networks  
    GVRP configuration task list 
    When you configure GVRP, follow these guidelines:  
    						
    							 168 
    •  GVRP configuration made in Ethernet interface  view or Layer 2 aggregate interface view takes 
    effect on the current interface only; GVRP configuration made in port group view takes effect on all 
    the member ports in the group.  
    •   GVRP configuration made on a member port in an aggregation group takes effect only after the 
    port is removed from the aggregation group. 
    Complete these tasks to configure GVRP: 
     
    Task Remarks 
    Configuring GVRP functions  Required 
    Configuring the GARP timers Optional 
     
    Configuring GVRP functions 
    Before enabling GVRP on a port, you must enable GVRP globally. In addition, you can configure GVRP 
    only on trunk ports, and you must assign the involved trunk ports to all dynamic VLANs.  
    Configuration restrictions and guidelines 
    •  GVRP is mutually exclusive with service loopback.  
    •   GVRP can work with STP, RSTP, or MSTP CIST but not PVST. When GVRP runs on the CIST, blocked 
    ports on the CIST cannot receive or send GVRP packets. For more information about STP, RSTP, 
    MSTP CIST, and PVST, see  Configuring spanning tree protocols . 
    •   Do not ena
    
    ble both GVRP and remote port mirror ing. Otherwise, GVRP may register the remote 
    probe VLAN to unexpected ports, resulting in unde sired duplicates to be received by the monitor 
    port. For more information about port mirroring, see  Network Management and Monitoring 
    Configuration Guide . 
    •   Enabling GVRP on a Layer 2 aggregate interfac e enables both the aggregate interface and all 
    selected member ports in the corresponding li nk aggregation group to participate in dynamic 
    VLAN registration and deregistration. 
    Configuration procedure 
    To configure GVRP functions on a trunk port:   
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enable GVRP globally. 
    gvrp  Globally disabled by default. 
    3.  Enter Ethernet interface 
    view, Layer 2 aggregate 
    interface view, or port 
    group view. 
    • Enter Ethernet interface view or Layer 
    2 aggregate interface view: 
    interface  interface-type 
    interface-number 
    •  Enter port group view: 
    port-group manual  port-group-name Use either command. 
      
    						
    							 169 
    Step Command Remarks 
    4.  Configure the link type of 
    the ports as trunk.  port link-type trunk  Access by default.  
    For more information about the 
    port link-type trunk
     command, 
    see  Layer 2—LAN Switching 
    Command Reference .  
    5.  Assign the trunk ports to 
    all VLANs.  port trunk permit vlan all  By default, a trunk port is 
    assigned to VLAN 1 only.  
    For more information about the 
    port trunk permit vlan all
     
    command, see  Layer 2—LAN 
    Switching Command Reference . 
     
    6.  Enable GVRP on the 
    ports.   gvrp 
    Disabled by default.
     
    7.  Configure the GVRP 
    registration mode on the 
    port.   gvrp registration 
    { fixed |  forbidden | 
    normal  }  Optional. 
    normal
     by default.
     
     
    Configuring the GARP timers 
    To configure the GARP timers:  
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Configure the GARP 
    LeaveAll timer.  garp timer leaveall 
    timer-value Optional. 
    1000 centiseconds by default.  
    The LeaveAll timer applies to all 
    ports.  
    3.
      Enter Ethernet interface view, 
    Layer 2 aggregate interface 
    view, or port group view. 
    • Enter Ethernet interface view or 
    Layer 2 aggregate interface view:
     
    interface  interface-type 
    interface-number 
    •  Enter port group view: 
    port-group manual 
    port-group-name   Use either command. 
     
    4.  Configure the Hold timer. 
    garp timer hold timer-value   Optional. 
    10 centiseconds by default. 
    5.
      Configure the Join timer. 
    garp timer join timer-value   Optional. 
    20 centiseconds by default. 
    6.
      Configure the Leave timer. 
    garp timer leave timer-value   Optional. 
    60 centiseconds by default. 
     
    As shown in 
    Tabl e  2 0, the  value ranges for GARP timers are dependent on one another; use the 
    following guidelines to configure GARP timers: 
    •   If you want to set a value beyond the value range for a timer, you can change the value range by 
    tuning the value of another related timer.   
    						
    All HP manuals Comments (0)

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