__\/__ _ _ __ _ _ |___ /(_) | |/ / | |(_) / / _ __ _ __ _ | ' / _ __ __ _ | | _ / / | | / _` | / _` | | < | '__|/ _` || || | / /__ | || (_| || (_| | | . \ | | | (_| || || | /_____||_| \__, | \__,_| |_|\_\|_| \__,_||_|| | __/ | _/ | |___/ |__/
Vse naprej dela IOS
Switch# copy running-config startup-config // ukaz za shranitev trenutne konfiguracije:
vstavi sliko LED diod iz spletne učilnice
Če ob zagonu tiščiš gumb MODE gumb (3560 spredaj levo) pridešv ROMMON (podobno kot BIOS).
switch: set // izpiše nastavljene vrednosti
switch: flash-init // inicializira flash
switch: dir flash: // izpiše imenik
switch: BOOT = flash:/C3560... // Nastavi okoljno spremenljivko BOOT na datoteko (IOS)
SVI - Switch Virtual Interface
Switch# interface vlan 99 // security best practice
IPv6 privzeto ni omogočen
Switch# sdm prefer dual-ipv4-and-ipv6 default // omogoči IPv4 in IPv6
Switch(config)# interface fastethernet 0/1
Switch(config-if)# duplex [half, full, auto] // privzeto auto
Switch(config-if)# speed [10, 100, 1000, auto] // privzeto auto
Avtomatsko preklapljanje kablovja (Crossover ali Straight)
Switch(config-if)# mdix auto // vklopi MDIX, privzeta nastavitev v IOS >= v15
Switch(config-if)# no mdix auto // ugasni MDIX
Switch# show interfaces [] // pokaži vmesnike, v [] lahko vstaviš specifični vmesnik
Switch# show startup-config // prikaže konfiguracijo ob zagonu
Switch# show running-config // prikaže trenutno konfiguracijo
Switch# show flash // pokaže datoteke na flashu
Switch# show version
Switch# show ip interface
Switch# show mac-address-table
Switch(config)# hostname S1
S1(config)# ip domain-name test.kralj
S1(config)# crypto key generate rsa 4096
S1(config)# ip ssh version 2
S1(config)# line vty 0 4
S1(config-line)# transport-input ssh
S1(config-line)# login local
S1(config-line)# username uporabnisko_ime password geslo
Router(config)# hostname
Router(config)# banner
Router(config)# enable secret geslo
Router(config)# service password-encryption
Router(config)# copy running-config startup-config
Router# show interface [] // pokaži vmesnike, v [] lahko vstaviš specifični vmesnik
Router# show ip interface [] [brief] // pokaži vmesnike, v [] lahko vstaviš specifični vmesnik
Router# show ip route // pregled omrežij, do katerih imamo dostop