Ruijie Community

Title: How to configure trunk port on Ruijie device? [Print this page]

Author: GTAC-Sam    Time: 2022-3-2 11:39
Title: How to configure trunk port on Ruijie device?
This example shows how to prune a trunk port to carry traffic only for vlan 5, 10 and 20-30
Ruijie#configure terminal
Ruijie(config)#interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet0/1)#switchport mode trunk
Ruijie(config-if-GigabitEthernet0/1)#switchport trunk allowed vlan remove 1-4,6-9,11-19,31-4094  
Ruijie(config-if-GigabitEthernet 0/1)#end
Ruijie#wr


Author: soporte@wifiemp    Time: 2022-9-2 05:17
Hi there. I'm trying to configure a trunk port in a Ruijie AP180 in the GigabitEthernet 0/1 port. This is my configuration as follows:



interface GigabitEthernet 0/1
encapsulation dot1Q 1
ip dhcp snooping trust

interface GigabitEthernet 0/1.23
encapsulation dot1Q 23
ip dhcp snooping trust

interface GigabitEthernet 0/1.27
encapsulation dot1Q 27
ip dhcp snooping trust

interface GigabitEthernet 0/2
encapsulation dot1Q 23

interface GigabitEthernet 0/3
encapsulation dot1Q 27

However It doesn´t work as it should be neither the Gigabit 0/2 or 0/3 are working, I followed some tutorials from community. Any advide? Im using the lastest firmware



Author: yujiamin@ruijie    Time: 2022-9-2 15:31
Reinier  Ballester replied at 2022-9-2 05:17
Hi there. I'm trying to configure a trunk port in a Ruijie AP180 in the GigabitEthernet 0/1 port. Th ...

Dear sir

May I know how you test that it cannot work? Does the vlan23 and vlan27 can go through the g0/1 successfully?


Best regards
Jenny


Author: soporte@wifiemp    Time: 2022-9-6 10:48
GTAC-Jenny replied at 2022-9-2 15:31
Dear sir

May I know how you test that it cannot work? Does the vlan23 and vlan27 can go through t ...

Hi there, I resolved that in this way:
I put the Cisco port switch in trunk mode witch native vlan 23 an passing aditional the vlan 27.
In the AP the default native vlan is 1 so work in all interfaces as "23". So I deleted the 23 and just pass the 27 and put in the the second port the 27 and work as it should.
Thank you

Author: daniel.capina@n    Time: 2024-3-15 15:54
Edited by Dan Capina at 2024-3-15 15:56

Reinier  Ballester replied at 2022-9-6 10:48Hi there, I resolved that in this way:I put the Cisco port switch in trunk mode witch native vlan ...
AP840-I version AP_RGOS 11.9(6)W1B1, Release(09173122)How do I configure the trunk thru CLI or WEB?
Author: yangyue1@ruijie    Time: 2024-3-15 16:05
Dan Capina replied at 2024-3-15 15:54
Reinier  Ballester replied at 2022-9-6 10:48Hi there, I resolved that in this way:I put the Cisco po ...

Hello sir, trunk or access is switch concept, you cannot cobfigure it on AP





Welcome to Ruijie Community (https://community.ruijienetworks.com/) Powered by Discuz! X3.2