Skip to main content
kacperkrawiec
New Member
February 19, 2024
Question

How to show vlan config with defined access and tagged

  • February 19, 2024
  • 2 replies
  • 2090 views

Hello guys. Im trying to show vlan config with defined which port is access and which port is tagged. Thank you for answer.

2 replies

AEK
SuperUser
SuperUser
February 19, 2024

Hello

If it is a standalone switch, the command "show switch interface" should help.

 

AEK
Toshi_Esumi
SuperUser
SuperUser
February 19, 2024

FortiSwitches don't have a command, unlike other major switches, to show tagged and untagged vlan list in a table. The closest is "diag switch vlan list" but it doesn't separate between tagged and untagged. So, only place you can see is your config under "switch interface" as @AEK said. Not the outcome of the config in operation.

Sxxxxxxxxx # diag switch vlan list

VlanId   Ports
______ ___________________________________________________
1           port1 port2 port3 port4 port7 port8 port9 port10 port11
             port12 port13 port14 port15 port16 port17 port18 port19
             port20 port21 port22 port24 port25 port26 port27 port28
             internal
2           port1 port2 port3 port4 port5 port6 port24 port26
             port27 port28
3           port24 port26 port27 port28
10         port23
100       port22


Toshi