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).
Interoperation and Replacement Solution 1: C-H Model Networking

Interoperation and Replacement Solution 1: C-H Model Networking

Overview

In the C-H model, a Cisco switch directly connects to a Huawei S series switch that has no downstream Cisco switch connected.

When VTP is enabled on the Cisco switch to synchronize VLAN information, the Huawei S series switch cannot process VTP packets. Therefore, a VLAN needs to be configured manually on the Huawei S series switch.

Configuration Notes

  • This example applies to Huawei switches of all versions.
  • If switchport dynamic auto or switchport dynamic desirable is configured on the Cisco switch interface before the Cisco switch interface is directly connects to the Huawei S series switch, change it to switchport mode trunk to prevent DTP negotiation failure.

Networking Requirements

In Figure 5-9, a Huawei S series switch directly connects to a Cisco VTP server. The Cisco switch and user hosts connected to the Huawei S series switch need to communicate in VLAN 10.

Figure 5-9  Hybrid networking of the C-H model

Configuration Roadmap

  1. Check the configuration of the Cisco switch.
  2. Create a VLAN manually on the Huawei S series switch and add interfaces to the VLAN.

Procedure

  1. Check the Cisco VTP server configuration. The display depends on the device configuration.

    # Run the show running-config command to check the interface configuration.

    !
    hostname VTP_Sever
    !
    interface GigabitEthernet5/1
     switchport trunk encapsulation dot1q
     switchport mode trunk
    !
    interface GigabitEthernet5/2
     switchport trunk encapsulation dot1q
     switchport mode trunk
    !
    interface GigabitEthernet5/3
     switchport trunk encapsulation dot1q
     switchport mode trunk
    !

    If the interface configuration is incorrect, perform the following operations to configure the interface.

    VTP_Sever# configure terminal
    VTP_Sever(config)# interface gigabitethernet 5/1
    VTP_Sever(config-if)# switchport trunk encapsulation dot1q  //Configure an encapsulation mode; otherwise, the link type of an interface cannot be set to trunk.
    VTP_Sever(config-if)# switchport mode trunk  //Configure the interface connected to the switch as a trunk interface. The interface joins all VLANs by default.
    VTP_Sever(config-if)# exit
    VTP_Sever(config)# interface gigabitethernet 5/2
    VTP_Sever(config-if)# switchport trunk encapsulation dot1q
    VTP_Sever(config-if)# switchport mode trunk
    VTP_Sever(config-if)# exit
    VTP_Sever(config)# interface gigabitethernet 5/3
    VTP_Sever(config-if)# switchport trunk encapsulation dot1q
    VTP_Sever(config-if)# switchport mode trunk
    VTP_Sever(config-if)# exit
    

    # Run the show vlan brief command to check whether VLAN 10 has been created. If VLAN 10 is created, perform the following operation to create VLAN 10.

    VTP_Sever(config)# vlan 10

    # Run the show vtp status command to check whether the VTP working mode is server and whether the domain name is the same as that on the client. Run the show vtp password command to check whether the password is the same as that on the client.

    If the VTP configuration is different from that on the client, perform the following operations to configure the VTP server.

    VTP_Sever(config)# vtp domain Cisco  //Configure the VTP domain name.
    VTP_Sever(config)# vtp mode server  //Set the VTP mode to server.
    VTP_Sever(config)# vtp password Cisco  //Configure the VTP password.
    

  2. Check the Cisco VTP client configuration. The configurations of two VTP clients are the same. The following information is used for reference only.

    # Run the show running-config command to check the interface configuration.

    !
    hostname VTP_Client
    !
    interface GigabitEthernet0/1
     switchport access vlan 10
     switchport trunk encapsulation dot1q
     switchport mode access
    !
    interface GigabitEthernet0/2
     switchport access vlan 10
     switchport trunk encapsulation dot1q
     switchport mode access
    !
    interface GigabitEthernet0/48
     switchport trunk encapsulation dot1q
     switchport mode trunk
    !

    If the interface configuration is incorrect, perform the following operations to configure the interface.

    VTP_Client# configure terminal
    VTP_Client(config)# interface gigabitethernet 0/1
    VTP_Client(config-if)# switchport mode access  //Configure the interface connected to terminals as an access interface.
    VTP_Client(config-if)# switchport access vlan 10  //Add the interface to VLAN 10.
    VTP_Client(config-if)# exit
    VTP_Client(config)# interface gigabitethernet 0/2
    VTP_Client(config-if)# switchport mode access
    VTP_Client(config-if)# switchport access vlan 10
    VTP_Client(config-if)# exit
    VTP_Client(config)# interface gigabitethernet 0/48
    VTP_Client(config-if)# switchport trunk encapsulation dot1q  //Configure an encapsulation mode; otherwise, the link type of an interface cannot be set to trunk.
    VTP_Client(config-if)# switchport mode trunk  //Configure the interface connected to the switch as a trunk interface. The interface joins all VLANs by default.
    VTP_Client(config-if)# exit
    

    # Run the show vtp status command to check whether the VTP working mode is client and whether the domain name is the same as that on the server. Run the show vtp password command to check whether the password is the same as that on the server.

    If the VTP configuration is different from that on the server, perform the following operations to configure the VTP client.

    VTP_Client(config)# vtp domain Cisco  //Configure the VTP domain name.
    VTP_Client(config)# vtp mode client  //Set the VTP mode to client.
    VTP_Client(config)# vtp password Cisco  //Configure the VTP password.
    

  3. Configure the Huawei S series switch.

    <HUAWEI> system-view
    [HUAWEI] vlan 10  //Configure VLAN 10 manually.
    [HUAWEI-vlan10] quit
    [HUAWEI] interface GigabitEthernet0/0/48
    [HUAWEI-GigabitEthernet0/0/48] port link-type trunk  //Configure the interface connected to the switch as a trunk interface.
    [HUAWEI-GigabitEthernet0/0/48] port trunk allow-pass vlan 2 to 4094  //Add the interface to VLANs 2 to 4094.
    [HUAWEI-GigabitEthernet0/0/48] quit
    [HUAWEI] interface GigabitEthernet0/0/1
    [HUAWEI-GigabitEthernet0/0/1] port link-type access  //Configure the interface connected to terminals as an access interface.
    [HUAWEI-GigabitEthernet0/0/1] port default vlan 10  //Add the interface to VLAN 10.
    [HUAWEI-GigabitEthernet0/0/1] quit
    

  4. Verify the configuration.

    Run the display vlan 10 command to check whether interfaces on the Huawei S series switch have been added to VLAN 10.

Translation
Download
Updated: 2019-05-15

Document ID: EDOC1000114005

Views: 178253

Downloads: 8154

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