0% found this document useful (0 votes)
402 views

Ccna 3 Cheatsheet

The document discusses several network protocols and configurations: - VTP is configured to propagate VLANs from a server to clients, including setting the VTP domain and version on the server and setting clients to mode client. - STP modes like PVST and RPVST are configured and priorities can be set manually or automatically. Interface settings like cost, portfast, and BPDU guard are also covered. - LACP and PAgP are protocols for aggregating links into port-channels or trunks and the configuration examples show setting modes to active/passive for LACP and desirable/auto for PAgP on interfaces. - HSRP and GLBP provide high availability gate

Uploaded by

Luciana Neagu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
402 views

Ccna 3 Cheatsheet

The document discusses several network protocols and configurations: - VTP is configured to propagate VLANs from a server to clients, including setting the VTP domain and version on the server and setting clients to mode client. - STP modes like PVST and RPVST are configured and priorities can be set manually or automatically. Interface settings like cost, portfast, and BPDU guard are also covered. - LACP and PAgP are protocols for aggregating links into port-channels or trunks and the configuration examples show setting modes to active/passive for LACP and desirable/auto for PAgP on interfaces. - HSRP and GLBP provide high availability gate

Uploaded by

Luciana Neagu
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 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