Sie sind auf Seite 1von 1

Cisco Befehle:

Grundlegendes:
Router(config)# hostname R1 //Erstellt Hostname
R(config)# copy run start //Speichert die Konfiguration
R(config)# erase startup-config //Löscht die Konfiguration (evtl. auch vlan.dat)
R(config)# banner motd & text & //Message of the Day

Show-Befehle:
sh ip int brief, sh run, sh interface status, sh vlan, sh flash, sh nvram

Passwörter einstellen:
R(config)#enable secret class //verschlüsseltes Passwort für enable-Mode
R(config)# line aux 0 //Aux-Port sichern
No password
login
Router (config)# line con 0 //Console-Port
Router (config-line)# password class
Router (config-line)# login
R(config)# line vty 0 4 (oder 15) //RemotePort(Telnet)
password
login
transport input telnet //lässt nur noch TelnetZugang zu
exec-timeout 3 //session timeout

VLANs erstellen:
SW(config)#vlan 10 Oder: SW2# vlan database
SW(config-vlan)#name Testnetz SW2(vlan)#vlan 10 name Testnetz

Interfaces:
Descriptions:
SW(config)# interface gi0/1
SW(config-if)# description SW Gi0/1
Interface einem VLAN zuordnen:
SW3(config)# int gi0/11
SW3(config-if)# switchport mode access
SW3(config-if)#switchport access vlan 100
Interface einem Trunk zuordnen:
SW3(config)#interface Gi0/1
SW3(config-if)#switchport trunk encapsulation dot1q
SW3(config-if)#switchport mode trunk
Serielle Ports:
R1(config-if)#clock rate 56000
Subinterfaces:
R1(config)# int fa0/0.100
R1(config-subif)#encapsulation dot1q 100

Default gateway einrichten:


R (config)#router rip
R(config-router)# version 2
R(config-router)# network 172.1.1.0

Authentifikation
PAP: CHAP: (Das Passwort muss an beiden Routern gleich sein)
hostname R1
username R5 password P5
int s0/0
ip address 10.0.1.2
encapsulation ppp ….
ppp authentication pap ppp authentication chap
ppp pap sent-username R1 password P1 exit

Das könnte Ihnen auch gefallen