Forgot password?
 Register now

Welcome to use this form to feedback your problems with Ruijie Community

The category of your feedback

Your Feedback

Your Email address (optional):

How to configure the trunk interface to make only certain VLANs pass through on Ruijie switch? Reply

GTAC-Sophia

Level 4

Ruijie Staff

How to configure the trunk interface to make only certain VLANs pass through on Ruijie switch?
1565 0 2022-11-13 17:16:48
Original
You can use the following command to configuretrunk port and permit special VLANs on Ruijie switch.
Ruijie>enable
Ruijie#configure ter
Ruijie(config)#interface  g0/1
Ruijie(config-if-GigabitEthernet  0/1)#switchport trunk allowed vlan remove +number  // After added, this vlan cannot pass theinterface

Ruijie(config-if-GigabitEthernet  0/1)#switchport trunk allowed vlan only +number // After added, only this vlan passes throughthe interface

Ruijie(config-if-GigabitEthernet  0/1)#switchport trunk allowed vlan add +number  // After added, this vlan can pass throughthe interface (add the passed vlan on the original basis)

Ruijie(config-if-GigabitEthernet  0/1)#switchport trunk allowed vlan except +number  // After added, other vlans can pass theinterface except the vlan

Ruijie(config-if-GigabitEthernet  0/1)#end
Ruijie#wr
RG-S5300-48GT2SFP2XS-E

Configuration Switch
There are no replies.
Releated Posts
Product Model

Share this topic to

Cancel

This site contains user submitted content, comments and opinions and is for informational purposes only. Ruijie may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Ruijie can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Ruijie disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Ruijie Community Terms of Use.

More ways to get help: Visit Support Videos, call us via Service Hotline, Facebook or Live Chat.

©2000-2023 Ruijie Networks Co,Ltd