Cisco switch: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
 
(68 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
=configuration dialog=
+
=Grundlegendes=
 +
*[[Cisco Grundlegendes]]
 +
=Configuration dialog=
 
*[[Cisco-switch-initial configuration dialog?]]
 
*[[Cisco-switch-initial configuration dialog?]]
=Unprivilegierter Modus=
+
=Grundkonfiguration=
*Switch>
+
*[[Cisco Switch Grundkonfiguration]]
=Befehle anzeigen=
+
=Cisco Layer 2 oder Layer 3=
*Switch>?
+
*[[Cisco Layer 2 oder Layer 3]]
=Unprivilegierter Modus=
+
 
*Switch>enable
+
=Interface Konfiguration=
*Switch#
+
*[[Cisco Interface Konfiguration]]
=Version anzeigen=
+
=Show Befehle=
*Switch#show version
+
*[[Cisco Showbefehle]]
=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=
 
=Webinterface=
Als Passwort strenggeheim eingeben kein Username
+
*[[Cisco Webinterface]]
[[Datei:cisco-switch1.png]]
+
=Filesystems=
=Ping=
+
*[[Cisco Switch Filesystems]]
*Switch#ping 192.168.240.200
+
=Ssh und Telnet=
<pre>
+
*[[Cisco Switch Ssh und Telnet]]
 +
=Vlans Grundlagen=
 +
*[[Cisco Vlans Grundlagen]]
 +
=Vlan Trunking=
 +
*[[Cisco Vlan Trunking]]
 +
 
 +
=Vlans=
 +
*[[Cisco Vlans]]
 +
=DHCP on Vlans=
 +
*[[Cisco DHCP on Vlans]]
 +
*[[Cisco DHCP relay]]
 +
 
 +
=Native Vlan=
 +
*[[Cisco Native Vlan]]
 +
=VLAN-Trunking Protocol=
 +
*[[Cisco VLAN-Trunking Protocol]]
 +
=Vlan Beschränkung=
 +
*[[Cisco Vlan Beschränkung]]
 +
=Delete Config=
 +
*[[Cisco Delete Config]]
 +
=Cisco Switch Port Security=
 +
*[[Cisco Switch Port Security]]
 +
 
 +
=Spanning Tree Protocol=
 +
*[[Cisco Spanning Tree Protocol]]
 +
=ACLs=
 +
*[[Cisco ACLs]]
 +
 
 +
=Link Aggregation=
 +
*[[Link Aggregation]]
 +
*[[Cisco LACP Linux]]
 +
*[[Cisco Etherchannel]]
 +
 
 +
=Cisco Switch sicher einrichten=
 +
*[http://www.nwlab.net/know-how/Cisco/ Sicherheit]
  
Type escape sequence to abort.
+
=LLDP=
Sending 5, 100-byte ICMP Echos to 192.168.240.200, timeout is 2 seconds:
+
*[[Cisco LLDP]]
!!!!!
+
=Phone on Switch=
</pre>
+
*[[Cisco Phone on Switch]]
=Anzeige Flash=
+
=Cisco Switch an Esxi=
*Switch#show flash
+
*[[Cisco Switch an Esxi]]
Directory of flash:/
+
=Cisco Portmirroring=
+
*[[Cisco Portmirroring]]
    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
+
=Cisco Radiusanbindung=
    3  -rwx        1590  Mar 1 1993 00:44:44 +00:00  config.old
+
*[[Cisco Radiusanbindung]]
  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:
 
<pre>
 
Directory of flash:/
 
  
    2  -rwx        3096  Jan 26 2016 15:22:16 +00:00  multiple-fs
+
=Cisco 802.1X=
    3  -rwx        1590  Mar 1 1993 00:44:44 +00:00  config.old
+
*[[Cisco 802.1X]]
  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
 
</pre>
 
  
=Anzeige Directory=
+
=Cisco Mac Authentication Bypass=
*Switch#dir c3750-ipbasek9-mz.122-55.SE6 
+
*[[Cisco Mac Authentication Bypass]]
<pre>
 
Directory of flash:/c3750-ipbasek9-mz.122-55.SE6/ 
 
  
    4  drwx        1792  Mar 1 1993 00:28:51 +00:00  html
+
=Policy-Based Routing=
  82  -rwx    12098384  Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6.bin
+
*[[Cisco Policy-Based Routing]]
  83  -rwx        681  Mar 1 1993 00:35:33 +00:00  info
+
=Cisco Switch Diagnose=
</pre>
+
*[[Cisco Switch Diagnose]]
  
=Ios sichern=
+
=Kurzreferenz=
*Switch#copy  flash:/c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin tftp://192.168.240.200/cisco/
+
*http://kohnlehome.de/netz/Switchgrundkonfiguration.pdf
Address or name of remote host [192.168.240.200]?
+
=Links=
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
 
=Telnet aktivieren=
 
*Switch#configure terminal
 
*Switch(config)#aaa new-model
 
*Switch(config)#username admin password 0 geheim
 
*Switch(config)#line vty 0 4
 
*Switch(config-line)#transport input telnet
 
=SSH aktivieren=
 
*Switch(config)#ip domain-name xinux.org
 
*Switch(config)#hos
 
*Switch(config)#hostname c3750g
 
*c3750g(config)#
 
*c3750g(config)#crypto key generate rsa
 
<pre>
 
The name for the keys will be: c3750g.xinux.org
 
Choose the size of the key modulus in the range of 360 to 2048 for your
 
  General Purpose Keys. Choosing a key modulus greater than 512 may take
 
  a few minutes.
 
  
How many bits in the modulus [512]:  
+
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swvlan.html
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
+
*http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/45002-intervlan3750-45002.html
</pre>
+
*http://www.thegeekstuff.com/2011/06/upgrade-cisco-ios-image/
*c3750g(config)#ip ssh time-out 60
+
*http://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.html
*c3750g(config)#ip ssh authentication-retries 2
+
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/commmand/reference/3750cr/cli2.html
=Abschalten von telnet=
+
*http://www.cisco.com/c/en/us/support/docs/switches/catalyst-4500-series-switches/69632-configuring-cat-ip-phone.html
*c3750g#configure terminal
+
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SXF/native/configuration/guide/swcg/voip.html?referring_site=bodynav#wp1046284
Enter configuration commands, one per line.  End with CNTL/Z.
+
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst6500/ios/12-2SXF/native/configuration/guide/swcg/voip.html?referring_site=bodynav#wp1030860
*c3750g(config)#line vty 0 4
+
*http://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html
*c3750g(config-line)#transport input ssh
 
=Switche anzeigen=
 
*c3750g#show switch
 
Switch/Stack Mac Address : 0012.d9a3.4400
 
                                          H/W  Current
 
Switch#  Role  Mac Address    Priority Version  State
 
----------------------------------------------------------
 
*1      Master 0012.d9a3.4400    1      0      Ready             
 
  3      Member 0000.0000.0000    0      0      Provisioned
 

Aktuelle Version vom 5. Februar 2020, 12:04 Uhr

Grundlegendes

Configuration dialog

Grundkonfiguration

Cisco Layer 2 oder Layer 3

Interface Konfiguration

Show Befehle

Webinterface

Filesystems

Ssh und Telnet

Vlans Grundlagen

Vlan Trunking

Vlans

DHCP on Vlans

Native Vlan

VLAN-Trunking Protocol

Vlan Beschränkung

Delete Config

Cisco Switch Port Security

Spanning Tree Protocol

ACLs

Link Aggregation

Cisco Switch sicher einrichten

LLDP

Phone on Switch

Cisco Switch an Esxi

Cisco Portmirroring

Cisco Radiusanbindung

Cisco 802.1X

Cisco Mac Authentication Bypass

Policy-Based Routing

Cisco Switch Diagnose

Kurzreferenz

Links