Comenzi Cisco
Comenzi Cisco
Comenzi Cisco
Comenzi de vizualizare:
IPv6
IPv4
Resetare SWITCH:
Switch(#) reload
.........................................................................
REDENUMIRE ECHIPAMENT:
.........................................................................
.........................................................................
SSH PASSWORD:
Switch(config)# 1024
Switch(config)# login
.........................................................................
Banner:
.........................................................................
Switch(config-if)# ip address IP SM
Switch(config-if)# no shutdown
.........................................................................
.........................................................................
IPv6
Activare IPV6:
Switch(config)# reload
........................................................................
.........................................................................
ACCES PORT CONFIG:
Pe interfata:
Switch(config-if)# switch port acces vlan ... (in ce LAN vrem sa bagam acest port : ex: 10)
.........................................................................
Switch(config-if)# switch port trunk allow vlan ...., .... (adaugam retelele care sunt direct conectate)
COMENZI ROUTER
IPv4
Resetare Router:
Router(#) reload
.........................................................................
.........................................................................
.........................................................................
REDENUMIRE ECHIPAMENT:
.........................................................................
Banner:
.........................................................................
CONSOLA PASSWORD:
Router(config)# login
.........................................................................
SSH PASSWORD:
Router(config)#
Router(config)# 1024
.........................................................................
TELNET PASSWORD:
Router(config)# login
.........................................................................
Setare PASSWORD:
.........................................................................
CRIPTARE PAROLE:
.........................................................................
Router(config-if)# ip address IP SM
Router(config-if)# no shutdown
.........................................................................
RUTARE STATICA:
Router(config)# no shutdown
.........................................................................
RIP V2:
Router(config)#router rip
Router(config-router)#version 2
Router(config-router)#no auto-summary
Router(config-router)#default-information originate
Router(config-router)#exit
Router(config)#exit
Router# ping
.........................................................................
ACL:
Router#conf terminal
Router(config)#access-list ?
Router(config)#access-list 1 ?
Router(config)#access-list 1 remark PC1 nu poate accesa LAN 2, oricare PC din LAN 1 , poate sa aiba
acces pe LAN 2
Router(config)#exit
Router#enable
Router#conf terminal
Router(config-if)#ip access-group ?
Router(config-if)#ip access-group 1 ?
in inbound packets
Router#show access-lists 1
.........................................................................
Router(config)# encapsulation dot1q ... (ex 10 - cel care l-am introdus mai sus)
Router(config)# ip address IP SM
Router(config)# exit
.........................................................................
Router(config)# ip address IP SM
Router(config)# exit
.........................................................................
SSH cu ACL:
Router(config)# exit
.........................................................................
IPV6
.........................................................................
LINK-LOCAL:
Router(config-if)# ipv6 address (@ipv6/prefix 64) // genereaza automat @de link-local din adresa MAC
Router(config-if)# no shutdown
sau
Router(config-if)# ipv6 address (NA @ IPv6) eui-64 // genereaza portiunea de gazda din @MAC a
interfetei ; //genereaza automat @de link-local din adresa MAC
Router(config-if)# no shutdown
LINK-LOCAL:
Router(config-if)# no shutdown
.........................................................................
RIPng comenzi:
Router(config-if)# ipv6 rip Test1 default-information originate // redistribuie in update de RIP default
route