Beruflich Dokumente
Kultur Dokumente
1
A virtual local area network is a group of
hosts with a common set of requirements
that communicate as if they were attached to
the same broadcast domain, regardless of
their physical location.
Switch>enable Switch>enable
Switch#conf t Switch#vlan database
Switch(config)#vlan <ID> Switch(vlan)#vlan <ID> name < vlan
Switch(config-vlan)#name < vlan name>
name>
Switch(vlan)#vlan 30 name HR
VLAN 30 added:
Name: HR
20 is vlan ID/number
Router(config-subif)#int fa0/0.1
Router(config-subif)#encapsulation dot1q 20
Router(config-subif)#ip address 192.168.1.1
255.255.255.0
Router(config-subif)#exit
Router(config)#int fa0/0.2
Router(config-subif)#encapsulation dot1q 30
Router(config-subif)#ip address 192.168.2.1
255.255.255.0