Ccna 3 Cheatsheet

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

VTP

SERVER:
//setez astea pe server

ServerSW(config)# vtp domain <nume> (cisco)


ServerSW(config)# vtp version <numar> (1)
ServerSW# show vtp status

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

//setare prioritate manual


Sw(config)# spanning-tree vlan <vlan-id> priority <priority>
//setare prioritate automat
Sw(config)# spanning-tree vlan <vlan-id> root primary/secondary

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.

SW1# show etherchannel summary -> Cautam “(P)”

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

Standby(config)# interface fa 0/0


Standby(config-if)# ip address 10.10.1.12 255.255.255.0
Standby(config-if)# standby 1 priority 100
Standby(config-if)# standby 1 ip 10.10.1.1

Active# show standby brief

!!! Modificând prioritatea implicită putem să forțăm echipamentul activ.


GLBP
R1(config)# interface fa 0/0
R1(config-if)# ip address 10.10.1.11 255.255.255.0
R1(config-if)# glbp 1 ip 10.10.1.1
R1(config-if)# glbp 1 priority 120

R2(config)# interface fa 0/0


R2(config-if)# ip address 10.10.1.12 255.255.255.0
R2(config-if)# glbp 1 priority 100
R2(config-if)# glbp 1 ip 10.10.1.1

Active# show standby brief

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

show ip eigrp neighbors

You might also like