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

Created: Feb 28, 2019 15:07:01 33 0 0 0

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 2-79, 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 2-79  Networking of VCMP and LNP 
imgDownload?uuid=f8c488f8c089410684275b8

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

See more please click 

https://support.huawei.com/enterprise/en/doc/EDOC1000069520/9aadccc0/comprehensive-configuration-examples


  • x
  • convention:

Reply

Reply
You need to log in to reply to the post Login | Register

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " Privacy."
If the attachment button is not available, update the Adobe Flash Player to the latest version!
Fast reply Scroll to top