Cisco Switch-Konfiguration
Konfigurationsänderungen abspeichern
SWITCH#write
Building configuration...
[OK]
VLAN anlegen
SWITCH#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
SWITCH(config)#vlan 6
SWITCH(config-vlan)#name DAG
SWITCH(config-vlan)#end
Access Port in VLAN heben
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport access vlan 2
Switch(config-if)# end
Management-IP (für VLAN) anlegen
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# int vlan 1
Switch(config-vlan)# ip address 192.168.2.100 255.255.255.0
Switch(config-vlan)# end
exit