Cisco switch: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
 
(44 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 5: Zeile 5:
 
=Grundkonfiguration=
 
=Grundkonfiguration=
 
*[[Cisco Switch Grundkonfiguration]]
 
*[[Cisco Switch Grundkonfiguration]]
 +
=Cisco Layer 2 oder Layer 3=
 +
*[[Cisco Layer 2 oder Layer 3]]
 +
 
=Interface Konfiguration=
 
=Interface Konfiguration=
 
*[[Cisco Interface Konfiguration]]
 
*[[Cisco Interface Konfiguration]]
Zeile 11: Zeile 14:
 
=Webinterface=
 
=Webinterface=
 
*[[Cisco Webinterface]]
 
*[[Cisco Webinterface]]
=Flash=
+
=Filesystems=
*[[Cisco Switch Flash]]
+
*[[Cisco Switch Filesystems]]
=Telnet aktivieren=
+
=Ssh und Telnet=
*Switch#configure terminal
+
*[[Cisco Switch Ssh und Telnet]]
*Switch(config)#aaa new-model
+
=Vlans Grundlagen=
*Switch(config)#username admin password 0 geheim
+
*[[Cisco Vlans Grundlagen]]
*Switch(config)#line vty 0 4
+
=Vlan Trunking=
*Switch(config-line)#transport input telnet
+
*[[Cisco Vlan Trunking]]
=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]:
+
=Vlans=
% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
+
*[[Cisco Vlans]]
</pre>
+
=DHCP on Vlans=
*c3750g(config)#ip ssh time-out 60
+
*[[Cisco DHCP on Vlans]]
*c3750g(config)#ip ssh authentication-retries 2
+
*[[Cisco DHCP relay]]
=Abschalten von telnet=
 
*c3750g#configure terminal
 
Enter configuration commands, one per line.  End with CNTL/Z.
 
*c3750g(config)#line vty 0 4
 
*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
 
  
=Löschen von Dateien=
+
=Native Vlan=
*c3750g#dir  flash: 
+
*[[Cisco Native Vlan]]
<pre>
+
=VLAN-Trunking Protocol=
Directory of flash:/
+
*[[Cisco VLAN-Trunking Protocol]]
 +
=Vlan Beschränkung=
 +
*[[Cisco Vlan Beschränkung]]
 +
=Delete Config=
 +
*[[Cisco Delete Config]]
 +
=Cisco Switch Port Security=
 +
*[[Cisco Switch Port Security]]
  
    2  -rwx        4501  Jan 26 2016 18:03:22 +00:00  c3750g.conf
+
=Spanning Tree Protocol=
    3  -rwx        1590  Mar 1 1993 00:44:44 +00:00  config.old
+
*[[Cisco Spanning Tree Protocol]]
  457  drwx        192  Mar 1 1993 00:35:33 +00:00  c3750-ipbasek9-mz.122-55.SE6
+
=ACLs=
  84  -rwx        3096  Jan 26 2016 16:40:08 +00:00  multiple-fs
+
*[[Cisco ACLs]]
  85  -rwx        3019  Jan 26 2016 16:40:08 +00:00  private-config.text
 
  86  -rwx        3166  Jan 26 2016 16:40:08 +00:00  config.text
 
  87  -rwx        4501  Jan 26 2016 18:06:51 +00:00  c3750g.cfg
 
  88  -rwx    1556480  Jan 26 2016 18:08:11 +00:00  ccpexpressAdmin27.tar
 
  
15998976 bytes total (1767936 bytes free)
+
=Link Aggregation=
</pre>
+
*[[Link Aggregation]]
*c3750g#delete  flash:/c3750g.conf
+
*[[Cisco LACP Linux]]
Delete filename [c3750g.conf]
+
*[[Cisco Etherchannel]]
Delete flash:/c3750g.conf? [confirm]
 
  
=md5 verifizieren=
+
=Cisco Switch sicher einrichten=
*c3750g#verify /md5 flash:/c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin
+
*[http://www.nwlab.net/know-how/Cisco/ Sicherheit]
=Modify Switch Boot path-list testen=
 
*c3750g#boot system switch all flash:/c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin
 
=Boot konfig anzeigen=
 
*c3750g#show boot
 
<pre>
 
BOOT path-list      : flash:c3750-ipbasek9-mz.122-55.SE6/c3750-ipbasek9-mz.122-55.SE6.bin
 
Config file        : flash:/config.text
 
Private Config file : flash:/private-config.text
 
Enable Break        : no
 
Manual Boot        : no
 
HELPER path-list    :
 
Auto upgrade        : yes
 
Auto upgrade path  :
 
NVRAM/Config file
 
      buffer size:  524288
 
Timeout for Config
 
          Download:    0 seconds
 
Config Download
 
      via DHCP:      disabled (next boot: disabled)
 
</pre>
 
  
=Vlans=
+
=LLDP=
*[[Cisco Vlans]]
+
*[[Cisco LLDP]]
 +
=Phone on Switch=
 +
*[[Cisco Phone on Switch]]
 +
=Cisco Switch an Esxi=
 +
*[[Cisco Switch an Esxi]]
 +
=Cisco Portmirroring=
 +
*[[Cisco Portmirroring]]
 +
=Cisco Radiusanbindung=
 +
*[[Cisco Radiusanbindung]]
 +
 
 +
=Cisco 802.1X=
 +
*[[Cisco 802.1X]]
 +
 
 +
=Cisco Mac Authentication Bypass=
 +
*[[Cisco Mac Authentication Bypass]]
 +
 
 +
=Policy-Based Routing=
 +
*[[Cisco Policy-Based Routing]]
 +
=Cisco Switch Diagnose=
 +
*[[Cisco Switch Diagnose]]
  
 +
=Kurzreferenz=
 +
*http://kohnlehome.de/netz/Switchgrundkonfiguration.pdf
 
=Links=
 
=Links=
 
  
 
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swvlan.html
 
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750x_3560x/software/release/12-2_55_se/configuration/guide/3750xscg/swvlan.html
 
*http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/45002-intervlan3750-45002.html
 
*http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/45002-intervlan3750-45002.html
 
*http://www.thegeekstuff.com/2011/06/upgrade-cisco-ios-image/
 
*http://www.thegeekstuff.com/2011/06/upgrade-cisco-ios-image/
 +
*http://computernetworkingnotes.com/switching-vlan-stp-vtp-dtp-ether-channels/basic-switch-configurations.html
 +
*http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/release/12-2_55_se/commmand/reference/3750cr/cli2.html
 +
*http://www.cisco.com/c/en/us/support/docs/switches/catalyst-4500-series-switches/69632-configuring-cat-ip-phone.html
 +
*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
 +
*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
 +
*http://www.cisco.com/en/US/docs/ios/12_4t/ip_addr/configuration/guide/htdhcpre.html

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