D-Link d-link manual Virtual LANs

Models: d-link

1 110
Download 110 pages 19.08 Kb
Page 61
Image 61

Virtual LANs 61

(Console) #config

(Console) (Config)#vlan port tagging all 2

(Console) (Config)#exit

Example #3: Assign Ports to VLAN3

This example shows how to assign the ports that will belong to VLAN 3, and to specify that untagged frames will be accepted on port 0/4.

Note that port 0/2 belongs to both VLANs and that port 0/1 can never belong to VLAN 3.

(Console) #config

(Console) (Config)#interface 0/2

(Console) (Interface 0/2)#vlan participation include 3

(Console) (Interface 0/2)#exit

(Console) (Config)#interface 0/3

(Console) (Interface 0/3)#vlan participation include 3

(Console) (Interface 0/3)#exit

(Console) (Config)#interface 0/4

(Console) (Interface 0/4)#vlan participation include 3

(Console) (Interface 0/4)#exit

(Console) (Config)#

(Console) (Config)#exit

(Console) #config

(Console) (Config)#interface 0/4

(Console) (Interface 0/4)#vlan acceptframe all

(Console) (Interface 0/4)#exit

(Console) (Config)#exit

Example #4: Assign VLAN3 as the Default VLAN

This example shows how to assign VLAN 3 as the default VLAN for port 0/2.

(Console) #config

(Console) (Config)#interface 0/2

(Console) (Interface 0/2)#vlan pvid 3

(Console) (Interface 0/2)#exit

(Console) (Config)#exit

Page 61
Image 61
D-Link d-link manual Virtual LANs