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
    							 230 
    Step Command Remarks 
    4.  Configure the encoding 
    format of the 
    management address as 
    character string.  lldp management-address-format 
    string 
    Optional. 
    By default, the management address is 
    encapsulated in the numeric format. 
     
     
    Setting other LLDP parameters 
    The Time to Live TLV carried in an LLDPDU determines how long the device information carried in the 
    LLDPDU can be saved on a recipient device.  
    By setting the TTL multiplier, you can configure the TTL of locally sent LLDPDUs, which determines how 
    long information about the local device can be saved on a neighboring device. The TTL is expressed by 
    using the following formula: 
    TTL = Min (65535, (TTL multiplier × LLDPDU transmit interval)) 
    A s  t he  ex p re ss ion  s hows,  t h e  T T L  c a n  be  u p  to  65535  se c on d s.  T T L s  g re a te r  t h a n  65535  wil l  b e  rou n d e d 
    down to 65535 seconds.  
    Configuration restrictions and guidelines 
    •   To make sure that LLDP neighbors can receive LLDPDUs to update information about the current 
    device before it ages out, configure both the LLDPD U transmit interval and delay to be less than the 
    TTL. 
    •   It is a good practice to set the LLDPDU transmit in terval to be no less than four times the LLDPDU 
    transmit delay. 
    •   If the LLDPDU transmit delay is greater than the LLDPDU transmit interval, the device uses the 
    LLDPDUs transmit delay as the transmit interval. 
    Configuration procedure 
    To change the TTL multiplier:  
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Set the TTL multiplier. 
    lldp hold-multiplier value  Optional. 
    4 by default. 
    3.
      Set the LLDPDU transmit 
    interval.  lldp timer tx-interval 
    interval  Optional. 
    30 seconds by default. 
    4.
      Set the LLDPDU transmit delay. 
    lldp timer tx-delay delay   Optional. 
    2 seconds by default. 
    5.
      Set the number of LLDPDUs 
    sent each time fast LLDPDU 
    transmission is triggered.  lldp fast-count 
    count  Optional. 
    3 by default. 
     
    Setting an encapsulation format for LLDPDUs 
    LLDPDUs can be encapsulated in the following formats: Ethernet II or SNAP frames.   
    						
    							 231 
    •  With Ethernet II encapsulation configured, an LLDP port sends LLDPDUs in Ethernet II frames and 
    processes only incoming, Ethernet II encapsulated LLDPDUs.  
    •   With SNAP encapsulation configured, an LLDP port sends LLDPDUs in SNAP frames and processes 
    only incoming, SNAP encapsulated LLDPDUs.  
    By default, Ethernet II frames encapsulate LLDPDUs. If the neighbor devices encapsulate LLDPDUs in 
    SNAP frames, configure the encapsulation format for LLDPDUs as SNAP to guarantee normal 
    communication with the neighbors.  
    To set the encapsulation format for LLDPDUs to SNAP: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enter Ethernet interface 
    view or port group view. 
    • Enter Layer 2/Layer 3 Ethernet interface 
    view: 
    interface interface-type interface-number  
    • Enter port group view: 
    port-group manual  port-group-name Use either command. 
    3.
      Set the encapsulation 
    format for LLDPDUs to 
    SNAP.   lldp encapsulation
     snap  Ethernet II encapsulation 
    format applies by default.
     
     
     NOTE: 
    LLDP-CDP (Cisco Discovery Protocol) packets use only SNAP encapsulation. 
     
    Configuring CDP compatibility 
    To make your device work with Cisco IP phones, you must enable CDP compatibility. 
    If your LLDP-enabled device cannot recognize CDP packe ts, it does not respond to the requests of Cisco 
    IP phones for the voice VLAN ID configured on the device. As a result, a requesting Cisco IP phone sends 
    voice traffic without any tag to your device, and, as a result, your device cannot differentiate the voice 
    traffic from other types of traffic. 
    With CDP compatibility enabled, your device can receive and recognize CDP packets from a Cisco IP 
    phone and respond with CDP packets, which carry the voice VLAN configuration TLVs. According to the 
    voice VLAN configuration TLVs, the IP phone automatically configures the voice VLAN. As a result, the 
    voice traffic is confined in the configured voice VLAN, and differentiated from other types of traffic.  
    For more information about voice VLANs, see  Configuring a voice VLAN. 
    Configuration prerequisites 
    Before you configure CDP compatibility, complete the following tasks: 
    •  Globally enable LLDP.  
    •   E n a b l e  L L D P  o n  t h e  p o r t  c o n n e c t i n g  t o  a n  I P  p h o n e   and configure the port to operate in TxRx mode.   
    Configuring CDP compatibility   
    						
    							 232 
     CAUTION: 
    The maximum TTL value that CDP allows is 255 seco
    nds. To make CDP-compatible LLDP work properly 
    with Cisco IP phones, be sure that the product of the TTL multiplier and the LLDPDU transmit interval is less
    than 255 seconds. 
     
    CDP-compatible LLDP operates in one of the follows modes: 
    •   TxRx —CDP packets can be transmitted and received.  
    •   Disable —CDP packets cannot be transmitted or received.  
    To make CDP-compatible LLDP take effect on specific ports, first enable CDP-compatible LLDP globally, 
    and then configure CDP-compatible LLDP to operate in TxRx mode.  
    To enable LLDP to be compatible with CDP: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enable CDP compatibility 
    globally.  lldp compliance cdp 
    Disabled by default.  
    3.  Enter Ethernet interface view 
    or port group view. 
    • Enter Layer 2/Layer 3 Ethernet interface 
    view: 
    interface interface-type 
    interface-number 
    • Enter port group view: 
    port-group manual  port-group-name Use either command. 
    4.
      Configure CDP-compatible 
    LLDP to operate in TxRx 
    mode.  lldp compliance admin-status cdp txrx 
    Disable mode by default. 
     
    Enabling LLDP to automatically discover IP phones 
    In a traditional voice VLAN network, the switch maps the source MAC addresses of IP phones to a limited 
    number of OUI addresses to allow them to access th e network. This method restricts the types of IP 
    phones on the network, if the IP phones with the source MAC addresses match the same OUI address are 
    categorized as a type. 
    To break the restriction, you can enable the switch to automatically discover IP phones through LLDP. With 
    this function, the switch can automatically discover the peer, and exchange LLDP TLVs with the peer. If the 
    LLDP System Capabilities TLV received on a port sh ows that the peer is phone capable, the switch 
    determines that the peer is an IP phone and sends an  LLDP TLV carrying the voice VLAN configuration to 
    the peer. 
    When the IP phone discovery process is complete, the port will automatically join the voice VLAN and 
    improve the transmission priority of the voice traffic for the IP phone. To ensure that the IP phone can pass 
    authentication, the switch will add the MAC address of the IP phone to the MAC address table. 
    For more information about voice VLANs, see  Configuring a voice VLAN. 
    Configuration prerequisites 
    Before you enable the switch to automatically discover IP phones through LLDP, complete the following 
    tasks:  
    						
    							 233 
    •  Enable LLDP globally and on ports. 
    •   Configure voice VLANs. 
    Configuration procedure 
    To enable LLDP to automati cally discover IP phones:  
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Enable LLDP to automatically 
    discover IP phones.  voice vlan track lldp 
    Disabled by default. 
     
     IMPORTANT: 
    •
      When the switch is enabled to automatically discover IP phones throu
    gh LLDP, you can connect at most
    five IP phones to each port of the switch. 
    •   You cannot use this function together with CDP compatibility. 
     
    Configuring LLDP to advertise a specific voice 
    VLAN 
    Voice VLAN advertisement through LLDP is available only for LLDP-enabled IP phones. If 
    CDP-compatibility is enabled, this feature is also available for CDP-enabled IP phones. For more 
    information about CDP compatibility, see  Configuring CDP compatibility. F
     or more information about 
    the voice VLANs, see  Configuring a voice VLAN .
      
    Configuration guidelines 
    Use this feature in one of the following scenarios: 
    •  Decrease the voice VLAN processing delay in an IRF fabric.  
    On an LLDP-enabled port, LLDP advertises the voice  VLAN information to the IP hone connected to 
    the port. When a packet arrives on the port, the switch compares the source MAC address against 
    its voice device OUI list. If a match is found, th e switch learns the MAC address in the voice VLAN, 
    and promotes the forwarding priority for the packet.  Because this process is completed in software, 
    in an IRF fabric, MAC address learning and synchr onization of the learned MAC address entry to 
    all member devices introduces an undesirable delay. Directly specifying the voice VLAN to be 
    advertised by LLDP enables the IRF fabric to lear n and synchronize MAC address entries faster in 
    hardware.  
    •   Avoid configuring the voice VLAN function on a port.  
    Figure 75  sh
     ows the procedure of voice VLAN advertisement through LLDP.   
    						
    							 234 
    Figure 75 Voice VLAN advertisement through LLDP 
     
     
    With the received voice VLAN information, the IP phone automatically completes the voice VLAN 
    configuration, including the voice VLAN ID, tagging status, and priority. This voice VLAN can be the 
    voice VLAN directly specified for LLDP advertisement, the voice VLAN configured on the port, or the voice 
    VLAN assigned by a server, depending on your configuration.  
    To identify the voice VLAN advertised by LLDP, execute the  display lldp local-information command, and 
    examine the MED information fields in the command output.  
    Configuration procedure 
    To configure LLDP to advertise a specific voice VLAN:  
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enable LLDP globally. 
    lldp enable  By default, LLDP is globally 
    enabled. 
    3.
      Enter interface view or port 
    group view.  
    • Enter Layer 2 Ethernet interface 
    view: 
    interface  interface-type 
    interface-number 
    •  Enter port group view: 
    port-group manual 
    port-group-name   Use one of the commands.  
    4.
      Enable LLDP. 
    lldp enable  Optional. 
    By default, LLDP is enabled on 
    a port. 
    5.
      Configure LLDP to advertise a 
    specific voice VLAN.  lldp voice-vlan 
    vlan-id   By default, LLDP advertises the 
    voice VLAN configured on the 
    port. 
      
    						
    							 235 
    Dynamically advertising server-assigned VLANs 
    through LLDP 
    Dynamic advertisement of server-assigned VLANs through LLDP must work with 802.1X or MAC 
    authentication, and is available only for LLDP-enabled IP phones. If 802.1X authentication is used, make 
    sure the IP phones also support 802.1X authentication.  
    To implement this function for an IP phone, perform the following configuration tasks: 
    •  Enable LLDP globally and on the port connected to the IP phone.  
    •   Configure 802.1X or MAC authentication to make sure the IP phone can pass security 
    authentication. For more information about 802.1X authentication, MAC authentication, and VLAN 
    assignment by servers, see  Security Configuration Guide . 
    •   Configure VLAN authorization for the IP phone on the authentication server.  
    After the IP phone passes authentication, LLDP advertises the server-assigned VLAN in the Network Policy 
    TLV to the IP phone. The IP phone will send its traffic tagged with the assigned VLAN. 
    Configuring LLDP trapping 
    LLDP trapping notifies the network management system (NMS) of events such as newly-detected 
    neighboring devices and link malfunctions. 
    LLDP traps are sent periodically, and the interval is configurable. To prevent excessive LLDP traps from 
    being sent when the topology is unstable, set a trap transmit interval for LLDP.  
    To configure LLDP trapping: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enter Ethernet interface view or port 
    group view. 
    • Enter Layer 2/Layer 3 Ethernet 
    interface view: 
    interface interface-type 
    interface-number 
    • Enter port group view: 
    port-group manual  port-group-name Use either command. 
    3.
      Enable LLDP trapping. 
    lldp notification remote-change enable  Disabled by default. 
    4.
      Return to system view. 
    quit  N/A 
    5.  Set the LLDP trap transmit interval. 
    lldp timer notification-interval interval  Optional. 
    5 seconds by default. 
     
    Displaying and maintaining LLDP 
      
    						
    							 236 
    Task Command Remarks 
    Display the global LLDP 
    information or the information 
    contained in the LLDP TLVs to be 
    sent through a port. display lldp local-information
     [ global | interface  
    interface-type interface-number  ] [ | { begin |  exclude 
    |  include  } regular-expression  ]  Available in any 
    view 
    Display the information contained 
    in the LLDP TLVs sent from 
    neighboring devices.
     display lldp neighbor-information 
    [ brief | interface 
    interface-type interface-number  [ brief ] | list 
    [  system-name  system-name ] ] [ |  { begin | exclude  | 
    include  } regular-expression ]  Available in any 
    view 
    Display LLDP statistics. 
    display lldp statistics
     [ global | interface 
    interface-type interface-number  ] [ |  { begin |  exclude 
    |  include  } regular-expression  ]  Available in any 
    view 
    Display LLDP status of a port. 
    display lldp status 
    [ interface  interface-type 
    interface-number  ] [ | { begin  | exclude  | include  } 
    regular-expression  ]  Available in any 
    view 
    Display types of advertisable 
    optional LLDP TLVs.  display lldp tlv-config
     [ interface  interface-type 
    interface-number  ] [ |  { begin |  exclude | include  } 
    regular-expression  ]   Available in any 
    view 
     
    LLDP configuration examples 
    Basic LLDP configuration example 
    Network requirements 
    As shown in Figure 76
    , the NMS and Switch A are located in the same Ethernet. An MED device and 
    Switch B are connected to GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A. 
    Enable LLDP on the ports of Switch A and Switch B to  monitor the link between Switch A and Switch B and 
    the link between Switch A and the MED device on the NMS. 
    Figure 76  Network diagram 
     
     
    Configuration procedure 
    1. Configure Switch A: 
    # Enable LLDP globally. 
     system-view 
    [SwitchA] lldp enable  
    						
    							 237 
    # Enable LLDP on GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2. (You can skip this step 
    because LLDP is enabled on ports by defaul t.) Set the LLDP operating mode to Rx.  
    [SwitchA] interface gigabitethernet 1/0/1 
    [SwitchA-GigabitEthernet1/0/1] lldp enable 
    [SwitchA-GigabitEthernet1/0/1] lldp admin-status rx 
    [SwitchA-GigabitEthernet1/0/1] quit 
    [SwitchA] interface gigabitethernet 1/0/2 
    [SwitchA-GigabitEthernet1/0/2] lldp enable 
    [SwitchA-GigabitEthernet1/0/2] lldp admin-status rx 
    [SwitchA-GigabitEthernet1/0/2] quit 
    2. Configure Switch B: 
    # Enable LLDP globally. 
     system-view 
    [SwitchB] lldp enable 
    # Enable LLDP on GigabitEthernet1/0/1. (You can sk ip this step because LLDP is enabled on ports 
    by default.) Set the LLDP operating mode to Tx.  
    [SwitchB] interface gigabitethernet 1/0/1 
    [SwitchB-GigabitEthernet1/0/1] lldp enable 
    [SwitchB-GigabitEthernet1/0/1] lldp admin-status tx 
    [SwitchB-GigabitEthernet1/0/1] quit 
    3.  Verify the configuration: 
    # Display the global LLDP status an d port LLDP status on Switch A. 
    [SwitchA] display lldp status 
    Global status of LLDP: Enable 
    The current number of LLDP neighbors: 2 
    The current number of CDP neighbors: 0 
    LLDP neighbor information last changed time: 0 days,0 hours,4 minutes,40\
     seconds 
    Transmit interval              : 30s 
    Hold multiplier                : 4 
    Reinit delay                   : 2s 
    Transmit delay                 : 2s 
    Trap interval                  : 5s 
    Fast start times               : 3 
     
    Port 1 [GigabitEthernet1/0/1]: 
    Port status of LLDP            : Enable 
    Admin status                   : Rx_Only 
    Trap flag                      : No 
    Polling interval               : 0s 
     
    Number of neighbors:             1 
    Number of MED neighbors        : 1 
    Number of CDP neighbors        : 0 
    Number of sent optional TLV    : 0 
    Number of received unknown TLV : 0 
     
    Port 2 [GigabitEthernet1/0/2]:  
    						
    							 238 
    Port status of LLDP            : Enable 
    Admin status                   : Rx_Only 
    Trap flag                      : No 
    Polling interval               : 0s 
     
    Number of neighbors:             1 
    Number of MED neighbors        : 0 
    Number of CDP neighbors        : 0 
    Number of sent optional TLV    : 0 
    Number of received unknown TLV : 3 
    As the sample output shows, GigabitEthernet 1/0/1 of Switch A connects to an MED device, and 
    GigabitEthernet 1/0/2 of Switch A connects to a  non-MED device. Both ports operate in Rx mode, 
    and they only receive LLDPDUs.  
    # Remove the link between Switch A and Switch B  and then display the global LLDP status and port 
    LLDP status on Switch A. 
    [SwitchA] display lldp status 
    Global status of LLDP: Enable 
    The current number of LLDP neighbors: 1 
    The current number of CDP neighbors: 0 
    LLDP neighbor information last changed time: 0 days,0 hours,5 minutes,20\
     seconds 
    Transmit interval              : 30s 
    Hold multiplier                : 4 
    Reinit delay                   : 2s 
    Transmit delay                 : 2s 
    Trap interval                  : 5s 
    Fast start times               : 3 
     
    Port 1 [GigabitEthernet1/0/1]: 
    Port status of LLDP            : Enable 
    Admin status                   : Rx_Only 
    Trap flag                      : No 
    Polling interval               : 0s 
     
    Number of neighbors             : 1 
    Number of MED neighbors         : 1 
    Number of CDP neighbors         : 0 
    Number of sent optional TLV     : 0 
    Number of received unknown TLV  : 5 
     
    Port 2 [GigabitEthernet1/0/2]: 
    Port status of LLDP            : Enable 
    Admin status                   : Rx_Only 
    Trap flag                      : No 
    Polling interval               : 0s 
     
    Number of neighbors             : 0 
    Number of MED neighbors         : 0 
    Number of CDP neighbors         : 0  
    						
    							 239 
    Number of sent optional TLV     : 0 
    Number of received unknown TLV  : 0 
    As the sample output shows, GigabitEthernet 1/0/2 of Switch A does not connect to any 
    neighboring devices.  
    CDP-compatible LLDP configuration example 
    Network requirements 
    As shown in Figure 77 , GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2 of Switch A are each 
    connected to a Cisco IP phone. The two IP phones send out tagged voice traffic.  
    Configure voice VLAN 2 on Switch A. Enable CDP compatibility of LLDP on Switch A to allow the Cisco 
    IP phones to automatically configure the voice VLAN, confining their voice traffic within the voice VLAN 
    and isolating the voice traffic from other types of traffic.  
    Figure 77  Network diagram 
     
     
    Configuration procedure 
    1. Configure a voice VLAN on Switch A: 
    # Create VLAN 2.  
     system-view 
    [SwitchA] vlan 2 
    [SwitchA-vlan2] quit 
    # Set the link type of GigabitEthernet 1/0/1  and GigabitEthernet 1/0/2 to trunk and enable 
    voice VLAN on them.  
    [SwitchA] interface gigabitethernet 1/0/1 
    [SwitchA-GigabitEthernet1/0/1] port link-type trunk 
    [SwitchA-GigabitEthernet1/0/1] voice vlan 2 enable 
    [SwitchA-GigabitEthernet1/0/1] quit 
    [SwitchA] interface gigabitethernet 1/0/2 
    [SwitchA-GigabitEthernet1/0/2] port link-type trunk 
    [SwitchA-GigabitEthernet1/0/2] voice vlan 2 enable 
    [SwitchA-GigabitEthernet1/0/2] quit 
    2.  Configure CDP-compatible LLDP on Switch A: 
    # Enable LLDP globally and enable LLDP to be compatible with CDP globally.  
    [SwitchA] lldp enable  
    [SwitchA] lldp compliance cdp 
    # Enable LLDP (you can skip this step because LLDP is  enabled on ports by default.), configure LLDP 
    to operate in TxRx mode, and configure CDP-compatible LLDP to operate in TxRx mode on 
    GigabitEthernet 1/0/1 and GigabitEthernet 1/0/2.  
    [SwitchA] interface gigabitethernet 1/0/1 
    [SwitchA-GigabitEthernet1/0/1] lldp enable 
    [SwitchA-GigabitEthernet1/0/1] lldp admin-status txrx 
    [SwitchA-GigabitEthernet1/0/1] lldp compliance admin-status cdp txrx  
    						
    All HP manuals Comments (0)

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