- Hostname
enable
config t
hostname HOSTNAME
banner motd "TEXT"
...
-
Telnet (siehe Telnet im PDF)
-
SSH
-- Hostname und Domainname vorher setzen
ip domain-name test.com
crypto key generate rsa
1024
line vty 0 4
transport input ssh
login local
password ...
exit
line console 0
logging synchronous
login local
-- Neue User erstellen mit PW
...(config)# username nimit password pass123
-- Wenn noch nicht gesetzt
...# enable secret mypassword
...# service password-encryption
-- Verifizieren mit
...# sh ip ssh
-- to connect
...# ssh ipadresssehier
username
password...
-
IP Configuration siehe aufgabenstellung, http://www.subnet-calculator.com, cheatsheet
-
Server Dienste --> An den Computern - Ports freigeben über die ACL -
access-list 100 permit tcp any eq PORT
und NAT -ip nat inside source static tcp x.x.x.x PORT interface gig... x/x
-
Statisches Routen - Siehe Cheatsheet
-
RIP
host(config)# router rip
host(config-router)# default-information originate DEFAULT ROUTE WIRD FESTGELEGT
NETZWERKE REGISTRIEREN
host(config-router)# network 10.0.0.0 NUR WAS HIER EINGETRAGEN - RIP UPDATES
host(config-router)# version (1|2) RIPv1 oder v2
host(config-router)# passive-interface INTERFACE PASSIV - Nur Updates empfangen nicht senden
host(config-router)# no auto-summary KEINE AutoSummarization (vlt gewünscht?! Achtung)
-
VLANs Siehe Cheatsheet VLAN
-
InterVLAN
Auf dem Switch:
interface INTERFACE #/#
description trunktorouter
switchport trunk encapsulation dot1q
switchport mode trunk
spanning-tree portfast trunk
Auf dem Router:
interface INTERFACE #/#
interface INTERFACE #/#.1
encapsulation dot1q 1 native
ip address x.x.x.x x.x.x.x
-
Wireless Heim Router konfigurieren??? - Über Weboberfläche
-
ACLs Siehe Cheatsheet
-
NAT