Ccna 3 Cheatsheet
Ccna 3 Cheatsheet
Ccna 3 Cheatsheet
SERVER:
//setez astea pe server
ServerSW(config)# vlan 10
ServerSW(vlan-config)# name Research
CLIENT:
//setez clientii care iau vlanurile de la server
ClientSW(config)# vtp mode client
STP
Sw(config)# spanning-tree mode pvst | rapid-pvst
Configurări pe interfaţă
// Modificare cost
Sw(config-if)# spanning-tree cost <cost>
// Activare portfast
Sw(config-if)# spanning-tree portfast
// Activare BPDU-guard
Sw(config)# spanning-tree bpduguard enable
LACP
SW1(config)# interface FastEthernet0/15
SW1(config-if)# switchport trunk encapsulation isl
SW1(config-if)# switchport mode trunk
SW1(config-if)# channel-group 1 mode active/PASSIVE
SW1(config-if)# interface FastEthernet0/16
SW1(config-if)# switchport trunk encapsulation isl
SW1(config-if)# switchport mode trunk
SW1(config-if)# channel-group 1 mode active/PASSIVE
!!! O conexiune nu poate avea modul activ la ambele capete!
!!! Daca configuram modul activ la un capat => modul pasiv la celalalt capat.
PAgP
SW1(config)# interface FastEthernet0/13
SW1(config-if)# switchport trunk encapsulation dot1q
SW1(config-if)# switchport mode trunk
SW1(config-if)# channel-group 1 mode desirable/auto
SW1(config-if)# interface FastEthernet0/14
SW1(config-if)# switchport trunk encapsulation dot1q
SW1(config-if)# switchport mode trunk
SW1(config-if)# channel-group 1 mode desirable/auto
Depanare:
show interfaces port-channel
show etherchannel summary
show etherchannel port-channel
show interfaces etherchannel
HSRP
Active(config)# interface fa 0/0
Active(config-if)# ip address 10.10.1.11 255.255.255.0
Active(config-if)# standby 1 ip 10.10.1.1
Active(config-if)# standby 1 priority 120
EIGRP
R1(config)# router eigrp 1
R1(config-router)# no auto-summary
R1(config-router)# eigrp router-id 1.1.1.1
R1(config-router)# network 10.0.0.0 0.0.0.3
R1(config-router)# network 10.0.0.4 0.0.0.3
R1(config-router)# passive-interface fa0/0