Skip to main content
fjulianom
Explorer II
Dec 7, 2017 8:59 PM UTC
Question

Switchport access in FortiGate

Hi guys,

 

My customer wants to replace his Cisco router by a FortiGate. It has many ports as trunks allowing some VLANs, and I know I can easily accomplish this in the FortiGate. But it has also one port as switchport in access mode associated to one VLAN, like this:

 

interface GigabitEthernet0/1/0  switchport access vlan 88  no ip address

 

interface Vlan88

 ip address 10.8.8.1 255.255.255.0

 

The FortiGate will be operating in NAT mode. How can I create a FortiGate port in access mode associated to one VLAN as above?

 

Regards,

Julián

    10 replies

    emnoc
    New Member
    Dec 7, 2017 9:52 PM UTC

    config sys interface

     

       edit port1

          set ip 10.8.8.1 255.255.255.0

          set vdom root

          set allowaccess ping

        end

     

    That's a standard interface using a non-tag interface.

     

    Ken

     

    Translate
    fjulianom
    fjulianomAuthor
    Explorer II
    Dec 7, 2017 10:27 PM UTC

    Hi Ken,

     

    But that port is associated to none VLAN, and also an access port has no IP address.

     

    Regards,

    Julián

     

    Translate
    fjulianom
    fjulianomAuthor
    Explorer II
    Dec 8, 2017 5:27 PM UTC

    Hi guys,

     

    Any idea? Is that possible?

     

    Regards,

    Julián

    Translate
    sw2090
    SuperUser
    SuperUser
    Sep 21, 2021 1:58 PM UTC

    hm I remember this from dell switches. Ist it the same on CIsco?

    On Dell Switch access port simply means it is untagged in the named vlan (here vid 88). A switch Port indeed doesn't have an Ip. The switch may have an ip in that vlan subnet.

     

    FortiOS imo cannot do this. It can have vlan interfaces that can have one (or more) ips but you cannot chose between the vlan moduses like tagged,untagged,forbid,etc. Afair vlan interfaces on fortios will only take tagged packets and will ignore packets with non matching vlan tag (or no vlan tag at all) which equals to the port being tagged in that vlan (and set to no or forbid in all others) on a switch.

     

    Translate
    Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024