Configuration Guide
Figure 31. VLAN Routing Example Network Diagram
Physical Port 0/2
VLAN Router Port 4/1
192.150.3.1
Layer 2 Switch
Example 1: Create Two VLANs
The following commands show an example of how to create two VLANs with egress frame
tagging enabled.
vlan database
vlan 10
vlan 20
exit
config
interface 0/1
vlan participation include 10
exit
interface 0/2
vlan participation include 10
exit
interface 0/3
vlan participation include 20
exit
exit
config
vlan port tagging all 10
vlan port tagging all 20
exit
74
© 2001- 2011 D-Link Corporation. All Rights Reserved.
Layer 3 Switch
Physical
Port 0/1
VLAN 10
Physical Port 0/3
VLAN Router Port 4/2
192.150.4.1
Layer 2 Switch
VLAN 20