Skip to content

Cisco alap konfiguráció – router/switch

Teljes alapkonfig sablon

enable
configure terminal

hostname R1

enable secret Cisco123!

service password-encryption

security passwords min-length 8

banner motd # ILLETEKTELEN BELEPES TILOS #

no ip domain-lookup

line console 0
password console123
login
logging synchronous
exit

line vty 0 4
password vty123
login
logging synchronous
exit

end
copy run start

Hostname

configure terminal
hostname R1

Enable jelszó

Nem titkosított:

enable password cisco

Titkosított, ezt használd inkább:

enable secret cisco123

Összes jelszó titkosítása

service password-encryption

DNS lookup tiltása

Ha elírsz egy parancsot, ne próbáljon DNS-t keresni:

no ip domain-lookup

Console jelszó

line console 0
password cisco
login
logging synchronous

VTY jelszó Telnethez

line vty 0 4
password cisco
login

Interfész IP cím

interface GigabitEthernet0/0
description LAN kapcsolat
ip address 192.168.1.1 255.255.255.0
no shutdown

Serial interfész

interface Serial0/0/0
ip address 10.0.0.1 255.255.255.252
clock rate 64000
no shutdown

DCE oldalon kell clock rate.

Switch menedzsment IP

interface vlan 1
ip address 192.168.1.20 255.255.255.0
no shutdown
exit

ip default-gateway 192.168.1.1

Ellenőrzés

show running-config
show ip interface brief
show interfaces
show protocols
show version