ne:cisco
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
ne:cisco [2021/02/15 17:41] – admin | ne:cisco [2025/01/08 12:27] (aktuell) – [Router] admin | ||
---|---|---|---|
Zeile 4: | Zeile 4: | ||
* [[Dies und Das]] | * [[Dies und Das]] | ||
- | ===== DHCP ===== | + | ===== Router ===== |
+ | |||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | |||
+ | ==== Login & Password ==== | ||
+ | < | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | * https:// | ||
+ | |||
+ | |||
+ | ==== Zugriff per SSH ==== | ||
+ | |||
+ | < | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | * https:// | ||
+ | |||
+ | Beim Einloggen gibt es teilweise Probleme mit neueren SSH-Versionen, | ||
+ | <code bash> | ||
+ | echo ' | ||
+ | echo ' | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Login direkt in den privilegierten Modus ==== | ||
+ | |||
+ | < | ||
+ | Router(config)# | ||
+ | |||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== Proxy ARP ==== | ||
+ | |||
+ | Proxy-ARP zwischen Subnetzen ist auf Cisco-Routern standardmäßig eingeschaltet und muss aktiv ausgeschalten werden: | ||
+ | |||
+ | < | ||
+ | Router(config)# | ||
+ | Router(config-if)# | ||
+ | </ | ||
+ | * https:// | ||
+ | |||
+ | ==== Default Route ==== | ||
+ | |||
+ | * [[http:// | ||
+ | * https:// | ||
+ | * Default Routen auf Interfaces ohne Next-Hop-IP Adressen werden nicht empfohlen, da der Router für jede Ziel-Adresse einen ARP-Request durchführt | ||
+ | * https:// | ||
+ | |||
+ | ---- | ||
+ | ==== DHCP ==== | ||
+ | |||
+ | === DHCP Pool auf Cisco Router erstellen | ||
+ | < | ||
+ | ip dhcp pool Management | ||
+ | | ||
+ | | ||
+ | </ | ||
=== Statische Route per DHCP verteilen === | === Statische Route per DHCP verteilen === | ||
Zeile 33: | Zeile 102: | ||
http:// | http:// | ||
- | ===== Router ===== | ||
- | * [[https://www.safaribooksonline.com/library/view/cisco-ios-cookbook/0596527225/ | + | ---- |
+ | |||
+ | ==== NAT ==== | ||
+ | Overload the interface IP address of the outside interface, allow all hosts behind the inside interface to access the NAT: | ||
+ | < | ||
+ | R1# configure terminal | ||
+ | R1(config)# interface gigabitEthernet0/ | ||
+ | R1(config-if)# | ||
+ | R1(config)# interface gigabitEthernet0/ | ||
+ | R1(config-if)# | ||
+ | R1(config)# access-list 10 remark == [Control NAT Access] == | ||
+ | R1(config)# access-list 10 permit 192.168.0.0 0.0.0.255 any | ||
+ | R1(config)# ip nat inside source list 10 interface gigabitEthernet 0/0/1 overload | ||
+ | </ | ||
+ | |||
+ | Show NAT status: | ||
+ | < | ||
+ | R1# show ip nat translations | ||
+ | </ | ||
+ | ---- | ||
+ | ==== NETCONF & RESTCONF ==== | ||
+ | |||
+ | < | ||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | |||
+ | Router(config)# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | * https://developer.cisco.com/docs/ios-xe/# | ||
- | ==== Default Route ==== | ||
- | * [[http:// | ||
- | * https:// | ||
- | * Default Routen auf Interfaces ohne Next-Hop-IP Adressen werden nicht empfohlen, da der Router für jede Ziel-Adresse einen ARP-Request durchführt | ||
- | * https:// | ||
===== Switch ===== | ===== Switch ===== | ||
- | === Spanning Tree === | + | ==== Inter-VLAN Routing ==== |
+ | * https:// | ||
+ | |||
+ | ==== Spanning Tree ==== | ||
Spanning Tree Protokoll für einzelne VLANs ausschalten: | Spanning Tree Protokoll für einzelne VLANs ausschalten: | ||
no spanning-tree vlan vlan-id | no spanning-tree vlan vlan-id | ||
Zeile 52: | Zeile 148: | ||
===== Verschiedenes ===== | ===== Verschiedenes ===== | ||
Cisco Discovery Protocol auf dem Interface ausschalten: | Cisco Discovery Protocol auf dem Interface ausschalten: | ||
- | switch(config-if)# | + | < |
+ | switch(config-if)# | ||
+ | </ | ||
+ | ---- | ||
+ | Proxy ARP global auf dem Router | ||
+ | < | ||
+ | router(config)# | ||
+ | </ | ||
---- | ---- | ||
- | |||
==== Running Config komplett ersetzen ==== | ==== Running Config komplett ersetzen ==== | ||
Zeile 73: | Zeile 174: | ||
< | < | ||
- | Router# copy usb0: | + | Router# copy usb0: |
- | Router# verify bootflash: | + | Router# verify bootflash: |
- | Router(config)# | + | Router(config)# |
Router# wr | Router# wr | ||
+ | Router# show boot | ||
Router# reload | Router# reload | ||
</ | </ | ||
+ | |||
+ | * [[https:// | ||
==== Updating Cisco ROM Monitor ==== | ==== Updating Cisco ROM Monitor ==== | ||
Show rom-monitor version (ISR4221): | Show rom-monitor version (ISR4221): |
ne/cisco.1613410896.txt.gz · Zuletzt geändert: 2021/02/15 17:41 von admin