Académique Documents
Professionnel Documents
Culture Documents
net/
---------------------------------------------------------------------------------
STP
--------------------------------------------------------------------------------
-> OPRIRE SWITCH - click pe switch si in Physical Device View din interfata dati
click pe butonul de On-Off (e in partea dreapta a imaginii cu porturi a switch-
ului)
-> OPRIRE STP VLAN - no spanning-tree vlan "vlan-ID"
-> show spanning-tree
-> ROOT BRIDGE:
1. spanning-tree vlan [list] root [primary | secondary]
2. spanning-tree vlan [list] priority [value] - ii dam o prioritate mai mica
decat a celorlalte switch-uri
----------------------------------------------------------------------------- PORT
SECURITY --------------------------------------------------------------------------
-> https://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_1/nx-
os/security/configuration/guide/sec_nx-os-cfg/sec_portsec.html#wp1258211
-> Configuring Port Security
Sticky MAC Address Learning - adresele MAC invatate persista si dupa un restrat al
device-ului
-> interface fa1/1
-> switchport
-> [no] switchport port-security mac-address sticky
-> show running-config port-security
LABORATOR3 - Adresare IP
Configure IP address on stations:
-> Click pe statie -> Desktop -> IP Configuration
VLAN DE MANAGEMENT:
1. Configurare vlan 100 pe interfata catre statia de management:
-> config terminal
-> vlan 100
-> name management
-> exit
-> interface fa0/1
-> switchport mode access
-> switchport access vlan 100
2. Trebuie dezactivata interfata implicita vlan 1 si stearsa adresa ip:
-> interface vlan 1
-> shutdown
-> no ip address
-> exit
3. Vom configura adresa IP pe interfata vlan 100 aferenta VLAN 100:
-> interface vlan 100
-> no shutdown
-> ip address "ip address" "mask"
4. Verificare:
-> de pe MANAGEMENT va merge: telnet "ip adress" ptr a ne conecta la switch,
de pe restul statiilor nu
LABORATOR5 - RUTARE
-> show ip interface brief (pe ruter) - aflam adresele ip de pe interfetele
ruterului