Interworking 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 S series 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 2-56, 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.
Configuration Roadmap
The configuration roadmap is as follows:
- Check the configuration of the Cisco switch.
- Create a VLAN manually on the Huawei S series switch and add interfaces to the VLAN.
Procedure
- 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