Cisco kommutaator

Allikas: Imre kasutab arvutit
Redaktsioon seisuga 9. juuni 2024, kell 01:28 kasutajalt Imre (arutelu | kaastöö)
Mine navigeerimisribaleMine otsikasti

Sissejuhatus

TODO

Serial kaabli kasutamine

Sobib kasutamiseks nö tavaline cisco helesinine lint kaabel, üks ots rj45 ja teine ots 9-pin serial mamma (nt ühendada arvutisse üle serial-usb-dongle)

$ cu ... -s 9600

Kasutajate haldamine

Uue kasutaja lisamiseks sobib öelda

conf t
username ...

Failisüsteemiga töötamine

Seadistuse salvestamine flash seadmele

harjutus-sw#copy running-config flash1:imretest-rc

harjutus-sw#dir                                   
Directory of flash:/

    2  -rwx        3096   Mar 1 1993 04:37:25 +02:00  multiple-fs
    3  -rwx         796   Mar 1 1993 04:37:40 +02:00  vlan.dat
    4  -rwx        3843   Mar 1 1993 04:37:25 +02:00  private-config.text
    5  -rwx        7477   Mar 1 1993 04:32:07 +02:00  imretest-rc
    6  -rwx    14610998   Dec 9 2018 14:02:18 +02:00  c3750e-ipbasek9-mz.122-55.SE12.bin
    8  -rwx        6048   Mar 1 1993 04:37:25 +02:00  config.text

Salvestatud seadistuse kasutusele võtmine ('replace' asendab kogu parasjagu kehtestatud seadistuse failis oleva seadistusega)

harjutus-sw#configure replace flash1:imretest-rc
This will apply all necessary additions and deletions
to replace the current running configuration with the
contents of the specified configuration file, which is
assumed to be a complete configuration, not a partial
configuration. Enter Y if you are sure you want to proceed. ? [no]: y
Total number of passes: 0
Rollback Done

harjutus-sw#

VLAN

Vlan liidese moodustamine

harjutus-sw#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
harjutus-sw(config)#vlan 221
harjutus-sw(config-vlan)#name vlan_name_222
harjutus-sw(config-vlan)#end
harjutus-sw#

harjutus-sw#show run vlan 222
Building configuration...

Current configuration:
!
vlan 222
 name vlan_name_222
end

Vlan liidese seadistuse esitamine

harjutus-sw#sh run int vlan 10
Building configuration...

Current configuration : 65 bytes
!
interface Vlan10
 ip address 192.168.10.156 255.255.255.0
end

harjutus-sw#

Kasulikud lisamaterjalid