Professional Documents
Culture Documents
CONFIGURARI
CONFIGURARI
SWITCH:
enable
configure terminal
no cdp run
no ip domain lookup
hostname <NUME>
line console 0
password ciscoconpass
login
logging synchronous
exec-timeout 0 0
exit
line vty 0 15
password ciscovtypass
login
logging synchronous
exec-timeout 0 0
exit
do wr
ip domain-name <DOMENIU.COM>
username admin privilege 15 secret adminpass1
line vty 0 15
transport input ssh
login local
exit
crypto key generate rsa
!!!!!!! TE INTREABA CAT SA FIE CHEIA, II DAI 1024
ip ssh version 2
do wr
vlan 10
name DECANAT
exit
vlan 99
name MANAGEMENT
exit
interface vlan 99
ip add <IP> <SUBNET MASK>
no sh
exit
!!!!!!!!!!!!!ROUTER
enable
configure terminal
no cdp run
no ip domain lookup
hostname <NUME>
line console 0
password ciscoconpass
login
logging synchronous
exec-timeout 0 0
exit
line vty 0 15
password ciscovtypass
login
logging synchronous
exec-timeout 0 0
exit
do wr
ip domain-name <DOMENIU.COM>
username admin privilege 15 secret adminpass1
line vty 0 15
transport input ssh
login local
exit
crypto key generate rsa
!!!!!!! TE INTREABA CAT SA FIE CHEIA, II DAI 1024
ip ssh version 2
do wr
int g0/1
ip add <IP> <NETMASK>
desc <DESCRIERE>
no sh
int g0/1.10
encapsulation dont1q 10
ip add <IP> <NETMASK>
desc <DESCRIERE>
exit
!!!!!!!!!!!!! RUTARE:
!!!!!!!!!! OSPF
router ospf 1
router-id <UN NUMAR, DIFERIT PT FIECARE ROUTER>
default-information originate !!!!! CA SA PROPAGE RUTELE STATICE
passive-interface default !!! BLOCHEZI TOATE INTERFFETELE
no passive-interface g0/1 !!! DEBLOCHEZI INTERFETELE DE CARE
AI NEVOIE, IN GENERAL BLOCHEZI
INTERFETELE CE DAU SPRE UN LAN
!!!! RIP
router rip
no auto-summary
default-information originate
version 2
passive-interface default !!! BLOCHEZI TOATE INTERFFETELE
no passive-interface g0/1 !!! DEBLOCHEZI INTERFETELE DE CARE
AI NEVOIE, IN GENERAL BLOCHEZI
INTERFETELE CE DAU SPRE UN LAN
network <NA>
!!!!! EIGRP
router eigrp
no auto-summary
default-information originate
network <NA> <WILDCARD>
exit
do wr
!!!!!!!!! DACA SERVER-UL DHCP NU E PE ROUTER, CUM FACI TOTUSI SA ISI IA IP ALEA?
!!!!!!!!!! PE INTERFATA CARE DA SPRE LAN-UL TAU ( SA ZICEM INT G0/1.10 DAI COMANDA
ASTA:
ip helper-address <IP-ul SEVERULUI>