Fortinet MR1 User Manual

Page 300

Advertising
background image

300

Figure 1. VLAN Routing Example Network Diagram

Step 1: Create Two VLANs

The following code sequence shows an example of creating two VLANs , and next specifies
the VLAN ID assigned to untagged frames received on the ports.

config

vlan database

vlan 10

vlan 20

exit

config

interface 0/1

switchport allowed vlan add 10

switchport native vlan 10

switchport allowed vlan remove 1

exit

interface 0/2

switchport allowed vlan add 10

switchport native vlan 10

switchport allowed vlan remove 1

exit

interface 0/3

switchport allowed vlan add 20

switchport native vlan 20

switchport allowed vlan remove 1

exit

exit

Advertising