Cisco switch: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 75: Zeile 75:
 
  Destination filename [cisco/c3750-ipbasek9-mz.122-55.SE6.bin]?  
 
  Destination filename [cisco/c3750-ipbasek9-mz.122-55.SE6.bin]?  
 
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 +
=Konfig sichern=
 +
*Switch#copy running-config tftp://192.168.240.200/cisco/c3750g.conf
 +
Address or name of remote host [192.168.240.200]?
 +
Destination filename [cisco/c3750g.conf]?
 +
!!
 +
4356 bytes copied in 1.409 secs (3092 bytes/sec

Version vom 26. Januar 2016, 15:08 Uhr

Unprivilegierter Modus

  • Switch>

Befehle anzeigen

  • Switch>?

Unprivilegierter Modus

  • Switch>enable
  • Switch#

Version anzeigen

  • Switch#show version

Konfigurations Modus

  • Switch#configure terminal
  • Switch(config)#

Passwort setzen

  • Switch(config)#enable password strenggeheim

IP setzen

  • Switch(config)#interface vlan1
  • Switch(config-if)#ip address 192.168.240.153 255.255.248.0
  • Switch(config-if)#exit

Default Gateway

  • Switch(config)#ip default-gateway 192.168.240.100

Webinterface aktivieren

  • Switch(config)#ip http server
  • Switch(config)#end

Speichern

  • Switch# write memory

Schnittstelle aktivieren

  • Switch#configure terminal
  • Switch(config)#interface vlan 1
  • Switch(config-if)#no shutdown

Webinterface

Als Passwort strenggeheim eingeben kein Username Cisco-switch1.png

Ping

  • Switch#ping 192.168.240.200

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.240.200, timeout is 2 seconds:
!!!!!

Anzeige Flash

  • Switch#show flash
Directory of flash:/

    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
    3  -rwx        1590   Mar 1 1993 00:44:44 +00:00  config.old
  457  drwx         192   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6
   84  -rwx        1940  Jan 26 2016 15:22:16 +00:00  private-config.text
   85  -rwx        3021  Jan 26 2016 15:22:16 +00:00  config.text

Anzeige Flash mit dir

  • Switch#dir flash:
Directory of flash:/

    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
    3  -rwx        1590   Mar 1 1993 00:44:44 +00:00  config.old
  457  drwx         192   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6
   84  -rwx        1940  Jan 26 2016 15:22:16 +00:00  private-config.text
   85  -rwx        3021  Jan 26 2016 15:22:16 +00:00  config.text

Anzeige Directory

  • Switch#dir c3750-ipbasek9-mz.122-55.SE6
 
 Directory of flash:/c3750-ipbasek9-mz.122-55.SE6/  

    4  drwx        1792   Mar 1 1993 00:28:51 +00:00  html
   82  -rwx    12098384   Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6.bin
   83  -rwx         681   Mar 1 1993 00:35:33 +00:00  info

Ios sichern

  • Switch#copy flash:/c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin tftp://192.168.240.200/cisco/
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750-ipbasek9-mz.122-55.SE6.bin]? 
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Konfig sichern

  • Switch#copy running-config tftp://192.168.240.200/cisco/c3750g.conf
Address or name of remote host [192.168.240.200]? 
Destination filename [cisco/c3750g.conf]? 
!!
4356 bytes copied in 1.409 secs (3092 bytes/sec