Got it

VLANs - Access and Trunk Ports Configuration

Created: Nov 16, 2021 16:58:03Latest reply: Dec 9, 2021 17:46:22 310 9 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hello everyone, new to the forum here hehe!


So I have bought a Huawei Switch S1730S-S48T4S-A for the company I work for.

All of the other switches in the company are Cisco.

We have 4 VLANs - VLAN 10, VLAN 5, VLAN 105, VLAN 100

All of the VLANs are created on the switches and each switch has two or more trunk ports (4 max)


I have configured this switch through the web interface, configured access and trunk ports in it.

I know the ports are configured correctly because if I connect a VLAN port to an unmanaged switch we have, we can reach the DHCP server and get connectivity, the problem is when connecting one of the trunk ports, to another trunk port on one of the CISCO switches we have, we get no IP connectivity, just an APIPA address.


I have run diagnosis tool One Click Collection:


interface GigabitEthernet0/0/47

 port link-type access

 port default vlan 5

 port description desktop

#

interface GigabitEthernet0/0/48

 port link-type access

 port default vlan 105

 port description desktop

#

interface GigabitEthernet0/0/49

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 port description switch

#

interface GigabitEthernet0/0/50

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 port description switch

#

interface GigabitEthernet0/0/51

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 port description switch

#

interface GigabitEthernet0/0/52

 port link-type trunk

 port trunk allow-pass vlan 2 to 4094

 port description switch


So according to this I have everything I need in order to connect trunk-to-trunk and get IPs according to the VLANs I have configured on the ports. 

Can you guys help me out? Anything else you want me to post?

I have also disabled DHCP server function on the switch as we already have a Windows Server running that service.


Thanks in advace!

Featured Answers
Diego.Silva
MVE Author Created Nov 16, 2021 21:08:37

Hi Friend,

your configuration is correct.

Please, validate the following points:

1 - Validate if the Cisco switch port is trunk
2- Validate which VLANs are being allowed on the Cisco switch. Make sure they are the same as those allowed on Huawei.


A suggestion for your configuration, at the moment you are allowing all the VLANS to pass in the trunk, however you are using only the VLANS VLAN 10, VLAN 5, VLAN 105, VLAN 100. Change the configuration to:

port trunk allow-pass vlan 5, 10, 105,100



tks
View more
  • x
  • convention:

Navin_kay
Navin_kay Created Nov 17, 2021 05:23:08 (0) (0)
 
S_Noch
S_Noch Created Nov 25, 2021 16:48:10 (0) (0)
 

Recommended answer

chenhui
Admin Created Nov 19, 2021 03:14:07

Hi,
Please check whether the trunk interface on Huawei and Cisco device are in up state, and the VLANs that are allowed to pass through are correct.

View more
  • x
  • convention:

S_Noch
S_Noch Created Nov 25, 2021 16:48:01 (0) (0)
 
All Answers
Hello User. we are reviewing your question and we will answer you shortly. Thanks.
View more
  • x
  • convention:

Diego.Silva
Diego.Silva MVE Author Created Nov 16, 2021 21:08:37

Hi Friend,

your configuration is correct.

Please, validate the following points:

1 - Validate if the Cisco switch port is trunk
2- Validate which VLANs are being allowed on the Cisco switch. Make sure they are the same as those allowed on Huawei.


A suggestion for your configuration, at the moment you are allowing all the VLANS to pass in the trunk, however you are using only the VLANS VLAN 10, VLAN 5, VLAN 105, VLAN 100. Change the configuration to:

port trunk allow-pass vlan 5, 10, 105,100



tks
View more
  • x
  • convention:

Navin_kay
Navin_kay Created Nov 17, 2021 05:23:08 (0) (0)
 
S_Noch
S_Noch Created Nov 25, 2021 16:48:10 (0) (0)
 
Hi,
Can you make a simple topology demo, actually, I'm still not clear about your scenario.
View more
  • x
  • convention:

Navin_kay
Navin_kay Created Nov 17, 2021 05:23:16 (0) (0)
 
Hi,
Please check whether the trunk interface on Huawei and Cisco device are in up state, and the VLANs that are allowed to pass through are correct.

View more
  • x
  • convention:

S_Noch
S_Noch Created Nov 25, 2021 16:48:01 (0) (0)
 
Posted by Diego.Silva at 2021-11-16 21:08 Hi Friend, your configuration is correct.Please, validate the following points:1 - Validate if the C ...
@Diego.Silva

Thank you so much for this information.
I was able to make it work by allowing specific VLANs on the trunk to pass on both Huawei and Cisco, I don't know why just enabling them all to pass just doesn't work.
Would it be something related to default VLAN on both brands?

Thanks!
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

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 " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.