Cisco Switch Grundkonfiguration
Version vom 28. Januar 2016, 12:26 Uhr von Thomas (Diskussion | Beiträge) (→Interface VLAN1 konfigurieren)
Gerätenamen festlegen
- Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
- Switch(config)#hostname c3750
- c3750(config)#
Enable Secret setzen
- c3750(config)#enable secret suxer
- c3750(config)#username admin privilege 15 secret sysadm
- c750(config)#username xinux privilege 1 secret oimel
Passwort verschlüsselung unnötig wenn Funktion secret verfügbar ist
- c3750(config)#service password-encryption
Interface VLAN1 konfigurieren
- c3750(config)#interface vlan 1
- c3750(config-if)#ip address 192.168.240.154 255.255.248.0
- c3750(config-if)#no shutdown
- c3750(config-if)#do show ip int vlan1
Vlan1 is up, line protocol is up Internet address is 192.168.240.154/21 Broadcast address is 255.255.255.255 Address determined by setup command from host 192.168.240.200 MTU is 1500 bytes
Default Gateway einstellen
- c3750(config)#ip default-gateway 192.168.240.100