No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

S2700, S3700, S5700, S6700, S7700, and S9700 Series Switches Interoperation and Replacement Guide

This document provides typical configuration examples for interoperation between Huawei switches and mainstream IP phones, firewalls, routers, Microsoft NLB servers, multi-NIC servers, Cisco switches, and SolarWinds.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Replacement Guide for Huawei VCMP+LNP and Cisco VTP+DTP

Replacement Guide for Huawei VCMP+LNP and Cisco VTP+DTP

Overview

When Cisco switches that use VTP and DTP are deployed on the live network, Huawei switches running VCMP and LNP can replace the Cisco switches.

Configuration Notes

  • This example applies to Huawei switches of V200R005 and later versions.
  • On Huawei switches, LNP is used globally and on interfaces by default. The interface that is negotiated as an access interface joins VLAN 1 by default, and the interface that is negotiated as a trunk interface joins all VLANs by default.
  • Huawei switches are VCMP clients by default.

Networking Requirements

In Figure 5-12, terminals are connected to switches to implement Layer 2 connectivity. The network scale is large, so the VLAN and link type configurations are complex. The configurations need to be simplified to reduce the maintenance workload.

Figure 5-12  Networking of VCMP and LNP

Configuration Roadmap

  1. Configure VCMP to implement VLAN synchronization between devices.
  2. Configure LNP to implement auto-negotiation of link types of interfaces.

