Fortinet black logo

Cookbook

Configuring the switch

Copy Link
Copy Doc ID 53d09085-7746-11e9-81a4-00505692583a:999322
Download PDF

Configuring the switch

  1. The switch configuration provided below is intended for demonstration only. Your switch configuration is likely to differ significantly.
  2. set system services dhcp pool 10.1.2.0/24 address-range low 10.1.2.220

    set system services dhcp pool 10.1.2.0/24 address-range high 10.1.2.230

    set system services dhcp pool 10.1.2.0/24 domain-name fortiad.net

    set system services dhcp pool 10.1.2.0/24 name-server 10.1.2.122

    set system services dhcp pool 10.1.2.0/24 router 10.1.2.1

    set system services dhcp pool 10.1.2.0/24 server-identifier 10.1.2.27

    set interfaces ge-0/0/1 unit 0 family ethernet-switching #windows 7 machine port, no VLAN assigned, will be allocated dynamically

    set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members engineering #interface used to communicate with FortiAuthenticator

    set interfaces me0 unit 0 family inet address 10.1.1.1/24

    set interfaces vlan unit 10 family inet address 10.1.2.27/24

    set protocols dot1x authenticator authentication-profile-name profile1

    set protocols dot1x authenticator interface ge-0/0/1.0 supplicant single #802.1x configuration requiring supplicant

    set access radius-server 10.1.2.29 secret "$9$kmfzIRSlvLhSLNVYZGk.Pf39"

    set access profile profile1 authentication-order radius

    set access profile profile1 radius authentication-server 10.1.2.29

    set vlans engineering vlan-id 10

    set vlans engineering l3-interface vlan.10

Configuring the switch

  1. The switch configuration provided below is intended for demonstration only. Your switch configuration is likely to differ significantly.
  2. set system services dhcp pool 10.1.2.0/24 address-range low 10.1.2.220

    set system services dhcp pool 10.1.2.0/24 address-range high 10.1.2.230

    set system services dhcp pool 10.1.2.0/24 domain-name fortiad.net

    set system services dhcp pool 10.1.2.0/24 name-server 10.1.2.122

    set system services dhcp pool 10.1.2.0/24 router 10.1.2.1

    set system services dhcp pool 10.1.2.0/24 server-identifier 10.1.2.27

    set interfaces ge-0/0/1 unit 0 family ethernet-switching #windows 7 machine port, no VLAN assigned, will be allocated dynamically

    set interfaces ge-0/0/11 unit 0 family ethernet-switching vlan members engineering #interface used to communicate with FortiAuthenticator

    set interfaces me0 unit 0 family inet address 10.1.1.1/24

    set interfaces vlan unit 10 family inet address 10.1.2.27/24

    set protocols dot1x authenticator authentication-profile-name profile1

    set protocols dot1x authenticator interface ge-0/0/1.0 supplicant single #802.1x configuration requiring supplicant

    set access radius-server 10.1.2.29 secret "$9$kmfzIRSlvLhSLNVYZGk.Pf39"

    set access profile profile1 authentication-order radius

    set access profile profile1 radius authentication-server 10.1.2.29

    set vlans engineering vlan-id 10

    set vlans engineering l3-interface vlan.10