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
    							 98 
    •  Dedicated to dual uplink networks 
    •   Subsecond convergence 
    •   Easy to configure 
    Terminology 
    Smart link group 
    A smart link group consists of only two member ports:  the master and the slave ports. At a time, only one 
    port is active for forwarding, and the other port is blocked and in standby state.  When link failure occurs 
    on the active port due to port shutdown or presence  of unidirectional link for example, the standby port 
    becomes active to take over and the original  active port transits to the blocked state. 
    As shown in  Figure 24, P
     ort1 and Port2 of Device C and Port1 and Port2 of Device D each form a smart 
    link group, with Port1 being active and Port2 being standby.  
    Master/slave port 
    Master port and slave port are two port roles in a smart link group. When both ports in a smart link 
    group are up, the master port preferentially transits  to the forwarding state, and the slave port stays in 
    standby state. Once the master port fails, the slav e port takes over to forward traffic. As shown in Figure 
    24 , y
    
    ou can configure Port1 of Device C and Port1 of Device D as master ports, and Port2 of Device C 
    and Port2 of Device D slave ports.  
    Master/slave link 
    The link that connects the master port in a smart link  group is the master link. The link that connects the 
    slave port is the slave link.  
    Flush message 
    Flush messages are used by a smart link group to notify other devices to refresh their MAC address 
    forwarding entries and ARP/ND entries when link switchover occurs in the smart link group. Flush 
    messages are common multicast data packets, and will be dropped by a blocked receiving port.  
    Protected VLAN 
    A smart link group controls the forwarding state of  some data VLANs (protected VLANs). Different smart 
    link groups on a port control different protected VL ANs. The state of the port in a protected VLAN is 
    determined by the state of the port in the smart link group.  
    Transmit control VLAN 
    The transmit control VLAN is used for transmitting flush messages. When link switchover occurs, the 
    devices (such as Device C and Device D in Figure 24 ) br
    oadcast flush messages within the transmit 
    control VLAN.  
    Receive control VLAN 
    The receive control VLAN is used for receiving and  processing flush messages. When link switchover 
    occurs, the devices (such as Device A, Device B, and Device E in  Figure 24) r
     eceive and process flush 
    messages in the receive control VLAN and refresh their MAC address forwarding entries and ARP/ND 
    entries.   
    						
    							 99 
    How Smart Link works 
    Link backup mechanism 
    As shown in Figure 24, the link on Port1 of Device C is the master link, and the link on Port2 of Device 
    C is the slave link. Typically, Port1 is in forwarding  state, and Port2 is in standby state. When the master 
    link fails, Port2 takes over to forward traffic an d Port1 is blocked and placed in standby state.  
     
     NOTE:  
    When a port switches to the forwarding state, the system outputs log information to notify the user of the
    port state change. 
     
    Topology change mechanism 
    Because link switchover can outdate the MAC addres s forwarding entries and ARP/ND entries on all 
    devices, you need a forwarding entry update mechan ism to ensure proper transmission. By far, the 
    following two update mechanisms are provided: 
    •   Uplink traffic-triggered MAC address learning, where update is triggered by uplink traffic. This 
    mechanism is applicable to envi ronments with devices not supporting Smart Link, including devices 
    of other vendors’.  
    •   Flush update where a Smart Link-enabled device  updates its information by transmitting flush 
    messages over the backup link to its upstream  devices. This mechanism requires the upstream 
    devices to be capable of recognizing Smart Link flush messages to update its MAC address 
    forwarding entries and ARP/ND entries.  
    Role preemption mechanism 
    As shown in Figure 24 , the link on Port1 of Device C is the master link, and the link on Port2 of Device 
    C is the slave link. Once the master link fails, Port1  is automatically blocked and placed in standby state, 
    and Port2 takes over to forward traffic. When the master link recovers, one of the following occurs: 
    •   If the smart link group is not configured with ro le preemption, to keep traffic forwarding stable, 
    Port1 that has been blocked due to link failure do es not immediately take over to forward traffic. 
    Rather, it stays blocked until the next link switchover.  
    •   If the smart link group is configured with role preemption, Port1 takes over to forward traffic as soon 
    as its link recovers, and Port2 is automatically blocked and placed in standby state.  
    Load sharing mechanism 
    A ring network may carry traffic of multiple VLANs. Smart Link can forward traffic of different VLANs in 
    different smart link groups, implementing load sharing.  
    To implement load sharing, you can assign a port to multiple smart link groups (each configured with 
    different protected VLANs), making sure that the state  of the port is different in these smart link groups. 
    In this way, traffic of different VLANs can be forwarded along different paths.  
    You can configure protected VLANs for a smart link group by referencing Multiple Spanning Tree 
    Instances (MSTIs).  
    Smart Link collaboration mechanisms 
    Collaboration between Smart Link and Monitor Link 
    Smar t Link cannot sense by itself when faults occur on the uplink of the upstream devices, or when faults 
    are cleared. To monitor the uplink status of the upstream devices, you can configure the Monitor Link  
    						
    							 100 
    function to monitor the uplink ports of the upstream devices. Monitor Link adapts the up/down state of 
    downlink ports to the up/down state of  uplink ports, triggering Smart Link to perform link switchover on 
    the downstream device. 
    For more information about Monitor Link, see  Configuring Monitor Link.  
    Collaboration between Smart Link and CC of CFD 
    Smart Link cannot sense by itself when faults (for  example, unidirectional link, misconnected fibers, and 
    packet loss) occur on the intermediate devices or network paths, or when faults are cleared. To check the 
    link status, Smart Link ports must use link detection prot ocols. When a fault is detected or cleared, the link 
    detection protocols inform Smart Link to switch over the links.  
    With the collaboration between Smart Link and the Continuity Check (CC) function of Connectivity Fault 
    Detection (CFD) configured, CFD notifies the ports of  fault detection events on the basis of detection 
    VLANs and detection ports. A port responds to a continuity check event only when the control VLAN of 
    the smart link group to which it belongs matches the detection VLAN. 
    For more information about the CC function of CFD, see  Configuring CFD. 
    Smart Link configuration task list 
    A smart link device is a device that supports Smart Link and is configured with a smart link group and a 
    transmit control VLAN for flush message transmission. Device C and Device D in Figure 24  ar
    e two 
    examples of smart link devices.  
    An associated device is a device that supports Sm art Link and receives flush messages sent from the 
    specified control VLAN. Device A, Device B, and Device E in  Figure 24 ar
     e examples of associated 
    devices.  
    Complete the following tasks to configure Smart Link: 
     
    Task  Remarks 
    Configuring a Smart Link device Configuring protected VL
    ANs for a smart link 
    group  Required 
    Configuring member ports for a smart link group 
    Required 
    Configuring role preemption for a smart link 
    group Optional 
    Enabling the sending of flush messages 
    Optional 
    Configuring the collaboration between Smart 
    Link and CC of CFD Optional 
    Configuring an associated device 
    Enabling the receiving of flush messages  Required 
     
    Configuring a Smart Link device 
    Configuration prerequisites 
    •  Before configuring a port as a smart link group member, shut down the port to prevent loops. You 
    can bring up the port only after completing the smart link group configuration.   
    						
    							 101 
    •  Disable the spanning tree feature and RRPP on the ports that you want to add to the smart link group, 
    and make sure that the ports are not member port s of any aggregation group or service loopback 
    group.  
     
      NOTE:  
    A loop may occur on the network during the time when  the spanning tree feature is disabled but Smart Link
    has not yet taken effect on a port.  
    Configuring protected VLANs for a smart link group 
    You can configure protected VLANs for a smart link group by referencing MSTIs. Before configuring the 
    protected VLANs, configure the mappings between MSTIs and the VLANs to be protected. (In PVST mode, 
    the system automatically maps VLANs to MSTIs.) For more information about MSTI and PVST, see  Layer 
    2—LAN Switching Configuration Guide .  
    To configure the protected VLANs for a smart link group: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.
      Enter MST region view.  stp region-configuration  Not required in PVST mode. 
    For more information about the 
    command, see 
    Layer 2—LAN 
    Switching Command Reference .  
    3.  Configure the 
    VLAN-to-instance mapping 
    table.  Approach 1: 
    instance
     instance-id  vlan  vlan-list  
    Approach 2: 
    vlan-mapping modulo  modulo  Optional. 
    Use either approach. 
    All VLANs in an MST region are 
    mapped to CIST (MSTI 0) by 
    default. 
    Not required in PVST mode. 
    For more information about the 
    commands, see Layer 2—LAN 
    Switching Command Reference
    .  
    4.  Activate MST region 
    configuration manually.  active 
    region-configuration  Not required in PVST mode. 
    For more information about the 
    command, see 
    Layer 2—LAN 
    Switching Command Reference .  
    5.  Display the currently activated 
    configuration information of 
    the MST region.  display stp region-configuration
     [ | 
    {  begin |  exclude | include  } 
    regular-expression  ]  Optional. 
    Available in any view. 
    You can view the VLANs mapped 
    to the MSTIs.  
    For more information about the 
    command, see 
    Layer 2—LAN 
    Switching Command Reference .  
    6.  Return to system view. 
    quit  Not required in PVST mode. 
    7.  Create a smart link group, 
    and enter smart link group 
    view.   smart-link group
     group-id   N/A
      
    						
    							 102 
    Step Command Remarks 
    8.  Configure protected VLANs 
    for the smart link group.  protected-vlan reference-instance 
    instance-id-list
      By default, no protected VLAN is 
    configured for a smart link group. 
     
     
    Configuring member ports for a smart link group 
    You can configure member ports for a smart link group ei
    ther in smart link group view or in interface view. 
    The configurations made in these two views have the same effect.  
    In smart link group view 
    To configure member ports for a smart link group in smart link group view:  
    Step Command 
    1.   Enter system view. 
    system-view 
    2.  Create a smart link group, and enter smart link 
    group view.   smart-link group
     group-id  
    3.  Configure member ports for a smart link group. port  interface-type interface-number  { master | slave } 
     
    In interface view 
    To configure member ports for a smart link group in interface view:  
    Step Command 
    1.  Enter system view.  system-view 
    2.  Enter Layer 2 Ethernet interface view or layer 2 
    aggregate interface view.  interface
     interface-type interface-number 
    3.   Configure member ports for a smart link group. port smart-link group  group-id {  master  | slave  } 
     
    Configuring role preemption for a smart link group  
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Create a smart link group, 
    and enter smart link group 
    view.   smart-link group
     group-id   N/A
     
    3.  Enable role preemption. 
    preemption mode role  By default, the device works in the 
    non-preemption mode. 
    4.
      Configure the preemption 
    delay.  preemption delay
     delay-time Optional. 
    1 second by default. 
     
     
    NOTE:  
    The preemption delay configuration takes effect only after role preemption is enabled. 
      
    						
    							 103 
    Enabling the sending of flush messages 
    The control VLAN configured for a smart link group must be different from that configured for any other 
    smart link group.  
    Make sure the configured control VLAN already exists, and assign the smart link group member ports to 
    the control VLAN.  
    The control VLAN of a smart link group should also be one of its protected VLANs. Do not remove the 
    control VLAN. Otherwise, flush messages cannot be sent properly.  
    To enable the sending of flush messages: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Create a smart link group, 
    and enter smart link group 
    view.   smart-link group
     group-id   N/A
     
    3.  Enable flush update in the 
    specified control VLAN.  flush enable
     [ control-vlan  vlan-id ] 
    Optional. 
    By default, flush update is enabled, 
    and VLAN 1 is the control VLAN. 
     
    Configuring the collaboration between Smart Link and CC of 
    CFD 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enter Layer 2 Ethernet 
    interface view.   interface
     interface-type 
    interface-number   N/A
     
    3.  Configure the collaboration 
    between Smart Link and the 
    CC function of CFD on the 
    port.   port smart-link group 
    group-id 
    track cfd cc   Optional. 
    By default, the collaboration 
    between Smart Link and the CC 
    function of CFD is not configured. 
     
     
    NOTE:  
    When configuring the collaboration between Smart Link and the CC function of CFD on a smart link 
    member port, make sure that the control VLAN of the smart link 
    group to which the port belongs matches
    the detection VLAN of the CC function of CFD. 
      
    						
    							 104 
    Configuring an associated device 
    Configuration prerequisites 
    Disable the spanning tree feature on the associated device’s ports that connect to the member ports of 
    the smart link group; otherwise, the ports will discard  flush messages when they are not in the forwarding 
    state in case of a topology change. 
    Enabling the receiving of flush messages 
    You do not need to enable all ports on the associat ed devices to receive flush messages sent from the 
    transmit control VLAN; you only need to enable those on the master and slave links between the smart 
    link device and the destination device.  
    Configuration guidelines 
    •   Configure all the control VLANs to receive flush messages.  
    •   If no control VLAN is specified for processing flush messages, the device forwards the received flush 
    messages without processing them.  
    •   Make sure the receive control VLAN is the same  as the transmit control VLAN configured on the 
    smart link device. If they are not the same, the associated device will forward the received flush 
    messages directly without any processing.  
    •   Do not remove the control VLANs. Otherwise, flush messages cannot be sent properly.  
    •   Make sure the control VLANs are existing VLANs, and assign the ports capable of receiving flush 
    messages to the control VLANs.  
    Configuration procedure 
    To enable the receiving of flush messages:  
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Enter Layer 2 Ethernet 
    interface view or Layer 2 
    aggregate interface view.  interface
     interface-type 
    interface-number   N/A 
    3.
      Configure the control VLANs 
    for receiving flush messages.  smart-link flush enable
     
    [  control-vlan  vlan-id-list ]  By default, no control VLAN exists 
    for receiving flush messages.
     
     
    Displaying and maintaining Smart Link 
     
    Task Command Remarks 
    Display smart link group information.  display smart-link group
     { group-id | 
    all  } [ |  { begin |  exclude | include  } 
    regular-expression  ]  Available in any view 
    Display information about the received 
    flush messages.
      display smart-link flush
     [ | { begin  | 
    exclude  | include  } regular-expression  ]  Available in any view
      
    						
    							 105 
    Task Command Remarks 
    Clear the statistics about flush 
    messages.  reset smart-link statistics 
    Available in user view 
     
    Smart Link configuration examples 
    Single smart link group configuration example 
    Network requirements 
    As shown in Figure 25 , Device C and Device D are smart link devices, and Device A, Device B, and 
    Device E are associated devices. Traffic of VLANs 1 through 30 on Device C and Device D are dually 
    uplinked to Device A.  
    Configure Smart Link on Device C and Device D for dual uplink backup. 
    Figure 25  Network diagram 
     
     
    Configuration procedure 
    1. Configure Device C: 
    # Create VLANs 1 through 30, map these VLANs  to MSTI 1, and activate the MST region 
    configuration.  
     system-view 
    [DeviceC] vlan 1 to 30 
    [DeviceC] stp region-configuration 
    [DeviceC-mst-region] instance 1 vlan 1 to 30 
    [DeviceC-mst-region] active region-configuration 
    [DeviceC-mst-region] quit 
    # Shut down GigabitEthernet 1/0/1 and Gigabi tEthernet 1/0/2, disable the spanning tree 
    feature on GigabitEthernet 1/0/1 and GigabitE thernet 1/0/2 separately, configure them as 
    trunk ports, and assign them to VLANs 1 through 30.  
    [DeviceC] interface gigabitethernet 1/0/1 
    [DeviceC-GigabitEthernet1/0/1] shutdown  
    						
    							 106 
    [DeviceC-GigabitEthernet1/0/1] undo stp enable 
    [DeviceC-GigabitEthernet1/0/1] port link-type trunk 
    [DeviceC-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 
    [DeviceC-GigabitEthernet1/0/1] quit 
    [DeviceC] interface gigabitethernet 1/0/2 
    [DeviceC-GigabitEthernet1/0/2] shutdown 
    [DeviceC-GigabitEthernet1/0/2] undo stp enable 
    [DeviceC-GigabitEthernet1/0/2] port link-type trunk 
    [DeviceC-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 
    [DeviceC-GigabitEthernet1/0/2] quit 
    # Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs. 
    [DeviceC] smart-link group 1 
    [DeviceC-smlk-group1] protected-vlan reference-instance 1 
    # Configure GigabitEthernet 1/0/1 as the master  port and GigabitEthernet 1/0/2 as the slave 
    port for smart link group 1.  
    [DeviceC-smlk-group1] port gigabitethernet1/0/1 master 
    [DeviceC-smlk-group1] port gigabitethernet1/0/2 slave 
    # Enable flush message sending in smart link gr oup 1, and configure VLAN 10 as the transmit 
    control VLAN.  
    [DeviceC-smlk-group1] flush enable control-vlan 10 
    [DeviceC-smlk-group1] quit 
    # Bring up GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 again.  
    [DeviceC] interface gigabitethernet 1/0/1 
    [DeviceC-GigabitEthernet1/0/1] undo shutdown 
    [DeviceC-GigabitEthernet1/0/1] quit 
    [DeviceC] interface gigabitethernet 1/0/2 
    [DeviceC-GigabitEthernet1/0/2] undo shutdown 
    [DeviceC-GigabitEthernet1/0/2] quit 
    2.  Configure Device D: 
    # Create VLANs 1 through 30, map these VLANs  to MSTI 1, and activate the MST region 
    configuration.  
     system-view 
    [DeviceD] vlan 1 to 30 
    [DeviceD] stp region-configuration 
    [DeviceD-mst-region] instance 1 vlan 1 to 30 
    [DeviceD-mst-region] active region-configuration 
    [DeviceD-mst-region] quit 
    # Shut down GigabitEthernet 1/0/1 and Gigabi tEthernet 1/0/2, disable the spanning tree 
    feature on GigabitEthernet 1/0/1 and GigabitE thernet 1/0/2 separately, configure them as 
    trunk ports, and assign them to VLANs 1 through 30.  
    [DeviceD] interface gigabitethernet 1/0/1 
    [DeviceD-GigabitEthernet1/0/1] shutdown 
    [DeviceD-GigabitEthernet1/0/1] undo stp enable 
    [DeviceD-GigabitEthernet1/0/1] port link-type trunk 
    [DeviceD-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 
    [DeviceD-GigabitEthernet1/0/1] quit 
    [DeviceD] interface gigabitethernet 1/0/2  
    						
    							 107 
    [DeviceD-GigabitEthernet1/0/2] shutdown 
    [DeviceD-GigabitEthernet1/0/2] undo stp enable 
    [DeviceD-GigabitEthernet1/0/2] port link-type trunk 
    [DeviceD-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 
    [DeviceD-GigabitEthernet1/0/2] quit 
    # Create smart link group 1, and configure all VLANs mapped to MSTI 1 as the protected VLANs. 
    [DeviceD] smart-link group 1 
    [DeviceD-smlk-group1] protected-vlan reference-instance 1 
    # Configure GigabitEthernet 1/0/1 as the master  port and GigabitEthernet 1/0/2 as the slave 
    port for smart link group 1.  
    [DeviceD-smlk-group1] port gigabitethernet1/0/1 master 
    [DeviceD-smlk-group1] port gigabitethernet1/0/2 slave 
    # Enable flush message sending in smart link gr oup 1, and configure VLAN 20 as the transmit 
    control VLAN.  
    [DeviceD-smlk-group1] flush enable control-vlan 20 
    [DeviceD-smlk-group1] quit 
    # Bring up GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 again.  
    [DeviceD] interface gigabitethernet 1/0/1 
    [DeviceD-GigabitEthernet1/0/1] undo shutdown 
    [DeviceD-GigabitEthernet1/0/1] quit 
    [DeviceD] interface gigabitethernet 1/0/2 
    [DeviceD-GigabitEthernet1/0/2] undo shutdown 
    [DeviceD-GigabitEthernet1/0/2] quit 
    3.  Configure Device B: 
    # Create VLANs 1 through 30. 
     system-view 
    [DeviceB] vlan 1 to 30 
    # Configure GigabitEthernet 1/0/1 as a trunk port, and assign it to VLANs 1 through 30. Enable 
    flush message receiving on it, and configure  VLAN 10 and VLAN 20 as the receive control 
    VLANs..  
    [DeviceB] interface gigabitethernet 1/0/1 
    [DeviceB-GigabitEthernet1/0/1] port link-type trunk 
    [DeviceB-GigabitEthernet1/0/1] port trunk permit vlan 1 to 30 
    [DeviceB-GigabitEthernet1/0/1] smart-link flush enable control-vlan 10 2\
    0 
    [DeviceB-GigabitEthernet1/0/1] quit 
    # Configure GigabitEthernet 1/0/2 as a trunk port , and assign it to VLANs 1 through 30. Disable 
    the spanning tree feature and enable flush message  receiving on it, and configure VLAN 20 as the 
    receive control VLAN.  
    [DeviceB] interface gigabitethernet 1/0/2 
    [DeviceB-GigabitEthernet1/0/2] port link-type trunk 
    [DeviceB-GigabitEthernet1/0/2] port trunk permit vlan 1 to 30 
    [DeviceB-GigabitEthernet1/0/2] undo stp enable 
    [DeviceB-GigabitEthernet1/0/2] smart-link flush enable control-vlan 20 
    [DeviceB-GigabitEthernet1/0/2] quit 
    # Configure GigabitEthernet 1/0/3 as a trunk port , and assign it to VLANs 1 through 30. Disable 
    the spanning tree feature and enable flush message  receiving on it, and configure VLAN 10 as the 
    receive control VLAN.   
    						
    All HP manuals Comments (0)

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