Hello |
DBD, Description |
LSR, Link-State Request |
LSU, Link-State Updates |
LSAck, Link-State Acknowledges |
Cisco General
Tipo mensajes
Neighbor States
Down State |
Init State |
2-way State |
DR Election if needed |
ExStart State |
Exchange State |
Loading State |
Full State |
Base de datos
Neighbor Table |
#show ospf neighbor |
Todos los R vecinos |
Única en cada R |
LSDB, Link-State DataBase |
#show ospf database |
Inf sobre el resto de R |
Dentro de un áream todos tienen LSDB idénticas |
Routing table |
#show ip route |
Única en cada R |
Verification Commands
show running-config show ip interface brief show run interface vlan 1 show interface vlan 1 show version |
Router Commands
show ip int br |
show ip protocol |
OSPF Konfigurieren
Router(config)# router ospf 1 |
OSPF wird mit einer Prozess-ID aktiviert |
Router(config-router)# network 192.168.1.0 0.0.0.255 area 0 |
Das NEtzwerk für die Area 0 (Backbone) wird konfiuriert |
Router(config-router)# router-id 1.1.1.1 |
Eine Router-ID wird manuell vergeben |
Router(config-router)# auto-cost reference-bandwith 10000 |
Die Standard-Bandwith wird geändert |
Router(config)# clear ip ospf process |
Setzt alle OSPF Verbindungen zurück. |
Router(config)# passive-interface fa/1 |
Es werden keine Updates über passive Interfaces versendet. |
Router(config)# no-passive-interface Fa/1 |
Löscht ein passives Interface |
Router(config-if)# ip ospf cost 1565 |
Setzt eine Cost für ein Interface |
Router(config-if)# ip ospf priority 255 |
Setzt eine Priorität für ein Interface |
Router(config-if)# ip ospf priority 0 |
Dieser Router kann kein DR oder BDR werden |
IPv6 Befehle
R1(config)#ipv6 unicast-routing |
IPv6 Routing wird aktiviert |
R1(config-if)#ipv6 address 2001:ABCD:ABCD:XY::z/126 eui-64 |
Eine IPv6-Adresse wird auf ein Interface gesetzt |
DR, BDR, ABR
ABR: Area Border Router, Router der mit mehreren Areas verbunden ist DR: Designated Router, Router mit der höchsten Priorität. BDR: Backup designated Router, Ausfallsicherung für DR |
OSPF Versionen
Es gibt OSPFv2 und v3. Der Hauptunterschied ist IPv6. Aber es gibt noch weitere Änderungen, die für das RAI-Net aber nicht wichtig sind. |
OSPF überprüfen
Router# show ip ospf |
Alle OSPF Informationen werden angezeigt |
Router# show ip ospf neighbor |
Alle benachbarten Router werden angezeigt |
Router# show ip route ospf |
OSPF Networks werden angezeigt |
Router# show ip protocols |
OSPF Konfiguration wird angezeigt |
Router# show ip ospf interface |
Alle Interfaces die OSPF verwenden werden angezeigt |
Router# show ip ospf interface fa0/1 |
Zeigt OSPF Informationen für ein bestimmtes Interface |
OSPFv3 Konfiguration Beispiel aus RAI-Net
ip address 10.16.31.5 255.255.255.0 |
Backbone 0 WAN IP Beispiel |
ipv6 address 2001:A:A:1630::/64 |
Backbone 0 IPv6 Adresse Beispiel |
ipv6 ospf hello-interval 4 |
Intervall wird auf 4 Sekunden gesetzt |
ipv6 ospf 0 area 0 |
Ein Interface wird mit der Process-ID 0 zur Area 0 hinzugefügt |
Backbone 0
OSPF Erklärung
Bei Verwendung von Open Shortest Path First sendet ein Router, sobald er feststellt, dass es eine Änderung in den Routing-Tabellen gegeben hat, diese Information an alle anderen OSPF-Hosts innerhalb des Netzwerks, so dass alle über identische Routing-Tabellen verfügen. Anstatt einfach die Zahl der Router-Hops zwischen den Hosts eines Netzwerks zu zählen, trifft OSPF seine Entscheidung für einen Weg basierend auf Link States, die auch zusätzliche Netzwerkinformationen beinhalten. |
Inhalt
Dieses Cheat-Sheet beinhaltet essenzielle Befehle und Erklärungen die im Verlauf der OSPF-Konfiguration für das RAI-Net benötigt werden. |
ABR und Stub Router
ABR: Area Border Router. Mindestens eines der Interfaces muss mit der Area 0 verbunden sein. Stub Router: Hat nur eine Default Route als Verbindung nach draußen. |
Was ist OSPFv3?
Open Shortest Path First ist ein Router Protokoll, welches zu den IGPs (Interior Gateway Protocols) gehört. Die Version 3 (also OSPFv3) unterstützt IPv6. OSPF lernt jeden Router und jede Subnetz des Netzwerks. Dafür werden LSAs (Link State Advertisement) verwendet. Anschließend werden diese in einer Datenbank gespeichert. Router IDs sind wie Namen und identifizieren Router. Diese können manuell oder automatisch vergeben werden. |
Terminologia
Tarjeta de interfaz de red: una NIC, o adaptador de LAN, proporciona la conexión física a la red en la PC u otro terminal. Los medios que realizan la conexión de la PC al dispositivo de red se conectan directamente en la NIC. |
Puerto físico: un conector o conexión en un dispositivo de red donde se conectan los medios a un terminal u otro dispositivo de red. |
Interfaz: puertos especializados en un dispositivo de red que se conecta a redes individuales. Puesto que los routers se utilizan para interconectar redes, los puertos de un router se conocen como interfaces de red. |
Nota: con frecuencia, los términos puerto e interfaz se utilizan en forma indistinta.
To enable DHCP server debugging
Command |
Purpose |
Device# debug ip dhcp server {events | packets} |
Enables debugging on the DHCP server. |
To clear DHCP server variables:
Command |
Purpose |
Device# clear ip dhcp binding address | * |
Deletes an automatic address binding from the DHCP database. Specifying address clears the automatic binding for a specific (client) IP address whereas specifying asterisk (*) clears all automatic bindings. |
Device# clear ip dhcp conflict address | * |
Clears an address conflict from the DHCP database. Specifying address clears the conflict for a specific IP address whereas specifying an asterisk (*) clears conflicts for all addresses. |
Device# clear ip dhcp server statistics |
Resets all DHCP server counters to 0. |
To display DHCP server information
Command |
Purpose |
Device> show ip dhcp binding [address] |
Displays a list of all bindings created on a specific DHCP server. |
Device> show ip dhcp conflict [address] |
Displays a list of all address conflicts recorded by a specific DHCP server. |
Device> show ip dhcp server statistics |
Displays count information about server statistics and messages sent and received. |
To configure DHCP server
Command |
Purpose |
Device(config)# service dhcp |
Enables the DHCP server and relay agent on your switch. |
Device(config)# ip dhcp excluded-address low-address [high-address] |
Specifies IP addresses that the DHCP server should not assign to DHCP clients. |
Device(config)# ip dhcp pool 1 |
Creates a name for the DHCP server address pool and enters DHCP pool configuration mode. |
Device(dhcp-config)# network 172.20.0.0 /24 |
Specifies the subnet network number and mask of the DHCP address pool. |
Device(dhcp-config)# dns server 8.8.4.4 8.8.8.8 |
Specifies the IP address of a DNS server that is available to a DHCP client. |
Device(dhcp-config)# default-router 172.16.20.0.1 |
Specifies the IP address of the default device for a DHCP client. |
Comments
Related