Procedure

  1. Configure VCMP.

    By default, VCMP on an interface is enabled. If VCMP is disabled, run the undo vcmp disable command in the interface view to enable it.

    # Configure the VCMP server.

    <HUAWEI> system-view
    [HUAWEI] sysname Server
    [Server] vcmp role server  //The default VCMP role is the client.
    [Server] vcmp domain vd1  /Set the VCMP domain name to vd1.
    [Server] vcmp device-id server  //Set the VCMP device ID to server.
    [Server] vcmp authentication sha2-256 password Hello  //Configure a VCMP authentication password.
    [Server] vlan batch 10 20  //Manually create VLANs on the VCMP server.

    # Configure Client1. By default, a Huawei S series switch is a VCMP client. This configuration is not required.

    <HUAWEI> system-view
    [HUAWEI] sysname Client1
    [Client1] vcmp domain vd1  //Set the VCMP domain name to vd1, which must be the same as that on the VCMP server.
    [Client1] vcmp device-id server  //Set the VCMP device ID to server, which must be the same as that on the VCMP server.
    [Client1] vcmp authentication sha2-256 password Hello  //Configure a VCMP authentication password, which must be the same as that on the VCMP server.
    

    # Configure Client2.

    <HUAWEI> system-view
    [HUAWEI] sysname Client2
    [Client2] vcmp domain vd1  //Set the VCMP domain name to vd1, which must be the same as that on the VCMP server.
    [Client2] vcmp device-id server  //Set the VCMP device ID to server, which must be the same as that on the VCMP server.
    [Client2] vcmp authentication sha2-256 password Hello  //Configure a VCMP authentication password, which must be the same as that on the VCMP server.
    

  2. Configure LNP.

    By default, LNP on an interface is enabled. If LNP is disabled, run the undo port negotiation disable command in the interface view to enable it.

    # Configure the VCMP server.

    When an interface is negotiated as a trunk interface, the interface joins all VLANs by default. There is no need to modify the VLAN configuration of the interface on the VCMP server.

    # Configure Client1.

    [Client1] interface GigabitEthernet 0/0/1
    [Client1-GigabitEthernet0/0/1] port default vlan 10  //The link type of the interface connected to the PC is negotiated as an access interface, so this command is used to configure the VLAN that the interface joins. When the link type of an interface is negotiated as a trunk, the interface joins all VLANs by default.
    [Client1-GigabitEthernet0/0/1] quit
    [Client1] interface GigabitEthernet 0/0/3
    [Client1-GigabitEthernet0/0/3] port default vlan 20
    [Client1-GigabitEthernet0/0/3] quit

    # Configure Client2.

    [Client2] interface GigabitEthernet 0/0/1
    [Client2-GigabitEthernet0/0/1] port default vlan 10  
    [Client2-GigabitEthernet0/0/1] quit
    [Client2] interface GigabitEthernet 0/0/3
    [Client2-GigabitEthernet0/0/3] port default vlan 20
    [Client2-GigabitEthernet0/0/3] quit

  3. Verify the configuration.

    Run the display lnp interface interface-type interface-number command to check the auto-negotiation status of a specified Layer 2 interface. The VCMP server is used as an example.

    [Server] display lnp interface gigabitethernet0/0/2
    LNP information for GigabitEthernet0/0/2:
      Port link type: trunk
      Negotiation mode: desirable
      Hello timer expiration(s): 7
      Negotiation timer expiration(s): 0
      Trunk timer expiration(s): 278
      FSM state: trunk
    
      Packets statistics
      56 packets received
        0 packets dropped
          bad version: 0, bad TLV(s): 0, bad port link type: 0,
          bad negotiation state: 0, other: 0
      58 packets output
        0 packets dropped
          other: 0

    Run the display lnp summary command to check auto-negotiation information on all interfaces of the Layer 2 device. The VCMP server is used as an example.

    [Server] display lnp summary
    Global LNP : Negotiation enable
    -------------------------------------------------------------------------------
    C: Configured; N: Negotiated; *: Negotiation disable;
    Port         link-type(C)   link-type(N)   InDropped   OutDropped  FSM         
    -------------------------------------------------------------------------------
    GE0/0/1      desirable      access         0           0           access
    GE0/0/2      desirable      trunk          0           0           trunk
    GE0/0/3      desirable      access         0           0           access

    Run the display vcmp status command to check the VCMP configuration, including the VCMP domain name, VCMP role, device ID, configuration revision number, and VCMP domain authentication password. The VCMP server is used as an example.

    [Server] display vcmp status
    VCMP information:
    Domain                  : vd1
    Role                    : Server
    Server ID               : server
    Configuration Revision  : 0x239c0000
    Password                : ******

    Run the display vlan summary command on Client1 and Client2. You can see that Client1 and Client2 synchronize VLAN information of the VCMP server.

    [Client1] display vlan summary
    Static VLAN:                                                                    
    Total 3 static VLAN.                                                            
      1 10 20                                                                          
                                                                                    
    Dynamic VLAN:                                                                   
    Total 0 dynamic VLAN.                                                           
                                                                                    
    Reserved VLAN:                                                                  
    Total 0 reserved VLAN.
    [Client2] display vlan summary
    Static VLAN:                                                                    
    Total 3 static VLAN.                                                            
      1 10 20                                                                          
                                                                                    
    Dynamic VLAN:                                                                   
    Total 0 dynamic VLAN.                                                           
                                                                                    
    Reserved VLAN:                                                                  
    Total 0 reserved VLAN.

Configuration Files

  • Server configuration file

    #
    sysname Server
    #
    vcmp role server
    vcmp domain vd1
    vcmp device-id server
    vcmp authentication sha2-256 password %^%#yU&+/**sz5+ed=G.N\|<^l%OB.lY2);^"M.HTT%X%^%#
    #
    vlan batch 10 20
    #
    return
  • Client1 configuration file

    #
    sysname Client1
    #
    vcmp domain vd1
    vcmp device-id server
    vcmp authentication sha2-256 password %^%#*cIQ@Y+-Y8s-NUFF{!yCPOB,E"\7KSm:!sV,"Y'8%^%#
    #
    interface GigabitEthernet0/0/1
     port default vlan 10
    #
    interface GigabitEthernet0/0/3
     port default vlan 20
    #
    return
  • Client2 configuration file

    #
    sysname Client2
    #
    vcmp domain vd1
    vcmp device-id server
    vcmp authentication sha2-256 password %^%#dH]{4>$(#+z=6g#q{B9~:@-}:|rJD2)X@iAPi.-,%^%#
    #
    interface GigabitEthernet0/0/1
     port default vlan 10
    #
    interface GigabitEthernet0/0/3
     port default vlan 20
    #
    return
Translation
Download
Updated: 2019-05-15

Document ID: EDOC1000114005

Views: 176991

Downloads: 8150

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next